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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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();
2448 iconIndex
= loc
.GetIndex();
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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2721 #define SWIG_From_unsigned_SS_int SWIG_From_long
2724 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
3146 PyObject
* pyList
= NULL
;
3147 wxArrayVideoModes arr
= self
->GetModes(mode
);
3148 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3149 pyList
= PyList_New(0);
3150 for (int i
=0; i
< arr
.GetCount(); i
++) {
3151 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
3152 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
3153 PyList_Append(pyList
, pyObj
);
3156 wxPyEndBlockThreads(blocked
);
3160 #include <wx/stdpaths.h>
3162 static wxStandardPaths
*wxStandardPaths_Get(){
3163 return (wxStandardPaths
*) &wxStandardPaths::Get();
3165 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
3166 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
3170 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
= NULL
;
3172 wxSystemColour arg1
;
3174 PyObject
* obj0
= 0 ;
3176 (char *) "index", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3181 arg1
= static_cast<wxSystemColour
>(SWIG_As_int(obj0
));
3182 if (SWIG_arg_fail(1)) SWIG_fail
;
3185 if (!wxPyCheckForApp()) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 result
= wxSystemSettings::GetColour(arg1
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3193 wxColour
* resultptr
;
3194 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3203 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
= NULL
;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "index", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3214 arg1
= static_cast<wxSystemFont
>(SWIG_As_int(obj0
));
3215 if (SWIG_arg_fail(1)) SWIG_fail
;
3218 if (!wxPyCheckForApp()) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= wxSystemSettings::GetFont(arg1
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3227 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
3228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3236 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
= NULL
;
3238 wxSystemMetric arg1
;
3239 wxWindow
*arg2
= (wxWindow
*) NULL
;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3244 (char *) "index",(char *) "win", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3249 arg1
= static_cast<wxSystemMetric
>(SWIG_As_int(obj0
));
3250 if (SWIG_arg_fail(1)) SWIG_fail
;
3253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3254 if (SWIG_arg_fail(2)) SWIG_fail
;
3257 if (!wxPyCheckForApp()) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3265 resultobj
= SWIG_From_int(static_cast<int >(result
));
3273 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
= NULL
;
3275 wxSystemFeature arg1
;
3277 PyObject
* obj0
= 0 ;
3279 (char *) "index", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3284 arg1
= static_cast<wxSystemFeature
>(SWIG_As_int(obj0
));
3285 if (SWIG_arg_fail(1)) SWIG_fail
;
3288 if (!wxPyCheckForApp()) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= (bool)wxSystemSettings::HasFeature(arg1
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3304 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
= NULL
;
3306 wxSystemScreenType result
;
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3313 if (!wxPyCheckForApp()) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 resultobj
= SWIG_From_int((result
));
3327 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
= NULL
;
3329 wxSystemScreenType arg1
;
3330 PyObject
* obj0
= 0 ;
3332 (char *) "screen", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3337 arg1
= static_cast<wxSystemScreenType
>(SWIG_As_int(obj0
));
3338 if (SWIG_arg_fail(1)) SWIG_fail
;
3341 if (!wxPyCheckForApp()) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 wxSystemSettings::SetScreenType(arg1
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 Py_INCREF(Py_None
); resultobj
= Py_None
;
3355 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3358 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3360 return Py_BuildValue((char *)"");
3362 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3363 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3368 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3369 PyObject
*pyobj
= NULL
;
3373 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3375 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3382 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
*resultobj
= NULL
;
3384 wxSystemOptions
*result
;
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= (wxSystemOptions
*)new wxSystemOptions();
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3404 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
= NULL
;
3406 wxString
*arg1
= 0 ;
3407 wxString
*arg2
= 0 ;
3408 bool temp1
= false ;
3409 bool temp2
= false ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3413 (char *) "name",(char *) "value", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3418 arg1
= wxString_in_helper(obj0
);
3419 if (arg1
== NULL
) SWIG_fail
;
3423 arg2
= wxString_in_helper(obj1
);
3424 if (arg2
== NULL
) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3434 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
= NULL
;
3459 wxString
*arg1
= 0 ;
3461 bool temp1
= false ;
3462 PyObject
* obj0
= 0 ;
3463 PyObject
* obj1
= 0 ;
3465 (char *) "name",(char *) "value", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3470 arg1
= wxString_in_helper(obj0
);
3471 if (arg1
== NULL
) SWIG_fail
;
3475 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3476 if (SWIG_arg_fail(2)) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3500 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
= NULL
;
3502 wxString
*arg1
= 0 ;
3504 bool temp1
= false ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "name", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3512 arg1
= wxString_in_helper(obj0
);
3513 if (arg1
== NULL
) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3544 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
= NULL
;
3546 wxString
*arg1
= 0 ;
3548 bool temp1
= false ;
3549 PyObject
* obj0
= 0 ;
3551 (char *) "name", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3556 arg1
= wxString_in_helper(obj0
);
3557 if (arg1
== NULL
) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 resultobj
= SWIG_From_int(static_cast<int >(result
));
3584 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
= NULL
;
3586 wxString
*arg1
= 0 ;
3588 bool temp1
= false ;
3589 PyObject
* obj0
= 0 ;
3591 (char *) "name", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3596 arg1
= wxString_in_helper(obj0
);
3597 if (arg1
== NULL
) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3624 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
= NULL
;
3626 wxString
*arg1
= 0 ;
3628 bool temp1
= false ;
3629 PyObject
* obj0
= 0 ;
3631 (char *) "name", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3636 arg1
= wxString_in_helper(obj0
);
3637 if (arg1
== NULL
) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3664 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3667 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3669 return Py_BuildValue((char *)"");
3671 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3672 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3677 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3678 PyObject
*pyobj
= NULL
;
3682 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3684 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3691 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3692 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3697 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3698 PyObject
*pyobj
= NULL
;
3702 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3704 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3711 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3712 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3717 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3718 PyObject
*pyobj
= NULL
;
3722 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3724 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3731 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
= NULL
;
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= (long)wxNewId();
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= SWIG_From_long(static_cast<long >(result
));
3755 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
= NULL
;
3758 PyObject
* obj0
= 0 ;
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3765 arg1
= static_cast<long >(SWIG_As_long(obj0
));
3766 if (SWIG_arg_fail(1)) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 Py_INCREF(Py_None
); resultobj
= Py_None
;
3782 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
= NULL
;
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (long)wxGetCurrentId();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= SWIG_From_long(static_cast<long >(result
));
3806 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
= NULL
;
3810 PyObject
* obj0
= 0 ;
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3817 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3818 if (SWIG_arg_fail(1)) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (bool)wxIsStockID(arg1
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3836 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
= NULL
;
3839 wxString
*arg2
= 0 ;
3841 bool temp2
= false ;
3842 PyObject
* obj0
= 0 ;
3843 PyObject
* obj1
= 0 ;
3845 (char *) "id",(char *) "label", NULL
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3850 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3851 if (SWIG_arg_fail(1)) SWIG_fail
;
3854 arg2
= wxString_in_helper(obj1
);
3855 if (arg2
== NULL
) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3882 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
= NULL
;
3885 bool arg2
= (bool) true ;
3886 wxString arg3
= (wxString
) wxPyEmptyString
;
3888 PyObject
* obj0
= 0 ;
3889 PyObject
* obj1
= 0 ;
3890 PyObject
* obj2
= 0 ;
3892 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3897 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3898 if (SWIG_arg_fail(1)) SWIG_fail
;
3902 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3903 if (SWIG_arg_fail(2)) SWIG_fail
;
3908 wxString
* sptr
= wxString_in_helper(obj2
);
3909 if (sptr
== NULL
) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3934 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
= NULL
;
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3942 if (!wxPyCheckForApp()) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 Py_INCREF(Py_None
); resultobj
= Py_None
;
3956 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
= NULL
;
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3964 if (!wxPyCheckForApp()) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
= NULL
;
3980 bool arg1
= (bool) true ;
3982 PyObject
* obj0
= 0 ;
3984 (char *) "resetTimer", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3990 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
3991 if (SWIG_arg_fail(1)) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 result
= (long)wxGetElapsedTime(arg1
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4002 resultobj
= SWIG_From_long(static_cast<long >(result
));
4010 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
= NULL
;
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)wxIsBusy();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4034 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
= NULL
;
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4062 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
= NULL
;
4064 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4065 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4067 bool temp1
= false ;
4068 PyObject
* obj0
= 0 ;
4070 (char *) "command", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
4076 arg1
= wxString_in_helper(obj0
);
4077 if (arg1
== NULL
) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (bool)wxShell((wxString
const &)*arg1
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4105 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
= NULL
;
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 Py_INCREF(Py_None
); resultobj
= Py_None
;
4126 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
= NULL
;
4128 int *arg1
= (int *) 0 ;
4129 int *arg2
= (int *) 0 ;
4139 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4140 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (int)wxGetOsVersion(arg1
,arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_From_int(static_cast<int >(result
));
4152 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4153 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4154 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4155 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4162 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
= NULL
;
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= wxGetOsDescription();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4190 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
= NULL
;
4192 wxMemorySize result
;
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= wxGetFreeMemory();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 wxMemorySize
* resultptr
;
4207 resultptr
= new wxMemorySize(static_cast<wxMemorySize
& >(result
));
4208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4216 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
= NULL
;
4218 wxShutdownFlags arg1
;
4220 PyObject
* obj0
= 0 ;
4222 (char *) "wFlags", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4227 arg1
= static_cast<wxShutdownFlags
>(SWIG_As_int(obj0
));
4228 if (SWIG_arg_fail(1)) SWIG_fail
;
4231 if (!wxPyCheckForApp()) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (bool)wxShutdown(arg1
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4247 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= NULL
;
4250 PyObject
* obj0
= 0 ;
4252 (char *) "secs", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4257 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4258 if (SWIG_arg_fail(1)) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 Py_INCREF(Py_None
); resultobj
= Py_None
;
4274 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
= NULL
;
4276 unsigned long arg1
;
4277 PyObject
* obj0
= 0 ;
4279 (char *) "milliseconds", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4284 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4285 if (SWIG_arg_fail(1)) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 Py_INCREF(Py_None
); resultobj
= Py_None
;
4301 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
= NULL
;
4303 unsigned long arg1
;
4304 PyObject
* obj0
= 0 ;
4306 (char *) "microseconds", NULL
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4311 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4312 if (SWIG_arg_fail(1)) SWIG_fail
;
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 Py_INCREF(Py_None
); resultobj
= Py_None
;
4328 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
= NULL
;
4331 PyObject
* obj0
= 0 ;
4333 (char *) "enable", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4338 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4339 if (SWIG_arg_fail(1)) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 wxEnableTopLevelWindows(arg1
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 Py_INCREF(Py_None
); resultobj
= Py_None
;
4355 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
= NULL
;
4357 wxString
*arg1
= 0 ;
4359 bool temp1
= false ;
4360 PyObject
* obj0
= 0 ;
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4367 arg1
= wxString_in_helper(obj0
);
4368 if (arg1
== NULL
) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4399 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
= NULL
;
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= wxGetEmailAddress();
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4427 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
= NULL
;
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= wxGetHostName();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4455 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
= NULL
;
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= wxGetFullHostName();
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4483 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
= NULL
;
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= wxGetUserId();
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4511 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
= NULL
;
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= wxGetUserName();
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4539 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
= NULL
;
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= wxGetHomeDir();
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4567 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
*resultobj
= NULL
;
4569 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4570 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4572 bool temp1
= false ;
4573 PyObject
* obj0
= 0 ;
4575 (char *) "user", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4581 arg1
= wxString_in_helper(obj0
);
4582 if (arg1
== NULL
) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= wxGetUserHome((wxString
const &)*arg1
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4614 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
= NULL
;
4616 unsigned long result
;
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (unsigned long)wxGetProcessId();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
4638 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= NULL
;
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 Py_INCREF(Py_None
); resultobj
= Py_None
;
4659 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
= NULL
;
4661 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4662 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4663 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4664 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4665 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4666 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4667 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4668 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4669 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4670 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4671 int arg6
= (int) 0 ;
4672 wxWindow
*arg7
= (wxWindow
*) NULL
;
4673 int arg8
= (int) -1 ;
4674 int arg9
= (int) -1 ;
4676 bool temp1
= false ;
4677 bool temp2
= false ;
4678 bool temp3
= false ;
4679 bool temp4
= false ;
4680 bool temp5
= false ;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4683 PyObject
* obj2
= 0 ;
4684 PyObject
* obj3
= 0 ;
4685 PyObject
* obj4
= 0 ;
4686 PyObject
* obj5
= 0 ;
4687 PyObject
* obj6
= 0 ;
4688 PyObject
* obj7
= 0 ;
4689 PyObject
* obj8
= 0 ;
4691 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4697 arg1
= wxString_in_helper(obj0
);
4698 if (arg1
== NULL
) SWIG_fail
;
4704 arg2
= wxString_in_helper(obj1
);
4705 if (arg2
== NULL
) SWIG_fail
;
4711 arg3
= wxString_in_helper(obj2
);
4712 if (arg3
== NULL
) SWIG_fail
;
4718 arg4
= wxString_in_helper(obj3
);
4719 if (arg4
== NULL
) SWIG_fail
;
4725 arg5
= wxString_in_helper(obj4
);
4726 if (arg5
== NULL
) SWIG_fail
;
4732 arg6
= static_cast<int >(SWIG_As_int(obj5
));
4733 if (SWIG_arg_fail(6)) SWIG_fail
;
4737 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4738 if (SWIG_arg_fail(7)) SWIG_fail
;
4742 arg8
= static_cast<int >(SWIG_As_int(obj7
));
4743 if (SWIG_arg_fail(8)) SWIG_fail
;
4748 arg9
= static_cast<int >(SWIG_As_int(obj8
));
4749 if (SWIG_arg_fail(9)) SWIG_fail
;
4753 if (!wxPyCheckForApp()) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4813 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
= NULL
;
4815 wxString
*arg1
= 0 ;
4816 wxString
*arg2
= 0 ;
4817 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4818 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4819 wxWindow
*arg4
= (wxWindow
*) NULL
;
4821 bool temp1
= false ;
4822 bool temp2
= false ;
4823 bool temp3
= false ;
4824 PyObject
* obj0
= 0 ;
4825 PyObject
* obj1
= 0 ;
4826 PyObject
* obj2
= 0 ;
4827 PyObject
* obj3
= 0 ;
4829 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4834 arg1
= wxString_in_helper(obj0
);
4835 if (arg1
== NULL
) SWIG_fail
;
4839 arg2
= wxString_in_helper(obj1
);
4840 if (arg2
== NULL
) SWIG_fail
;
4845 arg3
= wxString_in_helper(obj2
);
4846 if (arg3
== NULL
) SWIG_fail
;
4851 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4852 if (SWIG_arg_fail(4)) SWIG_fail
;
4855 if (!wxPyCheckForApp()) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4899 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
= NULL
;
4901 wxString
*arg1
= 0 ;
4902 wxString
*arg2
= 0 ;
4903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4905 wxWindow
*arg4
= (wxWindow
*) NULL
;
4907 bool temp1
= false ;
4908 bool temp2
= false ;
4909 bool temp3
= false ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4912 PyObject
* obj2
= 0 ;
4913 PyObject
* obj3
= 0 ;
4915 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4920 arg1
= wxString_in_helper(obj0
);
4921 if (arg1
== NULL
) SWIG_fail
;
4925 arg2
= wxString_in_helper(obj1
);
4926 if (arg2
== NULL
) SWIG_fail
;
4931 arg3
= wxString_in_helper(obj2
);
4932 if (arg3
== NULL
) SWIG_fail
;
4937 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4938 if (SWIG_arg_fail(4)) SWIG_fail
;
4941 if (!wxPyCheckForApp()) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4985 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
= NULL
;
4987 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4988 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4989 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4990 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4991 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4992 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4993 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4994 wxWindow
*arg5
= (wxWindow
*) NULL
;
4996 bool temp1
= false ;
4997 bool temp2
= false ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5001 PyObject
* obj2
= 0 ;
5002 PyObject
* obj3
= 0 ;
5003 PyObject
* obj4
= 0 ;
5005 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5011 arg1
= wxString_in_helper(obj0
);
5012 if (arg1
== NULL
) SWIG_fail
;
5018 arg2
= wxString_in_helper(obj1
);
5019 if (arg2
== NULL
) SWIG_fail
;
5025 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5026 if (SWIG_arg_fail(3)) SWIG_fail
;
5032 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5036 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5037 if (SWIG_arg_fail(5)) SWIG_fail
;
5040 if (!wxPyCheckForApp()) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5076 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
= NULL
;
5078 wxString
*arg1
= 0 ;
5079 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5080 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5081 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5082 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5083 wxWindow
*arg4
= (wxWindow
*) NULL
;
5084 int arg5
= (int) -1 ;
5085 int arg6
= (int) -1 ;
5086 bool arg7
= (bool) true ;
5088 bool temp1
= false ;
5089 bool temp2
= false ;
5090 bool temp3
= false ;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5093 PyObject
* obj2
= 0 ;
5094 PyObject
* obj3
= 0 ;
5095 PyObject
* obj4
= 0 ;
5096 PyObject
* obj5
= 0 ;
5097 PyObject
* obj6
= 0 ;
5099 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5104 arg1
= wxString_in_helper(obj0
);
5105 if (arg1
== NULL
) SWIG_fail
;
5110 arg2
= wxString_in_helper(obj1
);
5111 if (arg2
== NULL
) SWIG_fail
;
5117 arg3
= wxString_in_helper(obj2
);
5118 if (arg3
== NULL
) SWIG_fail
;
5123 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(4)) SWIG_fail
;
5128 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5129 if (SWIG_arg_fail(5)) SWIG_fail
;
5134 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5135 if (SWIG_arg_fail(6)) SWIG_fail
;
5140 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
5141 if (SWIG_arg_fail(7)) SWIG_fail
;
5145 if (!wxPyCheckForApp()) SWIG_fail
;
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5189 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
= NULL
;
5191 wxString
*arg1
= 0 ;
5192 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5193 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5194 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5196 wxWindow
*arg4
= (wxWindow
*) NULL
;
5198 bool temp1
= false ;
5199 bool temp2
= false ;
5200 bool temp3
= false ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5203 PyObject
* obj2
= 0 ;
5204 PyObject
* obj3
= 0 ;
5206 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5211 arg1
= wxString_in_helper(obj0
);
5212 if (arg1
== NULL
) SWIG_fail
;
5217 arg2
= wxString_in_helper(obj1
);
5218 if (arg2
== NULL
) SWIG_fail
;
5224 arg3
= wxString_in_helper(obj2
);
5225 if (arg3
== NULL
) SWIG_fail
;
5230 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5231 if (SWIG_arg_fail(4)) SWIG_fail
;
5234 if (!wxPyCheckForApp()) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5278 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
= NULL
;
5280 wxString
*arg1
= 0 ;
5281 wxString
*arg2
= 0 ;
5283 wxString
*arg4
= (wxString
*) 0 ;
5284 wxWindow
*arg5
= (wxWindow
*) NULL
;
5285 int arg6
= (int) -1 ;
5286 int arg7
= (int) -1 ;
5287 bool arg8
= (bool) true ;
5288 int arg9
= (int) 150 ;
5289 int arg10
= (int) 200 ;
5291 bool temp1
= false ;
5292 bool temp2
= false ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 PyObject
* obj2
= 0 ;
5296 PyObject
* obj3
= 0 ;
5297 PyObject
* obj4
= 0 ;
5298 PyObject
* obj5
= 0 ;
5299 PyObject
* obj6
= 0 ;
5300 PyObject
* obj7
= 0 ;
5301 PyObject
* obj8
= 0 ;
5303 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5308 arg1
= wxString_in_helper(obj0
);
5309 if (arg1
== NULL
) SWIG_fail
;
5313 arg2
= wxString_in_helper(obj1
);
5314 if (arg2
== NULL
) SWIG_fail
;
5318 arg3
= PyList_Size(obj2
);
5319 arg4
= wxString_LIST_helper(obj2
);
5320 if (arg4
== NULL
) SWIG_fail
;
5323 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5324 if (SWIG_arg_fail(5)) SWIG_fail
;
5328 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5329 if (SWIG_arg_fail(6)) SWIG_fail
;
5334 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5335 if (SWIG_arg_fail(7)) SWIG_fail
;
5340 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5341 if (SWIG_arg_fail(8)) SWIG_fail
;
5346 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5347 if (SWIG_arg_fail(9)) SWIG_fail
;
5352 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5353 if (SWIG_arg_fail(10)) SWIG_fail
;
5357 if (!wxPyCheckForApp()) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5380 if (arg4
) delete [] arg4
;
5393 if (arg4
) delete [] arg4
;
5399 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
= NULL
;
5401 wxString
*arg1
= 0 ;
5402 wxString
*arg2
= 0 ;
5404 wxString
*arg4
= (wxString
*) 0 ;
5405 wxWindow
*arg5
= (wxWindow
*) NULL
;
5406 int arg6
= (int) -1 ;
5407 int arg7
= (int) -1 ;
5408 bool arg8
= (bool) true ;
5409 int arg9
= (int) 150 ;
5410 int arg10
= (int) 200 ;
5412 bool temp1
= false ;
5413 bool temp2
= false ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5416 PyObject
* obj2
= 0 ;
5417 PyObject
* obj3
= 0 ;
5418 PyObject
* obj4
= 0 ;
5419 PyObject
* obj5
= 0 ;
5420 PyObject
* obj6
= 0 ;
5421 PyObject
* obj7
= 0 ;
5422 PyObject
* obj8
= 0 ;
5424 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5429 arg1
= wxString_in_helper(obj0
);
5430 if (arg1
== NULL
) SWIG_fail
;
5434 arg2
= wxString_in_helper(obj1
);
5435 if (arg2
== NULL
) SWIG_fail
;
5439 arg3
= PyList_Size(obj2
);
5440 arg4
= wxString_LIST_helper(obj2
);
5441 if (arg4
== NULL
) SWIG_fail
;
5444 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5445 if (SWIG_arg_fail(5)) SWIG_fail
;
5449 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5450 if (SWIG_arg_fail(6)) SWIG_fail
;
5455 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5456 if (SWIG_arg_fail(7)) SWIG_fail
;
5461 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5462 if (SWIG_arg_fail(8)) SWIG_fail
;
5467 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5468 if (SWIG_arg_fail(9)) SWIG_fail
;
5473 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5474 if (SWIG_arg_fail(10)) SWIG_fail
;
5478 if (!wxPyCheckForApp()) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= SWIG_From_int(static_cast<int >(result
));
5497 if (arg4
) delete [] arg4
;
5510 if (arg4
) delete [] arg4
;
5516 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
= NULL
;
5518 wxString
*arg1
= 0 ;
5519 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5520 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5521 int arg3
= (int) wxOK
|wxCENTRE
;
5522 wxWindow
*arg4
= (wxWindow
*) NULL
;
5523 int arg5
= (int) -1 ;
5524 int arg6
= (int) -1 ;
5526 bool temp1
= false ;
5527 bool temp2
= false ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5530 PyObject
* obj2
= 0 ;
5531 PyObject
* obj3
= 0 ;
5532 PyObject
* obj4
= 0 ;
5533 PyObject
* obj5
= 0 ;
5535 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5540 arg1
= wxString_in_helper(obj0
);
5541 if (arg1
== NULL
) SWIG_fail
;
5546 arg2
= wxString_in_helper(obj1
);
5547 if (arg2
== NULL
) SWIG_fail
;
5553 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5554 if (SWIG_arg_fail(3)) SWIG_fail
;
5558 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5559 if (SWIG_arg_fail(4)) SWIG_fail
;
5563 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5564 if (SWIG_arg_fail(5)) SWIG_fail
;
5569 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5570 if (SWIG_arg_fail(6)) SWIG_fail
;
5574 if (!wxPyCheckForApp()) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_From_int(static_cast<int >(result
));
5606 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
= NULL
;
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5615 if (!wxPyCheckForApp()) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (bool)wxColourDisplay();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5631 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
= NULL
;
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5640 if (!wxPyCheckForApp()) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (int)wxDisplayDepth();
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_From_int(static_cast<int >(result
));
5656 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= NULL
;
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5665 if (!wxPyCheckForApp()) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (int)wxGetDisplayDepth();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_From_int(static_cast<int >(result
));
5681 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
= NULL
;
5683 int *arg1
= (int *) 0 ;
5684 int *arg2
= (int *) 0 ;
5693 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5694 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5697 if (!wxPyCheckForApp()) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 wxDisplaySize(arg1
,arg2
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 Py_INCREF(Py_None
); resultobj
= Py_None
;
5705 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5706 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5707 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5708 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5715 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
= NULL
;
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5724 if (!wxPyCheckForApp()) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= wxGetDisplaySize();
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5733 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5742 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
= NULL
;
5744 int *arg1
= (int *) 0 ;
5745 int *arg2
= (int *) 0 ;
5754 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5755 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5758 if (!wxPyCheckForApp()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxDisplaySizeMM(arg1
,arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5766 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5767 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5768 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5769 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5776 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
= NULL
;
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5785 if (!wxPyCheckForApp()) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= wxGetDisplaySizeMM();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5794 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5803 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
= NULL
;
5805 int *arg1
= (int *) 0 ;
5806 int *arg2
= (int *) 0 ;
5807 int *arg3
= (int *) 0 ;
5808 int *arg4
= (int *) 0 ;
5821 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5822 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5823 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5824 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5827 if (!wxPyCheckForApp()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 Py_INCREF(Py_None
); resultobj
= Py_None
;
5835 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5836 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5837 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5838 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5839 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5840 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5841 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5842 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5849 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
= NULL
;
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5858 if (!wxPyCheckForApp()) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 result
= wxGetClientDisplayRect();
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5867 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
5868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5876 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
= NULL
;
5878 wxCursor
*arg1
= 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "cursor", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5887 if (SWIG_arg_fail(1)) SWIG_fail
;
5889 SWIG_null_ref("wxCursor");
5891 if (SWIG_arg_fail(1)) SWIG_fail
;
5894 if (!wxPyCheckForApp()) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 Py_INCREF(Py_None
); resultobj
= Py_None
;
5908 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
= NULL
;
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5917 if (!wxPyCheckForApp()) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (void *)wxGetXDisplay();
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5931 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
= NULL
;
5933 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5934 PyObject
* obj0
= 0 ;
5936 (char *) "cursor", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5942 if (SWIG_arg_fail(1)) SWIG_fail
;
5945 if (!wxPyCheckForApp()) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxBeginBusyCursor(arg1
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5952 Py_INCREF(Py_None
); resultobj
= Py_None
;
5959 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
= NULL
;
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
5968 if (!wxPyCheckForApp()) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= wxGetMousePosition();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5976 wxPoint
* resultptr
;
5977 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5986 static PyObject
*_wrap_FindWindowAtPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
= NULL
;
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FindWindowAtPointer",kwnames
)) goto fail
;
5995 if (!wxPyCheckForApp()) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (wxWindow
*)FindWindowAtPointer();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= wxPyMake_wxObject(result
, 0);
6011 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
= NULL
;
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
6020 if (!wxPyCheckForApp()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (wxWindow
*)wxGetActiveWindow();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= wxPyMake_wxObject(result
, 0);
6036 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
= NULL
;
6041 PyObject
* obj0
= 0 ;
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6049 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6052 if (!wxPyCheckForApp()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= wxPyMake_wxObject(result
, 0);
6068 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
= NULL
;
6073 PyObject
* obj0
= 0 ;
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6081 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6084 if (!wxPyCheckForApp()) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= wxPyMake_wxObject(result
, 0);
6100 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
= NULL
;
6102 wxWindow
*arg1
= (wxWindow
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "win", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6111 if (SWIG_arg_fail(1)) SWIG_fail
;
6113 if (!wxPyCheckForApp()) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= wxPyMake_wxObject(result
, 0);
6129 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
= NULL
;
6131 wxString
*arg1
= 0 ;
6133 bool temp1
= false ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "url", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6141 arg1
= wxString_in_helper(obj0
);
6142 if (arg1
== NULL
) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6169 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= NULL
;
6173 PyObject
* obj0
= 0 ;
6175 (char *) "key", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6180 arg1
= static_cast<wxKeyCode
>(SWIG_As_int(obj0
));
6181 if (SWIG_arg_fail(1)) SWIG_fail
;
6184 if (!wxPyCheckForApp()) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (bool)wxGetKeyState(arg1
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6200 static PyObject
*_wrap_new_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
= NULL
;
6202 wxMouseState
*result
;
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MouseState",kwnames
)) goto fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (wxMouseState
*)new wxMouseState();
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseState
, 1);
6222 static PyObject
*_wrap_delete_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
= NULL
;
6224 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6227 (char *) "self", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MouseState",kwnames
,&obj0
)) goto fail
;
6231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6232 if (SWIG_arg_fail(1)) SWIG_fail
;
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 Py_INCREF(Py_None
); resultobj
= Py_None
;
6247 static PyObject
*_wrap_MouseState_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
= NULL
;
6249 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6253 (char *) "self", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetX",kwnames
,&obj0
)) goto fail
;
6257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6258 if (SWIG_arg_fail(1)) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (int)(arg1
)->GetX();
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_From_int(static_cast<int >(result
));
6275 static PyObject
*_wrap_MouseState_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
= NULL
;
6277 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6279 PyObject
* obj0
= 0 ;
6281 (char *) "self", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetY",kwnames
,&obj0
)) goto fail
;
6285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6286 if (SWIG_arg_fail(1)) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (int)(arg1
)->GetY();
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_From_int(static_cast<int >(result
));
6303 static PyObject
*_wrap_MouseState_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
= NULL
;
6305 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6309 (char *) "self", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_LeftDown",kwnames
,&obj0
)) goto fail
;
6313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6314 if (SWIG_arg_fail(1)) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (bool)(arg1
)->LeftDown();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6331 static PyObject
*_wrap_MouseState_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
= NULL
;
6333 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MiddleDown",kwnames
,&obj0
)) goto fail
;
6341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6342 if (SWIG_arg_fail(1)) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (bool)(arg1
)->MiddleDown();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6359 static PyObject
*_wrap_MouseState_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
= NULL
;
6361 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_RightDown",kwnames
,&obj0
)) goto fail
;
6369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6370 if (SWIG_arg_fail(1)) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (bool)(arg1
)->RightDown();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6387 static PyObject
*_wrap_MouseState_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
= NULL
;
6389 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ControlDown",kwnames
,&obj0
)) goto fail
;
6397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6398 if (SWIG_arg_fail(1)) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (bool)(arg1
)->ControlDown();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6415 static PyObject
*_wrap_MouseState_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
= NULL
;
6417 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6421 (char *) "self", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ShiftDown",kwnames
,&obj0
)) goto fail
;
6425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6426 if (SWIG_arg_fail(1)) SWIG_fail
;
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 result
= (bool)(arg1
)->ShiftDown();
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6443 static PyObject
*_wrap_MouseState_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
= NULL
;
6445 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_AltDown",kwnames
,&obj0
)) goto fail
;
6453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6454 if (SWIG_arg_fail(1)) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 result
= (bool)(arg1
)->AltDown();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6471 static PyObject
*_wrap_MouseState_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
= NULL
;
6473 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6475 PyObject
* obj0
= 0 ;
6477 (char *) "self", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MetaDown",kwnames
,&obj0
)) goto fail
;
6481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6482 if (SWIG_arg_fail(1)) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (bool)(arg1
)->MetaDown();
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6499 static PyObject
*_wrap_MouseState_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
= NULL
;
6501 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "self", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_CmdDown",kwnames
,&obj0
)) goto fail
;
6509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6510 if (SWIG_arg_fail(1)) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (bool)(arg1
)->CmdDown();
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6527 static PyObject
*_wrap_MouseState_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
= NULL
;
6529 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6534 (char *) "self",(char *) "x", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
6538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6539 if (SWIG_arg_fail(1)) SWIG_fail
;
6541 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6542 if (SWIG_arg_fail(2)) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 Py_INCREF(Py_None
); resultobj
= Py_None
;
6558 static PyObject
*_wrap_MouseState_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
= NULL
;
6560 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6565 (char *) "self",(char *) "y", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
6569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6570 if (SWIG_arg_fail(1)) SWIG_fail
;
6572 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6573 if (SWIG_arg_fail(2)) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 Py_INCREF(Py_None
); resultobj
= Py_None
;
6589 static PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
= NULL
;
6591 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6596 (char *) "self",(char *) "down", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6601 if (SWIG_arg_fail(1)) SWIG_fail
;
6603 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6604 if (SWIG_arg_fail(2)) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 (arg1
)->SetLeftDown(arg2
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 static PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
= NULL
;
6622 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6627 (char *) "self",(char *) "down", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6632 if (SWIG_arg_fail(1)) SWIG_fail
;
6634 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6635 if (SWIG_arg_fail(2)) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 (arg1
)->SetMiddleDown(arg2
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 Py_INCREF(Py_None
); resultobj
= Py_None
;
6651 static PyObject
*_wrap_MouseState_SetRightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
= NULL
;
6653 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6656 PyObject
* obj1
= 0 ;
6658 (char *) "self",(char *) "down", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6663 if (SWIG_arg_fail(1)) SWIG_fail
;
6665 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6666 if (SWIG_arg_fail(2)) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 (arg1
)->SetRightDown(arg2
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 Py_INCREF(Py_None
); resultobj
= Py_None
;
6682 static PyObject
*_wrap_MouseState_SetControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
= NULL
;
6684 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6687 PyObject
* obj1
= 0 ;
6689 (char *) "self",(char *) "down", NULL
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6694 if (SWIG_arg_fail(1)) SWIG_fail
;
6696 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6697 if (SWIG_arg_fail(2)) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 (arg1
)->SetControlDown(arg2
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 Py_INCREF(Py_None
); resultobj
= Py_None
;
6713 static PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
= NULL
;
6715 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "down", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6725 if (SWIG_arg_fail(1)) SWIG_fail
;
6727 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6728 if (SWIG_arg_fail(2)) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 (arg1
)->SetShiftDown(arg2
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 Py_INCREF(Py_None
); resultobj
= Py_None
;
6744 static PyObject
*_wrap_MouseState_SetAltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
= NULL
;
6746 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6751 (char *) "self",(char *) "down", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6756 if (SWIG_arg_fail(1)) SWIG_fail
;
6758 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6759 if (SWIG_arg_fail(2)) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 (arg1
)->SetAltDown(arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
= NULL
;
6777 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6782 (char *) "self",(char *) "down", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6787 if (SWIG_arg_fail(1)) SWIG_fail
;
6789 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6790 if (SWIG_arg_fail(2)) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 (arg1
)->SetMetaDown(arg2
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 Py_INCREF(Py_None
); resultobj
= Py_None
;
6806 static PyObject
* MouseState_swigregister(PyObject
*, PyObject
*args
) {
6808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6809 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState
, obj
);
6811 return Py_BuildValue((char *)"");
6813 static PyObject
*_wrap_GetMouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
= NULL
;
6815 wxMouseState result
;
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMouseState",kwnames
)) goto fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= wxGetMouseState();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6829 wxMouseState
* resultptr
;
6830 resultptr
= new wxMouseState(static_cast<wxMouseState
& >(result
));
6831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMouseState
, 1);
6839 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
= NULL
;
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6847 if (!wxPyCheckForApp()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 wxWakeUpMainThread();
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 Py_INCREF(Py_None
); resultobj
= Py_None
;
6861 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
= NULL
;
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6869 if (!wxPyCheckForApp()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 Py_INCREF(Py_None
); resultobj
= Py_None
;
6883 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
= NULL
;
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6891 if (!wxPyCheckForApp()) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 Py_INCREF(Py_None
); resultobj
= Py_None
;
6905 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
= NULL
;
6907 wxMutexGuiLocker
*result
;
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6914 if (!wxPyCheckForApp()) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6928 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
= NULL
;
6930 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6933 (char *) "self", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 Py_INCREF(Py_None
); resultobj
= Py_None
;
6953 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6956 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6958 return Py_BuildValue((char *)"");
6960 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
= NULL
;
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (bool)wxThread_IsMain();
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6984 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
= NULL
;
6986 wxString
*arg1
= 0 ;
6988 bool temp1
= false ;
6989 PyObject
* obj0
= 0 ;
6991 (char *) "tip", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6996 arg1
= wxString_in_helper(obj0
);
6997 if (arg1
== NULL
) SWIG_fail
;
7001 if (!wxPyCheckForApp()) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= wxPyMake_wxObject(result
, 1);
7025 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
= NULL
;
7027 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7028 wxString
*arg2
= 0 ;
7029 bool temp2
= false ;
7030 PyObject
* obj0
= 0 ;
7031 PyObject
* obj1
= 0 ;
7033 (char *) "self",(char *) "tip", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7038 if (SWIG_arg_fail(1)) SWIG_fail
;
7040 arg2
= wxString_in_helper(obj1
);
7041 if (arg2
== NULL
) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 (arg1
)->SetTip((wxString
const &)*arg2
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 Py_INCREF(Py_None
); resultobj
= Py_None
;
7066 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
= NULL
;
7068 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7070 PyObject
* obj0
= 0 ;
7072 (char *) "self", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7077 if (SWIG_arg_fail(1)) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= (arg1
)->GetTip();
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7098 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
= NULL
;
7100 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7104 (char *) "self", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7109 if (SWIG_arg_fail(1)) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (wxWindow
*)(arg1
)->GetWindow();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= wxPyMake_wxObject(result
, 0);
7126 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= NULL
;
7129 PyObject
* obj0
= 0 ;
7131 (char *) "flag", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7136 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7137 if (SWIG_arg_fail(1)) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxToolTip::Enable(arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 Py_INCREF(Py_None
); resultobj
= Py_None
;
7153 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
= NULL
;
7156 PyObject
* obj0
= 0 ;
7158 (char *) "milliseconds", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7163 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7164 if (SWIG_arg_fail(1)) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 wxToolTip::SetDelay(arg1
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7183 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7185 return Py_BuildValue((char *)"");
7187 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
= NULL
;
7189 wxWindow
*arg1
= (wxWindow
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7196 (char *) "window",(char *) "size", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7201 if (SWIG_arg_fail(1)) SWIG_fail
;
7204 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7207 if (!wxPyCheckForApp()) SWIG_fail
;
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7221 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
= NULL
;
7223 wxCaret
*arg1
= (wxCaret
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "self", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 wxCaret_Destroy(arg1
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
= NULL
;
7248 wxCaret
*arg1
= (wxCaret
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "self", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7257 if (SWIG_arg_fail(1)) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= (bool)(arg1
)->IsOk();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7274 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
= NULL
;
7276 wxCaret
*arg1
= (wxCaret
*) 0 ;
7278 PyObject
* obj0
= 0 ;
7280 (char *) "self", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7285 if (SWIG_arg_fail(1)) SWIG_fail
;
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 result
= (bool)(arg1
)->IsVisible();
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7302 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
= NULL
;
7304 wxCaret
*arg1
= (wxCaret
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7308 (char *) "self", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7313 if (SWIG_arg_fail(1)) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (arg1
)->GetPosition();
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7322 wxPoint
* resultptr
;
7323 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7332 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
= NULL
;
7334 wxCaret
*arg1
= (wxCaret
*) 0 ;
7335 int *arg2
= (int *) 0 ;
7336 int *arg3
= (int *) 0 ;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "self", NULL
7346 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7347 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7350 if (SWIG_arg_fail(1)) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 (arg1
)->GetPosition(arg2
,arg3
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 Py_INCREF(Py_None
); resultobj
= Py_None
;
7359 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7360 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7361 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7362 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7369 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
= NULL
;
7371 wxCaret
*arg1
= (wxCaret
*) 0 ;
7373 PyObject
* obj0
= 0 ;
7375 (char *) "self", NULL
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7380 if (SWIG_arg_fail(1)) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (arg1
)->GetSize();
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7390 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7399 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
= NULL
;
7401 wxCaret
*arg1
= (wxCaret
*) 0 ;
7402 int *arg2
= (int *) 0 ;
7403 int *arg3
= (int *) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7414 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7417 if (SWIG_arg_fail(1)) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 (arg1
)->GetSize(arg2
,arg3
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 Py_INCREF(Py_None
); resultobj
= Py_None
;
7426 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7427 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7428 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7429 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7436 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
= NULL
;
7438 wxCaret
*arg1
= (wxCaret
*) 0 ;
7440 PyObject
* obj0
= 0 ;
7442 (char *) "self", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (wxWindow
*)(arg1
)->GetWindow();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= wxPyMake_wxObject(result
, 0);
7464 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
= NULL
;
7466 wxCaret
*arg1
= (wxCaret
*) 0 ;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7471 PyObject
* obj2
= 0 ;
7473 (char *) "self",(char *) "x",(char *) "y", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7478 if (SWIG_arg_fail(1)) SWIG_fail
;
7480 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7481 if (SWIG_arg_fail(2)) SWIG_fail
;
7484 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7485 if (SWIG_arg_fail(3)) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 (arg1
)->Move(arg2
,arg3
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 Py_INCREF(Py_None
); resultobj
= Py_None
;
7501 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
= NULL
;
7503 wxCaret
*arg1
= (wxCaret
*) 0 ;
7506 PyObject
* obj0
= 0 ;
7507 PyObject
* obj1
= 0 ;
7509 (char *) "self",(char *) "pt", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7514 if (SWIG_arg_fail(1)) SWIG_fail
;
7517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 (arg1
)->Move((wxPoint
const &)*arg2
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 Py_INCREF(Py_None
); resultobj
= Py_None
;
7533 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
= NULL
;
7535 wxCaret
*arg1
= (wxCaret
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7540 PyObject
* obj2
= 0 ;
7542 (char *) "self",(char *) "width",(char *) "height", NULL
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7547 if (SWIG_arg_fail(1)) SWIG_fail
;
7549 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7550 if (SWIG_arg_fail(2)) SWIG_fail
;
7553 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7554 if (SWIG_arg_fail(3)) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 (arg1
)->SetSize(arg2
,arg3
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 Py_INCREF(Py_None
); resultobj
= Py_None
;
7570 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
= NULL
;
7572 wxCaret
*arg1
= (wxCaret
*) 0 ;
7575 PyObject
* obj0
= 0 ;
7576 PyObject
* obj1
= 0 ;
7578 (char *) "self",(char *) "size", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7583 if (SWIG_arg_fail(1)) SWIG_fail
;
7586 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 (arg1
)->SetSize((wxSize
const &)*arg2
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 Py_INCREF(Py_None
); resultobj
= Py_None
;
7602 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
= NULL
;
7604 wxCaret
*arg1
= (wxCaret
*) 0 ;
7605 int arg2
= (int) true ;
7606 PyObject
* obj0
= 0 ;
7607 PyObject
* obj1
= 0 ;
7609 (char *) "self",(char *) "show", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7614 if (SWIG_arg_fail(1)) SWIG_fail
;
7617 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7618 if (SWIG_arg_fail(2)) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 Py_INCREF(Py_None
); resultobj
= Py_None
;
7635 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
= NULL
;
7637 wxCaret
*arg1
= (wxCaret
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7640 (char *) "self", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7645 if (SWIG_arg_fail(1)) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 Py_INCREF(Py_None
); resultobj
= Py_None
;
7660 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
= NULL
;
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (int)wxCaret::GetBlinkTime();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_From_int(static_cast<int >(result
));
7684 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
= NULL
;
7687 PyObject
* obj0
= 0 ;
7689 (char *) "milliseconds", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7694 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7695 if (SWIG_arg_fail(1)) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxCaret::SetBlinkTime(arg1
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 Py_INCREF(Py_None
); resultobj
= Py_None
;
7711 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7714 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7716 return Py_BuildValue((char *)"");
7718 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
= NULL
;
7720 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7721 wxBusyCursor
*result
;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "cursor", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7730 if (SWIG_arg_fail(1)) SWIG_fail
;
7733 if (!wxPyCheckForApp()) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7747 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
= NULL
;
7749 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7752 (char *) "self", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7757 if (SWIG_arg_fail(1)) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 Py_INCREF(Py_None
); resultobj
= Py_None
;
7772 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7775 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7777 return Py_BuildValue((char *)"");
7779 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
= NULL
;
7781 wxWindow
*arg1
= (wxWindow
*) NULL
;
7782 wxWindowDisabler
*result
;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "winToSkip", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7791 if (SWIG_arg_fail(1)) SWIG_fail
;
7794 if (!wxPyCheckForApp()) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7808 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
= NULL
;
7810 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7813 (char *) "self", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7818 if (SWIG_arg_fail(1)) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 Py_INCREF(Py_None
); resultobj
= Py_None
;
7833 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7836 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7838 return Py_BuildValue((char *)"");
7840 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
= NULL
;
7842 wxString
*arg1
= 0 ;
7844 bool temp1
= false ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "message", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7852 arg1
= wxString_in_helper(obj0
);
7853 if (arg1
== NULL
) SWIG_fail
;
7857 if (!wxPyCheckForApp()) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7879 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
= NULL
;
7881 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 (char *) "self", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7889 if (SWIG_arg_fail(1)) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 Py_INCREF(Py_None
); resultobj
= Py_None
;
7904 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7907 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7909 return Py_BuildValue((char *)"");
7911 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
= NULL
;
7913 wxStopWatch
*result
;
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (wxStopWatch
*)new wxStopWatch();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7933 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
= NULL
;
7935 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7936 long arg2
= (long) 0 ;
7937 PyObject
* obj0
= 0 ;
7938 PyObject
* obj1
= 0 ;
7940 (char *) "self",(char *) "t0", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7945 if (SWIG_arg_fail(1)) SWIG_fail
;
7948 arg2
= static_cast<long >(SWIG_As_long(obj1
));
7949 if (SWIG_arg_fail(2)) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 (arg1
)->Start(arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 Py_INCREF(Py_None
); resultobj
= Py_None
;
7966 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= NULL
;
7968 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7976 if (SWIG_arg_fail(1)) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 Py_INCREF(Py_None
); resultobj
= Py_None
;
7991 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= NULL
;
7993 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7996 (char *) "self", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8001 if (SWIG_arg_fail(1)) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 Py_INCREF(Py_None
); resultobj
= Py_None
;
8016 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
= NULL
;
8018 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8022 (char *) "self", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= SWIG_From_long(static_cast<long >(result
));
8044 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8047 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8049 return Py_BuildValue((char *)"");
8051 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
= NULL
;
8053 int arg1
= (int) 9 ;
8054 int arg2
= (int) wxID_FILE1
;
8055 wxFileHistory
*result
;
8056 PyObject
* obj0
= 0 ;
8057 PyObject
* obj1
= 0 ;
8059 (char *) "maxFiles",(char *) "idBase", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8065 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8066 if (SWIG_arg_fail(1)) SWIG_fail
;
8071 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8072 if (SWIG_arg_fail(2)) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8089 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= NULL
;
8091 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8094 (char *) "self", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8099 if (SWIG_arg_fail(1)) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 Py_INCREF(Py_None
); resultobj
= Py_None
;
8114 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
= NULL
;
8116 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8117 wxString
*arg2
= 0 ;
8118 bool temp2
= false ;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8122 (char *) "self",(char *) "file", NULL
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8127 if (SWIG_arg_fail(1)) SWIG_fail
;
8129 arg2
= wxString_in_helper(obj1
);
8130 if (arg2
== NULL
) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
= NULL
;
8157 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj1
= 0 ;
8162 (char *) "self",(char *) "i", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8167 if (SWIG_arg_fail(1)) SWIG_fail
;
8169 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8170 if (SWIG_arg_fail(2)) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 (arg1
)->RemoveFileFromHistory(arg2
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
= NULL
;
8188 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8190 PyObject
* obj0
= 0 ;
8192 (char *) "self", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8197 if (SWIG_arg_fail(1)) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8206 resultobj
= SWIG_From_int(static_cast<int >(result
));
8214 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
= NULL
;
8216 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8217 wxMenu
*arg2
= (wxMenu
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8221 (char *) "self",(char *) "menu", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8226 if (SWIG_arg_fail(1)) SWIG_fail
;
8227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8228 if (SWIG_arg_fail(2)) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 (arg1
)->UseMenu(arg2
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 Py_INCREF(Py_None
); resultobj
= Py_None
;
8243 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
= NULL
;
8245 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8246 wxMenu
*arg2
= (wxMenu
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8250 (char *) "self",(char *) "menu", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8255 if (SWIG_arg_fail(1)) SWIG_fail
;
8256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8257 if (SWIG_arg_fail(2)) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 (arg1
)->RemoveMenu(arg2
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 Py_INCREF(Py_None
); resultobj
= Py_None
;
8272 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
= NULL
;
8274 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8275 wxConfigBase
*arg2
= 0 ;
8276 PyObject
* obj0
= 0 ;
8277 PyObject
* obj1
= 0 ;
8279 (char *) "self",(char *) "config", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8284 if (SWIG_arg_fail(1)) SWIG_fail
;
8286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8287 if (SWIG_arg_fail(2)) SWIG_fail
;
8289 SWIG_null_ref("wxConfigBase");
8291 if (SWIG_arg_fail(2)) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 (arg1
)->Load(*arg2
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 Py_INCREF(Py_None
); resultobj
= Py_None
;
8307 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
= NULL
;
8309 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8310 wxConfigBase
*arg2
= 0 ;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8314 (char *) "self",(char *) "config", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
8318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8319 if (SWIG_arg_fail(1)) SWIG_fail
;
8321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8322 if (SWIG_arg_fail(2)) SWIG_fail
;
8324 SWIG_null_ref("wxConfigBase");
8326 if (SWIG_arg_fail(2)) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 (arg1
)->Save(*arg2
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 Py_INCREF(Py_None
); resultobj
= Py_None
;
8342 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
= NULL
;
8344 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8345 PyObject
* obj0
= 0 ;
8347 (char *) "self", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8352 if (SWIG_arg_fail(1)) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 (arg1
)->AddFilesToMenu();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 Py_INCREF(Py_None
); resultobj
= Py_None
;
8367 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
= NULL
;
8369 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8370 wxMenu
*arg2
= (wxMenu
*) 0 ;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8374 (char *) "self",(char *) "menu", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8379 if (SWIG_arg_fail(1)) SWIG_fail
;
8380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8381 if (SWIG_arg_fail(2)) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 (arg1
)->AddFilesToMenu(arg2
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 Py_INCREF(Py_None
); resultobj
= Py_None
;
8396 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
= NULL
;
8398 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8404 (char *) "self",(char *) "i", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8409 if (SWIG_arg_fail(1)) SWIG_fail
;
8411 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8412 if (SWIG_arg_fail(2)) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8434 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
= NULL
;
8436 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_From_int(static_cast<int >(result
));
8462 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8465 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8467 return Py_BuildValue((char *)"");
8469 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
= NULL
;
8471 wxString
*arg1
= 0 ;
8472 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8473 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8474 wxSingleInstanceChecker
*result
;
8475 bool temp1
= false ;
8476 bool temp2
= false ;
8477 PyObject
* obj0
= 0 ;
8478 PyObject
* obj1
= 0 ;
8480 (char *) "name",(char *) "path", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8485 arg1
= wxString_in_helper(obj0
);
8486 if (arg1
== NULL
) SWIG_fail
;
8491 arg2
= wxString_in_helper(obj1
);
8492 if (arg2
== NULL
) SWIG_fail
;
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8526 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
= NULL
;
8528 wxSingleInstanceChecker
*result
;
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8548 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
= NULL
;
8550 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "self", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
8557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8558 if (SWIG_arg_fail(1)) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 Py_INCREF(Py_None
); resultobj
= Py_None
;
8573 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
= NULL
;
8575 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8576 wxString
*arg2
= 0 ;
8577 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8578 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8580 bool temp2
= false ;
8581 bool temp3
= false ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8584 PyObject
* obj2
= 0 ;
8586 (char *) "self",(char *) "name",(char *) "path", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail
;
8593 arg2
= wxString_in_helper(obj1
);
8594 if (arg2
== NULL
) SWIG_fail
;
8599 arg3
= wxString_in_helper(obj2
);
8600 if (arg3
== NULL
) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8636 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
= NULL
;
8638 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8640 PyObject
* obj0
= 0 ;
8642 (char *) "self", NULL
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8647 if (SWIG_arg_fail(1)) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8664 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8667 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8669 return Py_BuildValue((char *)"");
8671 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
= NULL
;
8673 wxWindow
*arg1
= (wxWindow
*) 0 ;
8676 PyObject
* obj0
= 0 ;
8677 PyObject
* obj1
= 0 ;
8679 (char *) "window",(char *) "dc", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8684 if (SWIG_arg_fail(1)) SWIG_fail
;
8686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8687 if (SWIG_arg_fail(2)) SWIG_fail
;
8689 SWIG_null_ref("wxDC");
8691 if (SWIG_arg_fail(2)) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8709 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
= NULL
;
8711 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8714 (char *) "self", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8719 if (SWIG_arg_fail(1)) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 Py_INCREF(Py_None
); resultobj
= Py_None
;
8734 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= NULL
;
8736 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8740 (char *) "self", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8745 if (SWIG_arg_fail(1)) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 result
= (arg1
)->GetTip();
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8766 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
= NULL
;
8768 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8770 PyObject
* obj0
= 0 ;
8772 (char *) "self", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8777 if (SWIG_arg_fail(1)) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (size_t)(arg1
)->GetCurrentTip();
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8794 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
= NULL
;
8796 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8797 wxString
*arg2
= 0 ;
8799 bool temp2
= false ;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8803 (char *) "self",(char *) "tip", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8808 if (SWIG_arg_fail(1)) SWIG_fail
;
8810 arg2
= wxString_in_helper(obj1
);
8811 if (arg2
== NULL
) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8842 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8845 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8847 return Py_BuildValue((char *)"");
8849 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
= NULL
;
8852 wxPyTipProvider
*result
;
8853 PyObject
* obj0
= 0 ;
8855 (char *) "currentTip", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8860 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8861 if (SWIG_arg_fail(1)) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8877 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
= NULL
;
8879 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8880 PyObject
*arg2
= (PyObject
*) 0 ;
8881 PyObject
*arg3
= (PyObject
*) 0 ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8884 PyObject
* obj2
= 0 ;
8886 (char *) "self",(char *) "self",(char *) "_class", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8891 if (SWIG_arg_fail(1)) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8908 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8911 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8913 return Py_BuildValue((char *)"");
8915 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
= NULL
;
8917 wxWindow
*arg1
= (wxWindow
*) 0 ;
8918 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8919 bool arg3
= (bool) true ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8923 PyObject
* obj2
= 0 ;
8925 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail
;
8931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8932 if (SWIG_arg_fail(2)) SWIG_fail
;
8935 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8936 if (SWIG_arg_fail(3)) SWIG_fail
;
8940 if (!wxPyCheckForApp()) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8956 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
= NULL
;
8958 wxString
*arg1
= 0 ;
8960 wxTipProvider
*result
;
8961 bool temp1
= false ;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8965 (char *) "filename",(char *) "currentTip", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8970 arg1
= wxString_in_helper(obj0
);
8971 if (arg1
== NULL
) SWIG_fail
;
8975 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8976 if (SWIG_arg_fail(2)) SWIG_fail
;
8979 if (!wxPyCheckForApp()) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9001 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
= NULL
;
9003 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9004 int arg2
= (int) -1 ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9009 (char *) "owner",(char *) "id", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail
;
9019 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9020 if (SWIG_arg_fail(2)) SWIG_fail
;
9024 if (!wxPyCheckForApp()) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9038 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
= NULL
;
9040 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "self", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9048 if (SWIG_arg_fail(1)) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 Py_INCREF(Py_None
); resultobj
= Py_None
;
9063 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
= NULL
;
9065 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9066 PyObject
*arg2
= (PyObject
*) 0 ;
9067 PyObject
*arg3
= (PyObject
*) 0 ;
9068 int arg4
= (int) 1 ;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9071 PyObject
* obj2
= 0 ;
9072 PyObject
* obj3
= 0 ;
9074 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9079 if (SWIG_arg_fail(1)) SWIG_fail
;
9084 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9085 if (SWIG_arg_fail(4)) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 Py_INCREF(Py_None
); resultobj
= Py_None
;
9102 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
= NULL
;
9104 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9105 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9106 int arg3
= (int) -1 ;
9107 PyObject
* obj0
= 0 ;
9108 PyObject
* obj1
= 0 ;
9109 PyObject
* obj2
= 0 ;
9111 (char *) "self",(char *) "owner",(char *) "id", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9116 if (SWIG_arg_fail(1)) SWIG_fail
;
9117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9118 if (SWIG_arg_fail(2)) SWIG_fail
;
9121 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9122 if (SWIG_arg_fail(3)) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 (arg1
)->SetOwner(arg2
,arg3
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 Py_INCREF(Py_None
); resultobj
= Py_None
;
9139 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
= NULL
;
9141 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9142 wxEvtHandler
*result
;
9143 PyObject
* obj0
= 0 ;
9145 (char *) "self", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9150 if (SWIG_arg_fail(1)) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= wxPyMake_wxObject(result
, 0);
9167 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
= NULL
;
9169 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9170 int arg2
= (int) -1 ;
9171 bool arg3
= (bool) false ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9175 PyObject
* obj2
= 0 ;
9177 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail
;
9185 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9186 if (SWIG_arg_fail(2)) SWIG_fail
;
9191 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9192 if (SWIG_arg_fail(3)) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9211 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
= NULL
;
9213 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9216 (char *) "self", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9221 if (SWIG_arg_fail(1)) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 Py_INCREF(Py_None
); resultobj
= Py_None
;
9236 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= NULL
;
9238 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9240 PyObject
* obj0
= 0 ;
9242 (char *) "self", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9247 if (SWIG_arg_fail(1)) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9264 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
= NULL
;
9266 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9268 PyObject
* obj0
= 0 ;
9270 (char *) "self", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9275 if (SWIG_arg_fail(1)) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_From_int(static_cast<int >(result
));
9292 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
= NULL
;
9294 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9298 (char *) "self", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9303 if (SWIG_arg_fail(1)) SWIG_fail
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9320 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
= NULL
;
9322 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9324 PyObject
* obj0
= 0 ;
9326 (char *) "self", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9331 if (SWIG_arg_fail(1)) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9340 resultobj
= SWIG_From_int(static_cast<int >(result
));
9348 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9351 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9353 return Py_BuildValue((char *)"");
9355 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= NULL
;
9357 int arg1
= (int) 0 ;
9358 int arg2
= (int) 0 ;
9359 wxTimerEvent
*result
;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9363 (char *) "timerid",(char *) "interval", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9369 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9370 if (SWIG_arg_fail(1)) SWIG_fail
;
9375 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9376 if (SWIG_arg_fail(2)) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9393 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
= NULL
;
9395 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9397 PyObject
* obj0
= 0 ;
9399 (char *) "self", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9404 if (SWIG_arg_fail(1)) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= SWIG_From_int(static_cast<int >(result
));
9421 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9424 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9426 return Py_BuildValue((char *)"");
9428 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9429 PyObject
*resultobj
= NULL
;
9431 wxTimerRunner
*result
;
9432 PyObject
* obj0
= 0 ;
9434 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9437 if (SWIG_arg_fail(1)) SWIG_fail
;
9439 SWIG_null_ref("wxTimer");
9441 if (SWIG_arg_fail(1)) SWIG_fail
;
9444 if (!wxPyCheckForApp()) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9458 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9459 PyObject
*resultobj
= NULL
;
9462 bool arg3
= (bool) false ;
9463 wxTimerRunner
*result
;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9466 PyObject
* obj2
= 0 ;
9468 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9471 if (SWIG_arg_fail(1)) SWIG_fail
;
9473 SWIG_null_ref("wxTimer");
9475 if (SWIG_arg_fail(1)) SWIG_fail
;
9478 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9479 if (SWIG_arg_fail(2)) SWIG_fail
;
9483 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9484 if (SWIG_arg_fail(3)) SWIG_fail
;
9488 if (!wxPyCheckForApp()) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9502 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9507 argc
= PyObject_Length(args
);
9508 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9509 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9515 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9523 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9526 if ((argc
>= 2) && (argc
<= 3)) {
9530 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9538 _v
= SWIG_Check_int(argv
[1]);
9541 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9543 _v
= SWIG_Check_bool(argv
[2]);
9545 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9551 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9556 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
= NULL
;
9558 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9561 (char *) "self", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 Py_INCREF(Py_None
); resultobj
= Py_None
;
9581 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9582 PyObject
*resultobj
= NULL
;
9583 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9585 bool arg3
= (bool) false ;
9586 PyObject
* obj0
= 0 ;
9587 PyObject
* obj1
= 0 ;
9588 PyObject
* obj2
= 0 ;
9590 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9595 if (SWIG_arg_fail(1)) SWIG_fail
;
9597 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9598 if (SWIG_arg_fail(2)) SWIG_fail
;
9602 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9603 if (SWIG_arg_fail(3)) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 (arg1
)->Start(arg2
,arg3
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 Py_INCREF(Py_None
); resultobj
= Py_None
;
9620 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9623 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9625 return Py_BuildValue((char *)"");
9627 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
= NULL
;
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (wxLog
*)new wxLog();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9649 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
= NULL
;
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (bool)wxLog::IsEnabled();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9673 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
= NULL
;
9675 bool arg1
= (bool) true ;
9677 PyObject
* obj0
= 0 ;
9679 (char *) "doIt", NULL
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9685 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9686 if (SWIG_arg_fail(1)) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (bool)wxLog::EnableLogging(arg1
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9705 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= NULL
;
9708 wxChar
*arg2
= (wxChar
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9712 PyObject
* obj2
= 0 ;
9714 (char *) "level",(char *) "szString",(char *) "t", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9719 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9720 if (SWIG_arg_fail(1)) SWIG_fail
;
9722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9723 if (SWIG_arg_fail(2)) SWIG_fail
;
9725 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9726 if (SWIG_arg_fail(3)) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 Py_INCREF(Py_None
); resultobj
= Py_None
;
9742 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
= NULL
;
9744 wxLog
*arg1
= (wxLog
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9752 if (SWIG_arg_fail(1)) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 Py_INCREF(Py_None
); resultobj
= Py_None
;
9767 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
= NULL
;
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 wxLog::FlushActive();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 Py_INCREF(Py_None
); resultobj
= Py_None
;
9788 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
= NULL
;
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= (wxLog
*)wxLog::GetActiveTarget();
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9810 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= NULL
;
9812 wxLog
*arg1
= (wxLog
*) 0 ;
9814 PyObject
* obj0
= 0 ;
9816 (char *) "pLogger", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9821 if (SWIG_arg_fail(1)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9836 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
= NULL
;
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
= NULL
;
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 Py_INCREF(Py_None
); resultobj
= Py_None
;
9878 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
= NULL
;
9880 bool arg1
= (bool) true ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "bVerbose", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9889 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9890 if (SWIG_arg_fail(1)) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 wxLog::SetVerbose(arg1
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 Py_INCREF(Py_None
); resultobj
= Py_None
;
9907 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= NULL
;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "logLevel", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9917 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9918 if (SWIG_arg_fail(1)) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 wxLog::SetLogLevel(arg1
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 Py_INCREF(Py_None
); resultobj
= Py_None
;
9934 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= NULL
;
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 wxLog::DontCreateOnDemand();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 Py_INCREF(Py_None
); resultobj
= Py_None
;
9955 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
= NULL
;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "ulMask", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9965 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
9966 if (SWIG_arg_fail(1)) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 wxLog::SetTraceMask(arg1
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 Py_INCREF(Py_None
); resultobj
= Py_None
;
9982 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
= NULL
;
9984 wxString
*arg1
= 0 ;
9985 bool temp1
= false ;
9986 PyObject
* obj0
= 0 ;
9988 (char *) "str", NULL
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9993 arg1
= wxString_in_helper(obj0
);
9994 if (arg1
== NULL
) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 wxLog::AddTraceMask((wxString
const &)*arg1
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
= NULL
;
10021 wxString
*arg1
= 0 ;
10022 bool temp1
= false ;
10023 PyObject
* obj0
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "str", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10030 arg1
= wxString_in_helper(obj0
);
10031 if (arg1
== NULL
) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 Py_INCREF(Py_None
); resultobj
= Py_None
;
10056 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
= NULL
;
10058 char *kwnames
[] = {
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 wxLog::ClearTraceMasks();
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 Py_INCREF(Py_None
); resultobj
= Py_None
;
10077 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= NULL
;
10079 wxArrayString
*result
;
10080 char *kwnames
[] = {
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10089 result
= (wxArrayString
*) &_result_ref
;
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= wxArrayString2PyList_helper(*result
);
10104 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
= NULL
;
10106 wxChar
*arg1
= (wxChar
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "ts", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10114 if (SWIG_arg_fail(1)) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 wxLog::SetTimestamp((wxChar
const *)arg1
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 Py_INCREF(Py_None
); resultobj
= Py_None
;
10129 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
= NULL
;
10132 char *kwnames
[] = {
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (bool)wxLog::GetVerbose();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10153 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
= NULL
;
10155 wxTraceMask result
;
10156 char *kwnames
[] = {
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxTraceMask
)wxLog::GetTraceMask();
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10177 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
= NULL
;
10179 wxChar
*arg1
= (wxChar
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "mask", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10188 if (SWIG_arg_fail(1)) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10205 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
= NULL
;
10208 char *kwnames
[] = {
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (wxLogLevel
)wxLog::GetLogLevel();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10229 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
= NULL
;
10232 char *kwnames
[] = {
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (wxChar
*)wxLog::GetTimestamp();
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10251 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
= NULL
;
10254 char *kwnames
[] = {
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= wxLog_TimeStamp();
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10279 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= NULL
;
10281 wxLog
*arg1
= (wxLog
*) 0 ;
10282 PyObject
* obj0
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10289 if (SWIG_arg_fail(1)) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 wxLog_Destroy(arg1
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 Py_INCREF(Py_None
); resultobj
= Py_None
;
10304 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10307 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10309 return Py_BuildValue((char *)"");
10311 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
= NULL
;
10313 wxLogStderr
*result
;
10314 char *kwnames
[] = {
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (wxLogStderr
*)new wxLogStderr();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10333 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10336 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10338 return Py_BuildValue((char *)"");
10340 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
= NULL
;
10342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10343 wxLogTextCtrl
*result
;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "pTextCtrl", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10351 if (SWIG_arg_fail(1)) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10366 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10369 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10371 return Py_BuildValue((char *)"");
10373 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
= NULL
;
10376 char *kwnames
[] = {
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (wxLogGui
*)new wxLogGui();
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10395 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10398 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10400 return Py_BuildValue((char *)"");
10402 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
= NULL
;
10404 wxFrame
*arg1
= (wxFrame
*) 0 ;
10405 wxString
*arg2
= 0 ;
10406 bool arg3
= (bool) true ;
10407 bool arg4
= (bool) true ;
10408 wxLogWindow
*result
;
10409 bool temp2
= false ;
10410 PyObject
* obj0
= 0 ;
10411 PyObject
* obj1
= 0 ;
10412 PyObject
* obj2
= 0 ;
10413 PyObject
* obj3
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10420 if (SWIG_arg_fail(1)) SWIG_fail
;
10422 arg2
= wxString_in_helper(obj1
);
10423 if (arg2
== NULL
) SWIG_fail
;
10428 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10429 if (SWIG_arg_fail(3)) SWIG_fail
;
10434 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10435 if (SWIG_arg_fail(4)) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10460 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
= NULL
;
10462 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10463 bool arg2
= (bool) true ;
10464 PyObject
* obj0
= 0 ;
10465 PyObject
* obj1
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self",(char *) "bShow", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10472 if (SWIG_arg_fail(1)) SWIG_fail
;
10475 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10476 if (SWIG_arg_fail(2)) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 (arg1
)->Show(arg2
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 Py_INCREF(Py_None
); resultobj
= Py_None
;
10493 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
= NULL
;
10495 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10497 PyObject
* obj0
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "self", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10504 if (SWIG_arg_fail(1)) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= wxPyMake_wxObject(result
, 0);
10521 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
= NULL
;
10523 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "self", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10532 if (SWIG_arg_fail(1)) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10547 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
= NULL
;
10549 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10551 PyObject
* obj0
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10558 if (SWIG_arg_fail(1)) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10575 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
= NULL
;
10577 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "bDoPass", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10587 if (SWIG_arg_fail(1)) SWIG_fail
;
10589 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10590 if (SWIG_arg_fail(2)) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 (arg1
)->PassMessages(arg2
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 Py_INCREF(Py_None
); resultobj
= Py_None
;
10606 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10609 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10611 return Py_BuildValue((char *)"");
10613 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
= NULL
;
10615 wxLog
*arg1
= (wxLog
*) 0 ;
10616 wxLogChain
*result
;
10617 PyObject
* obj0
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "logger", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10624 if (SWIG_arg_fail(1)) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (wxLogChain
*)new wxLogChain(arg1
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10639 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
= NULL
;
10641 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10642 wxLog
*arg2
= (wxLog
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 PyObject
* obj1
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self",(char *) "logger", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10651 if (SWIG_arg_fail(1)) SWIG_fail
;
10652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10653 if (SWIG_arg_fail(2)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->SetLog(arg2
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 Py_INCREF(Py_None
); resultobj
= Py_None
;
10668 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
= NULL
;
10670 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self",(char *) "bDoPass", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10680 if (SWIG_arg_fail(1)) SWIG_fail
;
10682 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10683 if (SWIG_arg_fail(2)) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 (arg1
)->PassMessages(arg2
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 Py_INCREF(Py_None
); resultobj
= Py_None
;
10699 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
= NULL
;
10701 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10710 if (SWIG_arg_fail(1)) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (bool)(arg1
)->IsPassingMessages();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10727 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
= NULL
;
10729 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10731 PyObject
* obj0
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10738 if (SWIG_arg_fail(1)) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (wxLog
*)(arg1
)->GetOldLog();
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10753 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10756 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10758 return Py_BuildValue((char *)"");
10760 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
= NULL
;
10762 wxLogBuffer
*result
;
10763 char *kwnames
[] = {
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10770 result
= (wxLogBuffer
*)new wxLogBuffer();
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10782 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
= NULL
;
10784 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10786 PyObject
* obj0
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10798 result
= (wxString
*) &_result_ref
;
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10808 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10817 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
= NULL
;
10819 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10827 if (SWIG_arg_fail(1)) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 Py_INCREF(Py_None
); resultobj
= Py_None
;
10842 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10845 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10847 return Py_BuildValue((char *)"");
10849 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
= NULL
;
10851 unsigned long result
;
10852 char *kwnames
[] = {
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (unsigned long)wxSysErrorCode();
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10865 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10873 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= NULL
;
10875 unsigned long arg1
= (unsigned long) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "nErrCode", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10885 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10886 if (SWIG_arg_fail(1)) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= wxSysErrorMsg(arg1
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10909 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
= NULL
;
10911 wxString
*arg1
= 0 ;
10912 bool temp1
= false ;
10913 PyObject
* obj0
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "msg", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10920 arg1
= wxString_in_helper(obj0
);
10921 if (arg1
== NULL
) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 wxPyLogFatalError((wxString
const &)*arg1
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
= NULL
;
10948 wxString
*arg1
= 0 ;
10949 bool temp1
= false ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "msg", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10957 arg1
= wxString_in_helper(obj0
);
10958 if (arg1
== NULL
) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 wxPyLogError((wxString
const &)*arg1
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
= NULL
;
10985 wxString
*arg1
= 0 ;
10986 bool temp1
= false ;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "msg", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10994 arg1
= wxString_in_helper(obj0
);
10995 if (arg1
== NULL
) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 wxPyLogWarning((wxString
const &)*arg1
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 Py_INCREF(Py_None
); resultobj
= Py_None
;
11020 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
= NULL
;
11022 wxString
*arg1
= 0 ;
11023 bool temp1
= false ;
11024 PyObject
* obj0
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "msg", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11031 arg1
= wxString_in_helper(obj0
);
11032 if (arg1
== NULL
) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 wxPyLogMessage((wxString
const &)*arg1
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
= NULL
;
11059 wxString
*arg1
= 0 ;
11060 bool temp1
= false ;
11061 PyObject
* obj0
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "msg", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11068 arg1
= wxString_in_helper(obj0
);
11069 if (arg1
== NULL
) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 wxPyLogInfo((wxString
const &)*arg1
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
= NULL
;
11096 wxString
*arg1
= 0 ;
11097 bool temp1
= false ;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "msg", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11105 arg1
= wxString_in_helper(obj0
);
11106 if (arg1
== NULL
) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 wxPyLogDebug((wxString
const &)*arg1
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 Py_INCREF(Py_None
); resultobj
= Py_None
;
11131 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
= NULL
;
11133 wxString
*arg1
= 0 ;
11134 bool temp1
= false ;
11135 PyObject
* obj0
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "msg", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11142 arg1
= wxString_in_helper(obj0
);
11143 if (arg1
== NULL
) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 wxPyLogVerbose((wxString
const &)*arg1
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11168 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
= NULL
;
11170 wxString
*arg1
= 0 ;
11171 bool temp1
= false ;
11172 PyObject
* obj0
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "msg", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11179 arg1
= wxString_in_helper(obj0
);
11180 if (arg1
== NULL
) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 wxPyLogStatus((wxString
const &)*arg1
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11205 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
= NULL
;
11207 wxFrame
*arg1
= (wxFrame
*) 0 ;
11208 wxString
*arg2
= 0 ;
11209 bool temp2
= false ;
11210 PyObject
* obj0
= 0 ;
11211 PyObject
* obj1
= 0 ;
11212 char *kwnames
[] = {
11213 (char *) "pFrame",(char *) "msg", NULL
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11218 if (SWIG_arg_fail(1)) SWIG_fail
;
11220 arg2
= wxString_in_helper(obj1
);
11221 if (arg2
== NULL
) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
= NULL
;
11248 wxString
*arg1
= 0 ;
11249 bool temp1
= false ;
11250 PyObject
* obj0
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "msg", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11257 arg1
= wxString_in_helper(obj0
);
11258 if (arg1
== NULL
) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 wxPyLogSysError((wxString
const &)*arg1
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 Py_INCREF(Py_None
); resultobj
= Py_None
;
11283 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
= NULL
;
11285 unsigned long arg1
;
11286 wxString
*arg2
= 0 ;
11287 bool temp2
= false ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "level",(char *) "msg", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11296 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11297 if (SWIG_arg_fail(1)) SWIG_fail
;
11300 arg2
= wxString_in_helper(obj1
);
11301 if (arg2
== NULL
) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11327 PyObject
*resultobj
= NULL
;
11328 unsigned long arg1
;
11329 wxString
*arg2
= 0 ;
11330 bool temp2
= false ;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11334 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11336 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11337 if (SWIG_arg_fail(1)) SWIG_fail
;
11340 arg2
= wxString_in_helper(obj1
);
11341 if (arg2
== NULL
) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 Py_INCREF(Py_None
); resultobj
= Py_None
;
11366 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11367 PyObject
*resultobj
= NULL
;
11368 wxString
*arg1
= 0 ;
11369 wxString
*arg2
= 0 ;
11370 bool temp1
= false ;
11371 bool temp2
= false ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11375 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11377 arg1
= wxString_in_helper(obj0
);
11378 if (arg1
== NULL
) SWIG_fail
;
11382 arg2
= wxString_in_helper(obj1
);
11383 if (arg2
== NULL
) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 Py_INCREF(Py_None
); resultobj
= Py_None
;
11416 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11421 argc
= PyObject_Length(args
);
11422 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11423 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11428 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11432 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11435 return _wrap_LogTrace__SWIG_1(self
,args
);
11441 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11444 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11447 return _wrap_LogTrace__SWIG_0(self
,args
);
11452 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11457 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
= NULL
;
11459 wxString
*arg1
= 0 ;
11460 wxString
*arg2
= 0 ;
11461 bool temp1
= false ;
11462 bool temp2
= false ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "title",(char *) "text", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11471 arg1
= wxString_in_helper(obj0
);
11472 if (arg1
== NULL
) SWIG_fail
;
11476 arg2
= wxString_in_helper(obj1
);
11477 if (arg2
== NULL
) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 Py_INCREF(Py_None
); resultobj
= Py_None
;
11510 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
= NULL
;
11513 char *kwnames
[] = {
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (wxLogNull
*)new wxLogNull();
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11532 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
= NULL
;
11534 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11535 PyObject
* obj0
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11542 if (SWIG_arg_fail(1)) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 Py_INCREF(Py_None
); resultobj
= Py_None
;
11557 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11562 return Py_BuildValue((char *)"");
11564 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
= NULL
;
11567 char *kwnames
[] = {
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (wxPyLog
*)new wxPyLog();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11586 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
= NULL
;
11588 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11589 PyObject
*arg2
= (PyObject
*) 0 ;
11590 PyObject
*arg3
= (PyObject
*) 0 ;
11591 PyObject
* obj0
= 0 ;
11592 PyObject
* obj1
= 0 ;
11593 PyObject
* obj2
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self",(char *) "self",(char *) "_class", NULL
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 Py_INCREF(Py_None
); resultobj
= Py_None
;
11617 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11620 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11622 return Py_BuildValue((char *)"");
11624 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
= NULL
;
11627 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11628 int arg3
= (int) wxKILL_NOCHILDREN
;
11629 wxKillError result
;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 PyObject
* obj2
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11639 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11640 if (SWIG_arg_fail(1)) SWIG_fail
;
11644 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11645 if (SWIG_arg_fail(2)) SWIG_fail
;
11650 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11651 if (SWIG_arg_fail(3)) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= SWIG_From_int((result
));
11668 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
= NULL
;
11672 PyObject
* obj0
= 0 ;
11673 char *kwnames
[] = {
11674 (char *) "pid", NULL
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11679 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11680 if (SWIG_arg_fail(1)) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (bool)wxPyProcess::Exists(arg1
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11698 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
= NULL
;
11700 wxString
*arg1
= 0 ;
11701 int arg2
= (int) wxEXEC_ASYNC
;
11702 wxPyProcess
*result
;
11703 bool temp1
= false ;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 char *kwnames
[] = {
11707 (char *) "cmd",(char *) "flags", NULL
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11712 arg1
= wxString_in_helper(obj0
);
11713 if (arg1
== NULL
) SWIG_fail
;
11718 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11719 if (SWIG_arg_fail(2)) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11744 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
= NULL
;
11746 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11747 int arg2
= (int) -1 ;
11748 wxPyProcess
*result
;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "parent",(char *) "id", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail
;
11762 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11763 if (SWIG_arg_fail(2)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11780 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
= NULL
;
11782 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11783 PyObject
*arg2
= (PyObject
*) 0 ;
11784 PyObject
*arg3
= (PyObject
*) 0 ;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 PyObject
* obj2
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self",(char *) "self",(char *) "_class", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11794 if (SWIG_arg_fail(1)) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11804 Py_INCREF(Py_None
); resultobj
= Py_None
;
11811 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
= NULL
;
11813 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11816 PyObject
* obj0
= 0 ;
11817 PyObject
* obj1
= 0 ;
11818 PyObject
* obj2
= 0 ;
11819 char *kwnames
[] = {
11820 (char *) "self",(char *) "pid",(char *) "status", NULL
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11825 if (SWIG_arg_fail(1)) SWIG_fail
;
11827 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11828 if (SWIG_arg_fail(2)) SWIG_fail
;
11831 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11832 if (SWIG_arg_fail(3)) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 (arg1
)->base_OnTerminate(arg2
,arg3
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 Py_INCREF(Py_None
); resultobj
= Py_None
;
11848 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
= NULL
;
11850 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11858 if (SWIG_arg_fail(1)) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 (arg1
)->Redirect();
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 Py_INCREF(Py_None
); resultobj
= Py_None
;
11873 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
= NULL
;
11875 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11884 if (SWIG_arg_fail(1)) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= (bool)(arg1
)->IsRedirected();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11901 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
= NULL
;
11903 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11911 if (SWIG_arg_fail(1)) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 Py_INCREF(Py_None
); resultobj
= Py_None
;
11926 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
= NULL
;
11928 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11929 wxInputStream
*result
;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11937 if (SWIG_arg_fail(1)) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 wxPyInputStream
* _ptr
= NULL
;
11949 _ptr
= new wxPyInputStream(result
);
11951 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11959 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
= NULL
;
11961 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11962 wxInputStream
*result
;
11963 PyObject
* obj0
= 0 ;
11964 char *kwnames
[] = {
11965 (char *) "self", NULL
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11970 if (SWIG_arg_fail(1)) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 wxPyInputStream
* _ptr
= NULL
;
11982 _ptr
= new wxPyInputStream(result
);
11984 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11992 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
= NULL
;
11994 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11995 wxOutputStream
*result
;
11996 PyObject
* obj0
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12003 if (SWIG_arg_fail(1)) SWIG_fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12018 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
= NULL
;
12020 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12028 if (SWIG_arg_fail(1)) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 (arg1
)->CloseOutput();
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 Py_INCREF(Py_None
); resultobj
= Py_None
;
12043 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= NULL
;
12045 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12047 PyObject
* obj0
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12071 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
= NULL
;
12073 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12099 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
= NULL
;
12101 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12127 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12130 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12132 return Py_BuildValue((char *)"");
12134 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= NULL
;
12136 int arg1
= (int) 0 ;
12137 int arg2
= (int) 0 ;
12138 int arg3
= (int) 0 ;
12139 wxProcessEvent
*result
;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 PyObject
* obj2
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12150 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12151 if (SWIG_arg_fail(1)) SWIG_fail
;
12156 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12157 if (SWIG_arg_fail(2)) SWIG_fail
;
12162 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12163 if (SWIG_arg_fail(3)) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12180 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
= NULL
;
12182 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12191 if (SWIG_arg_fail(1)) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (int)(arg1
)->GetPid();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= SWIG_From_int(static_cast<int >(result
));
12208 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
= NULL
;
12210 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12219 if (SWIG_arg_fail(1)) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= (int)(arg1
)->GetExitCode();
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_From_int(static_cast<int >(result
));
12236 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
= NULL
;
12238 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 PyObject
* obj1
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self",(char *) "m_pid", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12248 if (SWIG_arg_fail(1)) SWIG_fail
;
12250 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12251 if (SWIG_arg_fail(2)) SWIG_fail
;
12253 if (arg1
) (arg1
)->m_pid
= arg2
;
12255 Py_INCREF(Py_None
); resultobj
= Py_None
;
12262 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= NULL
;
12264 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12273 if (SWIG_arg_fail(1)) SWIG_fail
;
12274 result
= (int) ((arg1
)->m_pid
);
12277 resultobj
= SWIG_From_int(static_cast<int >(result
));
12285 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
= NULL
;
12287 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12289 PyObject
* obj0
= 0 ;
12290 PyObject
* obj1
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self",(char *) "m_exitcode", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12297 if (SWIG_arg_fail(1)) SWIG_fail
;
12299 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12300 if (SWIG_arg_fail(2)) SWIG_fail
;
12302 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12304 Py_INCREF(Py_None
); resultobj
= Py_None
;
12311 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
= NULL
;
12313 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail
;
12323 result
= (int) ((arg1
)->m_exitcode
);
12326 resultobj
= SWIG_From_int(static_cast<int >(result
));
12334 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12337 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12339 return Py_BuildValue((char *)"");
12341 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
= NULL
;
12343 wxString
*arg1
= 0 ;
12344 int arg2
= (int) wxEXEC_ASYNC
;
12345 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12347 bool temp1
= false ;
12348 PyObject
* obj0
= 0 ;
12349 PyObject
* obj1
= 0 ;
12350 PyObject
* obj2
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "command",(char *) "flags",(char *) "process", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12357 arg1
= wxString_in_helper(obj0
);
12358 if (arg1
== NULL
) SWIG_fail
;
12363 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12364 if (SWIG_arg_fail(2)) SWIG_fail
;
12368 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12369 if (SWIG_arg_fail(3)) SWIG_fail
;
12372 if (!wxPyCheckForApp()) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_From_long(static_cast<long >(result
));
12396 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
= NULL
;
12399 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12400 wxKillError
*arg3
= (wxKillError
*) 0 ;
12401 int arg4
= (int) wxKILL_NOCHILDREN
;
12403 wxKillError temp3
;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 char *kwnames
[] = {
12408 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12416 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12417 if (SWIG_arg_fail(1)) SWIG_fail
;
12421 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12422 if (SWIG_arg_fail(2)) SWIG_fail
;
12427 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12428 if (SWIG_arg_fail(4)) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= SWIG_From_int(static_cast<int >(result
));
12443 o
= PyInt_FromLong((long) (*arg3
));
12444 resultobj
= t_output_helper(resultobj
, o
);
12452 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
= NULL
;
12454 int arg1
= (int) wxJOYSTICK1
;
12455 wxJoystick
*result
;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "joystick", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12464 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12465 if (SWIG_arg_fail(1)) SWIG_fail
;
12469 if (!wxPyCheckForApp()) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (wxJoystick
*)new wxJoystick(arg1
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12483 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
= NULL
;
12485 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 Py_INCREF(Py_None
); resultobj
= Py_None
;
12508 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
= NULL
;
12510 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
12518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12519 if (SWIG_arg_fail(1)) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (arg1
)->GetPosition();
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12528 wxPoint
* resultptr
;
12529 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12538 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
= NULL
;
12540 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12549 if (SWIG_arg_fail(1)) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (int)(arg1
)->GetZPosition();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= SWIG_From_int(static_cast<int >(result
));
12566 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= NULL
;
12568 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12570 PyObject
* obj0
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
12576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12577 if (SWIG_arg_fail(1)) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (int)(arg1
)->GetButtonState();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_From_int(static_cast<int >(result
));
12594 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
= NULL
;
12596 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
12604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12605 if (SWIG_arg_fail(1)) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (int)(arg1
)->GetPOVPosition();
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= SWIG_From_int(static_cast<int >(result
));
12622 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
= NULL
;
12624 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
12632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12633 if (SWIG_arg_fail(1)) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 result
= (int)(arg1
)->GetPOVCTSPosition();
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= SWIG_From_int(static_cast<int >(result
));
12650 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
= NULL
;
12652 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
12660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12661 if (SWIG_arg_fail(1)) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (int)(arg1
)->GetRudderPosition();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= SWIG_From_int(static_cast<int >(result
));
12678 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
= NULL
;
12680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12682 PyObject
* obj0
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
12688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12689 if (SWIG_arg_fail(1)) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 result
= (int)(arg1
)->GetUPosition();
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12698 resultobj
= SWIG_From_int(static_cast<int >(result
));
12706 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
= NULL
;
12708 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12717 if (SWIG_arg_fail(1)) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (int)(arg1
)->GetVPosition();
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= SWIG_From_int(static_cast<int >(result
));
12734 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
= NULL
;
12736 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12745 if (SWIG_arg_fail(1)) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (int)(arg1
)->GetMovementThreshold();
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= SWIG_From_int(static_cast<int >(result
));
12762 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
= NULL
;
12764 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self",(char *) "threshold", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail
;
12776 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12777 if (SWIG_arg_fail(2)) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 (arg1
)->SetMovementThreshold(arg2
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 Py_INCREF(Py_None
); resultobj
= Py_None
;
12793 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
= NULL
;
12795 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12797 PyObject
* obj0
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "self", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12804 if (SWIG_arg_fail(1)) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (bool)(arg1
)->IsOk();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12821 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
= NULL
;
12823 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12825 PyObject
* obj0
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12832 if (SWIG_arg_fail(1)) SWIG_fail
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 result
= (int)(arg1
)->GetNumberJoysticks();
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= SWIG_From_int(static_cast<int >(result
));
12849 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
= NULL
;
12851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12853 PyObject
* obj0
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "self", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12860 if (SWIG_arg_fail(1)) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (int)(arg1
)->GetManufacturerId();
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12869 resultobj
= SWIG_From_int(static_cast<int >(result
));
12877 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
= NULL
;
12879 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "self", NULL
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12888 if (SWIG_arg_fail(1)) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (int)(arg1
)->GetProductId();
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= SWIG_From_int(static_cast<int >(result
));
12905 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
= NULL
;
12907 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12916 if (SWIG_arg_fail(1)) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (arg1
)->GetProductName();
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12937 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
= NULL
;
12939 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12948 if (SWIG_arg_fail(1)) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (int)(arg1
)->GetXMin();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_From_int(static_cast<int >(result
));
12965 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
= NULL
;
12967 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (int)(arg1
)->GetYMin();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= SWIG_From_int(static_cast<int >(result
));
12993 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= NULL
;
12995 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
13003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13004 if (SWIG_arg_fail(1)) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (int)(arg1
)->GetZMin();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_From_int(static_cast<int >(result
));
13021 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
= NULL
;
13023 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13025 PyObject
* obj0
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
13031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13032 if (SWIG_arg_fail(1)) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (int)(arg1
)->GetXMax();
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= SWIG_From_int(static_cast<int >(result
));
13049 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
= NULL
;
13051 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13053 PyObject
* obj0
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
13059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13060 if (SWIG_arg_fail(1)) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= (int)(arg1
)->GetYMax();
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_From_int(static_cast<int >(result
));
13077 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
= NULL
;
13079 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
13087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13088 if (SWIG_arg_fail(1)) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (int)(arg1
)->GetZMax();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_From_int(static_cast<int >(result
));
13105 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
= NULL
;
13107 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
13115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13116 if (SWIG_arg_fail(1)) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 result
= (int)(arg1
)->GetNumberButtons();
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= SWIG_From_int(static_cast<int >(result
));
13133 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
= NULL
;
13135 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13137 PyObject
* obj0
= 0 ;
13138 char *kwnames
[] = {
13139 (char *) "self", NULL
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
13143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13144 if (SWIG_arg_fail(1)) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (int)(arg1
)->GetNumberAxes();
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_From_int(static_cast<int >(result
));
13161 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
= NULL
;
13163 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
13171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13172 if (SWIG_arg_fail(1)) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (int)(arg1
)->GetMaxButtons();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= SWIG_From_int(static_cast<int >(result
));
13189 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= NULL
;
13191 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
13199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13200 if (SWIG_arg_fail(1)) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (int)(arg1
)->GetMaxAxes();
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_From_int(static_cast<int >(result
));
13217 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
= NULL
;
13219 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
13227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13228 if (SWIG_arg_fail(1)) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (int)(arg1
)->GetPollingMin();
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= SWIG_From_int(static_cast<int >(result
));
13245 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
= NULL
;
13247 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13249 PyObject
* obj0
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
13255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13256 if (SWIG_arg_fail(1)) SWIG_fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (int)(arg1
)->GetPollingMax();
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= SWIG_From_int(static_cast<int >(result
));
13273 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
= NULL
;
13275 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13277 PyObject
* obj0
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
13283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13284 if (SWIG_arg_fail(1)) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (int)(arg1
)->GetRudderMin();
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_From_int(static_cast<int >(result
));
13301 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
= NULL
;
13303 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
13311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13312 if (SWIG_arg_fail(1)) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (int)(arg1
)->GetRudderMax();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_From_int(static_cast<int >(result
));
13329 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
= NULL
;
13331 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
13339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13340 if (SWIG_arg_fail(1)) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (int)(arg1
)->GetUMin();
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= SWIG_From_int(static_cast<int >(result
));
13357 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
= NULL
;
13359 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
13367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13368 if (SWIG_arg_fail(1)) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (int)(arg1
)->GetUMax();
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_From_int(static_cast<int >(result
));
13385 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
= NULL
;
13387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
13395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13396 if (SWIG_arg_fail(1)) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (int)(arg1
)->GetVMin();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_From_int(static_cast<int >(result
));
13413 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
= NULL
;
13415 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
13423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13424 if (SWIG_arg_fail(1)) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (int)(arg1
)->GetVMax();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_From_int(static_cast<int >(result
));
13441 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
= NULL
;
13443 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
13451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13452 if (SWIG_arg_fail(1)) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (bool)(arg1
)->HasRudder();
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13469 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
= NULL
;
13471 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13473 PyObject
* obj0
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
13479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13480 if (SWIG_arg_fail(1)) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (bool)(arg1
)->HasZ();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13497 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
= NULL
;
13499 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
13507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (bool)(arg1
)->HasU();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13525 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
= NULL
;
13527 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
13535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13536 if (SWIG_arg_fail(1)) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (bool)(arg1
)->HasV();
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13553 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
= NULL
;
13555 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
13563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13564 if (SWIG_arg_fail(1)) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (bool)(arg1
)->HasPOV();
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13581 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
= NULL
;
13583 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13585 PyObject
* obj0
= 0 ;
13586 char *kwnames
[] = {
13587 (char *) "self", NULL
13590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
13591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13592 if (SWIG_arg_fail(1)) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (bool)(arg1
)->HasPOV4Dir();
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13609 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
= NULL
;
13611 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13613 PyObject
* obj0
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
13619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13620 if (SWIG_arg_fail(1)) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (bool)(arg1
)->HasPOVCTS();
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13637 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
= NULL
;
13639 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13640 wxWindow
*arg2
= (wxWindow
*) 0 ;
13641 int arg3
= (int) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 PyObject
* obj2
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13652 if (SWIG_arg_fail(1)) SWIG_fail
;
13653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13654 if (SWIG_arg_fail(2)) SWIG_fail
;
13657 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13658 if (SWIG_arg_fail(3)) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
= NULL
;
13679 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13688 if (SWIG_arg_fail(1)) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (bool)(arg1
)->ReleaseCapture();
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13705 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13708 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13710 return Py_BuildValue((char *)"");
13712 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
= NULL
;
13714 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13715 int arg2
= (int) 0 ;
13716 int arg3
= (int) wxJOYSTICK1
;
13717 int arg4
= (int) 0 ;
13718 wxJoystickEvent
*result
;
13719 PyObject
* obj0
= 0 ;
13720 PyObject
* obj1
= 0 ;
13721 PyObject
* obj2
= 0 ;
13722 PyObject
* obj3
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13730 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13731 if (SWIG_arg_fail(1)) SWIG_fail
;
13736 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13737 if (SWIG_arg_fail(2)) SWIG_fail
;
13742 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13743 if (SWIG_arg_fail(3)) SWIG_fail
;
13748 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13749 if (SWIG_arg_fail(4)) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13766 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
= NULL
;
13768 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 char *kwnames
[] = {
13772 (char *) "self", NULL
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13777 if (SWIG_arg_fail(1)) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13786 wxPoint
* resultptr
;
13787 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13796 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
= NULL
;
13798 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13800 PyObject
* obj0
= 0 ;
13801 char *kwnames
[] = {
13802 (char *) "self", NULL
13805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13807 if (SWIG_arg_fail(1)) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_From_int(static_cast<int >(result
));
13824 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
= NULL
;
13826 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13835 if (SWIG_arg_fail(1)) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13844 resultobj
= SWIG_From_int(static_cast<int >(result
));
13852 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
= NULL
;
13854 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13856 PyObject
* obj0
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13863 if (SWIG_arg_fail(1)) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= SWIG_From_int(static_cast<int >(result
));
13880 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
= NULL
;
13882 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_From_int(static_cast<int >(result
));
13908 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
= NULL
;
13910 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 char *kwnames
[] = {
13915 (char *) "self",(char *) "stick", NULL
13918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13920 if (SWIG_arg_fail(1)) SWIG_fail
;
13922 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13923 if (SWIG_arg_fail(2)) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 (arg1
)->SetJoystick(arg2
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 Py_INCREF(Py_None
); resultobj
= Py_None
;
13939 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
= NULL
;
13941 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 PyObject
* obj1
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self",(char *) "state", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13951 if (SWIG_arg_fail(1)) SWIG_fail
;
13953 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13954 if (SWIG_arg_fail(2)) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 (arg1
)->SetButtonState(arg2
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 Py_INCREF(Py_None
); resultobj
= Py_None
;
13970 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
= NULL
;
13972 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 PyObject
* obj1
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "self",(char *) "change", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13982 if (SWIG_arg_fail(1)) SWIG_fail
;
13984 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13985 if (SWIG_arg_fail(2)) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 (arg1
)->SetButtonChange(arg2
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 Py_INCREF(Py_None
); resultobj
= Py_None
;
14001 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
= NULL
;
14003 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14004 wxPoint
*arg2
= 0 ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self",(char *) "pos", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14014 if (SWIG_arg_fail(1)) SWIG_fail
;
14017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 Py_INCREF(Py_None
); resultobj
= Py_None
;
14033 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
= NULL
;
14035 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 PyObject
* obj1
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "self",(char *) "zPos", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14045 if (SWIG_arg_fail(1)) SWIG_fail
;
14047 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14048 if (SWIG_arg_fail(2)) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 (arg1
)->SetZPosition(arg2
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 Py_INCREF(Py_None
); resultobj
= Py_None
;
14064 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
= NULL
;
14066 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14068 PyObject
* obj0
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14092 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
= NULL
;
14094 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14096 PyObject
* obj0
= 0 ;
14097 char *kwnames
[] = {
14098 (char *) "self", NULL
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
14102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14103 if (SWIG_arg_fail(1)) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14120 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
= NULL
;
14122 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
14130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14131 if (SWIG_arg_fail(1)) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14148 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
= NULL
;
14150 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14151 int arg2
= (int) wxJOY_BUTTON_ANY
;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self",(char *) "but", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14161 if (SWIG_arg_fail(1)) SWIG_fail
;
14164 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14165 if (SWIG_arg_fail(2)) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14184 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
= NULL
;
14186 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14187 int arg2
= (int) wxJOY_BUTTON_ANY
;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self",(char *) "but", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14197 if (SWIG_arg_fail(1)) SWIG_fail
;
14200 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14201 if (SWIG_arg_fail(2)) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14220 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
= NULL
;
14222 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14223 int arg2
= (int) wxJOY_BUTTON_ANY
;
14225 PyObject
* obj0
= 0 ;
14226 PyObject
* obj1
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self",(char *) "but", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14233 if (SWIG_arg_fail(1)) SWIG_fail
;
14236 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14237 if (SWIG_arg_fail(2)) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14256 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14259 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14261 return Py_BuildValue((char *)"");
14263 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
= NULL
;
14265 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14266 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14268 bool temp1
= false ;
14269 PyObject
* obj0
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "fileName", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14277 arg1
= wxString_in_helper(obj0
);
14278 if (arg1
== NULL
) SWIG_fail
;
14283 if (!wxPyCheckForApp()) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14305 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
= NULL
;
14307 PyObject
*arg1
= (PyObject
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "data", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14317 if (!wxPyCheckForApp()) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (wxSound
*)new_wxSound(arg1
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14331 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
= NULL
;
14333 wxSound
*arg1
= (wxSound
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "self", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14341 if (SWIG_arg_fail(1)) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 Py_INCREF(Py_None
); resultobj
= Py_None
;
14356 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
= NULL
;
14358 wxSound
*arg1
= (wxSound
*) 0 ;
14359 wxString
*arg2
= 0 ;
14361 bool temp2
= false ;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self",(char *) "fileName", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14370 if (SWIG_arg_fail(1)) SWIG_fail
;
14372 arg2
= wxString_in_helper(obj1
);
14373 if (arg2
== NULL
) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14400 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
= NULL
;
14402 wxSound
*arg1
= (wxSound
*) 0 ;
14403 PyObject
*arg2
= (PyObject
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self",(char *) "data", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14413 if (SWIG_arg_fail(1)) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14431 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
= NULL
;
14433 wxSound
*arg1
= (wxSound
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14442 if (SWIG_arg_fail(1)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (bool)(arg1
)->IsOk();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14459 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
= NULL
;
14461 wxSound
*arg1
= (wxSound
*) 0 ;
14462 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self",(char *) "flags", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14472 if (SWIG_arg_fail(1)) SWIG_fail
;
14475 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14476 if (SWIG_arg_fail(2)) SWIG_fail
;
14480 if (!wxPyCheckForApp()) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14496 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
= NULL
;
14498 wxString
*arg1
= 0 ;
14499 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14501 bool temp1
= false ;
14502 PyObject
* obj0
= 0 ;
14503 PyObject
* obj1
= 0 ;
14504 char *kwnames
[] = {
14505 (char *) "filename",(char *) "flags", NULL
14508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14510 arg1
= wxString_in_helper(obj0
);
14511 if (arg1
== NULL
) SWIG_fail
;
14516 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14517 if (SWIG_arg_fail(2)) SWIG_fail
;
14521 if (!wxPyCheckForApp()) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14545 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
= NULL
;
14547 char *kwnames
[] = {
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14553 if (!wxPyCheckForApp()) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 Py_INCREF(Py_None
); resultobj
= Py_None
;
14567 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14570 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14572 return Py_BuildValue((char *)"");
14574 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
= NULL
;
14576 wxString
*arg1
= 0 ;
14577 wxString
*arg2
= 0 ;
14578 wxString
*arg3
= 0 ;
14579 wxString
*arg4
= 0 ;
14580 wxFileTypeInfo
*result
;
14581 bool temp1
= false ;
14582 bool temp2
= false ;
14583 bool temp3
= false ;
14584 bool temp4
= false ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 PyObject
* obj2
= 0 ;
14588 PyObject
* obj3
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14595 arg1
= wxString_in_helper(obj0
);
14596 if (arg1
== NULL
) SWIG_fail
;
14600 arg2
= wxString_in_helper(obj1
);
14601 if (arg2
== NULL
) SWIG_fail
;
14605 arg3
= wxString_in_helper(obj2
);
14606 if (arg3
== NULL
) SWIG_fail
;
14610 arg4
= wxString_in_helper(obj3
);
14611 if (arg4
== NULL
) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14660 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
= NULL
;
14662 wxArrayString
*arg1
= 0 ;
14663 wxFileTypeInfo
*result
;
14664 bool temp1
= false ;
14665 PyObject
* obj0
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "sArray", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14672 if (! PySequence_Check(obj0
)) {
14673 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14676 arg1
= new wxArrayString
;
14678 int i
, len
=PySequence_Length(obj0
);
14679 for (i
=0; i
<len
; i
++) {
14680 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14681 wxString
* s
= wxString_in_helper(item
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14697 if (temp1
) delete arg1
;
14702 if (temp1
) delete arg1
;
14708 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
= NULL
;
14710 wxFileTypeInfo
*result
;
14711 char *kwnames
[] = {
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14730 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
= NULL
;
14732 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14741 if (SWIG_arg_fail(1)) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14758 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
= NULL
;
14760 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14761 wxString
*arg2
= 0 ;
14762 int arg3
= (int) 0 ;
14763 bool temp2
= false ;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 PyObject
* obj2
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14773 if (SWIG_arg_fail(1)) SWIG_fail
;
14775 arg2
= wxString_in_helper(obj1
);
14776 if (arg2
== NULL
) SWIG_fail
;
14781 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14782 if (SWIG_arg_fail(3)) SWIG_fail
;
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 Py_INCREF(Py_None
); resultobj
= Py_None
;
14807 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
= NULL
;
14809 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14810 wxString
*arg2
= 0 ;
14811 bool temp2
= false ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "shortDesc", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14820 if (SWIG_arg_fail(1)) SWIG_fail
;
14822 arg2
= wxString_in_helper(obj1
);
14823 if (arg2
== NULL
) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 Py_INCREF(Py_None
); resultobj
= Py_None
;
14848 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
= NULL
;
14850 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14859 if (SWIG_arg_fail(1)) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14864 result
= (wxString
*) &_result_ref
;
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14874 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14883 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
= NULL
;
14885 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14887 PyObject
* obj0
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "self", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14894 if (SWIG_arg_fail(1)) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14899 result
= (wxString
*) &_result_ref
;
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14909 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14918 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
= NULL
;
14920 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14929 if (SWIG_arg_fail(1)) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14934 result
= (wxString
*) &_result_ref
;
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14944 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14953 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
= NULL
;
14955 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14964 if (SWIG_arg_fail(1)) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14969 result
= (wxString
*) &_result_ref
;
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14979 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14988 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
= NULL
;
14990 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14999 if (SWIG_arg_fail(1)) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15004 result
= (wxString
*) &_result_ref
;
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15014 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15023 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
= NULL
;
15025 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15026 wxArrayString
*result
;
15027 PyObject
* obj0
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15039 result
= (wxArrayString
*) &_result_ref
;
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 resultobj
= wxArrayString2PyList_helper(*result
);
15054 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
= NULL
;
15056 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15065 if (SWIG_arg_fail(1)) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= SWIG_From_int(static_cast<int >(result
));
15082 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
= NULL
;
15084 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15086 PyObject
* obj0
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
15092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15093 if (SWIG_arg_fail(1)) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15098 result
= (wxString
*) &_result_ref
;
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15108 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15117 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
= NULL
;
15119 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15128 if (SWIG_arg_fail(1)) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_From_int(static_cast<int >(result
));
15145 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15148 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15150 return Py_BuildValue((char *)"");
15152 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
= NULL
;
15154 wxFileTypeInfo
*arg1
= 0 ;
15155 wxFileType
*result
;
15156 PyObject
* obj0
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "ftInfo", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15164 if (SWIG_arg_fail(1)) SWIG_fail
;
15165 if (arg1
== NULL
) {
15166 SWIG_null_ref("wxFileTypeInfo");
15168 if (SWIG_arg_fail(1)) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15184 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
= NULL
;
15186 wxFileType
*arg1
= (wxFileType
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15194 if (SWIG_arg_fail(1)) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 Py_INCREF(Py_None
); resultobj
= Py_None
;
15209 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
= NULL
;
15211 wxFileType
*arg1
= (wxFileType
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= result
;
15235 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
= NULL
;
15237 wxFileType
*arg1
= (wxFileType
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15246 if (SWIG_arg_fail(1)) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= result
;
15261 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
= NULL
;
15263 wxFileType
*arg1
= (wxFileType
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15272 if (SWIG_arg_fail(1)) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= result
;
15287 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
= NULL
;
15289 wxFileType
*arg1
= (wxFileType
*) 0 ;
15291 PyObject
* obj0
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15298 if (SWIG_arg_fail(1)) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15313 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
= NULL
;
15315 wxFileType
*arg1
= (wxFileType
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= result
;
15339 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
= NULL
;
15341 wxFileType
*arg1
= (wxFileType
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15350 if (SWIG_arg_fail(1)) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= result
;
15365 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
= NULL
;
15367 wxFileType
*arg1
= (wxFileType
*) 0 ;
15368 wxString
*arg2
= 0 ;
15369 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15370 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15372 bool temp2
= false ;
15373 bool temp3
= false ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 PyObject
* obj2
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15383 if (SWIG_arg_fail(1)) SWIG_fail
;
15385 arg2
= wxString_in_helper(obj1
);
15386 if (arg2
== NULL
) SWIG_fail
;
15391 arg3
= wxString_in_helper(obj2
);
15392 if (arg3
== NULL
) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= result
;
15426 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
= NULL
;
15428 wxFileType
*arg1
= (wxFileType
*) 0 ;
15429 wxString
*arg2
= 0 ;
15430 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15431 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15433 bool temp2
= false ;
15434 bool temp3
= false ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 PyObject
* obj2
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15444 if (SWIG_arg_fail(1)) SWIG_fail
;
15446 arg2
= wxString_in_helper(obj1
);
15447 if (arg2
== NULL
) SWIG_fail
;
15452 arg3
= wxString_in_helper(obj2
);
15453 if (arg3
== NULL
) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= result
;
15487 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
= NULL
;
15489 wxFileType
*arg1
= (wxFileType
*) 0 ;
15490 wxString
*arg2
= 0 ;
15491 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15492 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15494 bool temp2
= false ;
15495 bool temp3
= false ;
15496 PyObject
* obj0
= 0 ;
15497 PyObject
* obj1
= 0 ;
15498 PyObject
* obj2
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail
;
15507 arg2
= wxString_in_helper(obj1
);
15508 if (arg2
== NULL
) SWIG_fail
;
15513 arg3
= wxString_in_helper(obj2
);
15514 if (arg3
== NULL
) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 resultobj
= result
;
15548 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
= NULL
;
15550 wxFileType
*arg1
= (wxFileType
*) 0 ;
15551 wxString
*arg2
= 0 ;
15552 wxString
*arg3
= 0 ;
15553 bool arg4
= (bool) true ;
15555 bool temp2
= false ;
15556 bool temp3
= false ;
15557 PyObject
* obj0
= 0 ;
15558 PyObject
* obj1
= 0 ;
15559 PyObject
* obj2
= 0 ;
15560 PyObject
* obj3
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15567 if (SWIG_arg_fail(1)) SWIG_fail
;
15569 arg2
= wxString_in_helper(obj1
);
15570 if (arg2
== NULL
) SWIG_fail
;
15574 arg3
= wxString_in_helper(obj2
);
15575 if (arg3
== NULL
) SWIG_fail
;
15580 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15581 if (SWIG_arg_fail(4)) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15616 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
= NULL
;
15618 wxFileType
*arg1
= (wxFileType
*) 0 ;
15619 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15620 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15621 int arg3
= (int) 0 ;
15623 bool temp2
= false ;
15624 PyObject
* obj0
= 0 ;
15625 PyObject
* obj1
= 0 ;
15626 PyObject
* obj2
= 0 ;
15627 char *kwnames
[] = {
15628 (char *) "self",(char *) "cmd",(char *) "index", NULL
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15633 if (SWIG_arg_fail(1)) SWIG_fail
;
15636 arg2
= wxString_in_helper(obj1
);
15637 if (arg2
== NULL
) SWIG_fail
;
15643 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15644 if (SWIG_arg_fail(3)) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15671 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
= NULL
;
15673 wxFileType
*arg1
= (wxFileType
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15682 if (SWIG_arg_fail(1)) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (bool)(arg1
)->Unassociate();
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15699 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
= NULL
;
15701 wxString
*arg1
= 0 ;
15702 wxString
*arg2
= 0 ;
15703 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15704 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15706 bool temp1
= false ;
15707 bool temp2
= false ;
15708 bool temp3
= false ;
15709 PyObject
* obj0
= 0 ;
15710 PyObject
* obj1
= 0 ;
15711 PyObject
* obj2
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15718 arg1
= wxString_in_helper(obj0
);
15719 if (arg1
== NULL
) SWIG_fail
;
15723 arg2
= wxString_in_helper(obj1
);
15724 if (arg2
== NULL
) SWIG_fail
;
15729 arg3
= wxString_in_helper(obj2
);
15730 if (arg3
== NULL
) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15778 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15781 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15783 return Py_BuildValue((char *)"");
15785 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15786 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15791 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15792 PyObject
*pyobj
= NULL
;
15794 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15799 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
= NULL
;
15801 wxString
*arg1
= 0 ;
15802 wxString
*arg2
= 0 ;
15804 bool temp1
= false ;
15805 bool temp2
= false ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "mimeType",(char *) "wildcard", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15814 arg1
= wxString_in_helper(obj0
);
15815 if (arg1
== NULL
) SWIG_fail
;
15819 arg2
= wxString_in_helper(obj1
);
15820 if (arg2
== NULL
) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15855 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
= NULL
;
15857 wxMimeTypesManager
*result
;
15858 char *kwnames
[] = {
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15877 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= NULL
;
15879 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15880 int arg2
= (int) wxMAILCAP_ALL
;
15881 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15882 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15883 bool temp3
= false ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 PyObject
* obj2
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15893 if (SWIG_arg_fail(1)) SWIG_fail
;
15896 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15897 if (SWIG_arg_fail(2)) SWIG_fail
;
15902 arg3
= wxString_in_helper(obj2
);
15903 if (arg3
== NULL
) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 Py_INCREF(Py_None
); resultobj
= Py_None
;
15929 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
= NULL
;
15931 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15939 if (SWIG_arg_fail(1)) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 (arg1
)->ClearData();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 Py_INCREF(Py_None
); resultobj
= Py_None
;
15954 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
= NULL
;
15956 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15957 wxString
*arg2
= 0 ;
15958 wxFileType
*result
;
15959 bool temp2
= false ;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self",(char *) "ext", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15968 if (SWIG_arg_fail(1)) SWIG_fail
;
15970 arg2
= wxString_in_helper(obj1
);
15971 if (arg2
== NULL
) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15996 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
= NULL
;
15998 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15999 wxString
*arg2
= 0 ;
16000 wxFileType
*result
;
16001 bool temp2
= false ;
16002 PyObject
* obj0
= 0 ;
16003 PyObject
* obj1
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self",(char *) "mimeType", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16010 if (SWIG_arg_fail(1)) SWIG_fail
;
16012 arg2
= wxString_in_helper(obj1
);
16013 if (arg2
== NULL
) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16038 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
= NULL
;
16040 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16041 wxString
*arg2
= 0 ;
16042 bool arg3
= (bool) false ;
16044 bool temp2
= false ;
16045 PyObject
* obj0
= 0 ;
16046 PyObject
* obj1
= 0 ;
16047 PyObject
* obj2
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16054 if (SWIG_arg_fail(1)) SWIG_fail
;
16056 arg2
= wxString_in_helper(obj1
);
16057 if (arg2
== NULL
) SWIG_fail
;
16062 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16063 if (SWIG_arg_fail(3)) SWIG_fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16090 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
= NULL
;
16092 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16093 wxString
*arg2
= 0 ;
16095 bool temp2
= false ;
16096 PyObject
* obj0
= 0 ;
16097 PyObject
* obj1
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self",(char *) "filename", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) 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
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16134 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
= NULL
;
16136 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16145 if (SWIG_arg_fail(1)) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= result
;
16160 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
= NULL
;
16162 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16163 wxFileTypeInfo
*arg2
= 0 ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self",(char *) "ft", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16172 if (SWIG_arg_fail(1)) SWIG_fail
;
16174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16175 if (SWIG_arg_fail(2)) SWIG_fail
;
16176 if (arg2
== NULL
) {
16177 SWIG_null_ref("wxFileTypeInfo");
16179 if (SWIG_arg_fail(2)) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
= NULL
;
16197 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16198 wxFileTypeInfo
*arg2
= 0 ;
16199 wxFileType
*result
;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self",(char *) "ftInfo", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16208 if (SWIG_arg_fail(1)) SWIG_fail
;
16210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16211 if (SWIG_arg_fail(2)) SWIG_fail
;
16212 if (arg2
== NULL
) {
16213 SWIG_null_ref("wxFileTypeInfo");
16215 if (SWIG_arg_fail(2)) SWIG_fail
;
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16231 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
= NULL
;
16233 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16234 wxFileType
*arg2
= (wxFileType
*) 0 ;
16236 PyObject
* obj0
= 0 ;
16237 PyObject
* obj1
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self",(char *) "ft", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16244 if (SWIG_arg_fail(1)) SWIG_fail
;
16245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16246 if (SWIG_arg_fail(2)) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (bool)(arg1
)->Unassociate(arg2
);
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16263 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
= NULL
;
16265 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16266 PyObject
* obj0
= 0 ;
16267 char *kwnames
[] = {
16268 (char *) "self", NULL
16271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16273 if (SWIG_arg_fail(1)) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 Py_INCREF(Py_None
); resultobj
= Py_None
;
16288 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16291 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16293 return Py_BuildValue((char *)"");
16295 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16296 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16301 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16302 PyObject
*pyobj
= NULL
;
16306 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16308 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16315 static int _wrap_ART_MENU_set(PyObject
*) {
16316 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16321 static PyObject
*_wrap_ART_MENU_get(void) {
16322 PyObject
*pyobj
= NULL
;
16326 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16328 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16335 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16336 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16341 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16342 PyObject
*pyobj
= NULL
;
16346 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16348 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16355 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16356 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16361 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16362 PyObject
*pyobj
= NULL
;
16366 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16368 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16375 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16376 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16381 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16382 PyObject
*pyobj
= NULL
;
16386 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16388 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16395 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16396 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16401 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16402 PyObject
*pyobj
= NULL
;
16406 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16408 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16415 static int _wrap_ART_BUTTON_set(PyObject
*) {
16416 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16421 static PyObject
*_wrap_ART_BUTTON_get(void) {
16422 PyObject
*pyobj
= NULL
;
16426 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16428 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16435 static int _wrap_ART_OTHER_set(PyObject
*) {
16436 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16441 static PyObject
*_wrap_ART_OTHER_get(void) {
16442 PyObject
*pyobj
= NULL
;
16446 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16448 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16455 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16456 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16461 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16462 PyObject
*pyobj
= NULL
;
16466 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16468 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16475 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16476 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16481 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16482 PyObject
*pyobj
= NULL
;
16486 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16488 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16495 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16496 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16501 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16502 PyObject
*pyobj
= NULL
;
16506 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16508 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16515 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16516 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16521 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16522 PyObject
*pyobj
= NULL
;
16526 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16528 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16535 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16536 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16541 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16542 PyObject
*pyobj
= NULL
;
16546 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16548 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16555 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16556 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16561 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16562 PyObject
*pyobj
= NULL
;
16566 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16568 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16575 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16576 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16581 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16582 PyObject
*pyobj
= NULL
;
16586 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16588 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16595 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16596 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16601 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16602 PyObject
*pyobj
= NULL
;
16606 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16608 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16615 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16616 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16621 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16622 PyObject
*pyobj
= NULL
;
16626 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16628 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16635 static int _wrap_ART_GO_UP_set(PyObject
*) {
16636 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16641 static PyObject
*_wrap_ART_GO_UP_get(void) {
16642 PyObject
*pyobj
= NULL
;
16646 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16648 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16655 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16656 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16661 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16662 PyObject
*pyobj
= NULL
;
16666 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16668 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16675 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16676 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16681 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16682 PyObject
*pyobj
= NULL
;
16686 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16688 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16695 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16696 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16701 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16702 PyObject
*pyobj
= NULL
;
16706 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16708 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16715 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16716 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16721 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16722 PyObject
*pyobj
= NULL
;
16726 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16728 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16735 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16736 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16741 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16742 PyObject
*pyobj
= NULL
;
16746 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16748 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16755 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16756 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16761 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16762 PyObject
*pyobj
= NULL
;
16766 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16768 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16775 static int _wrap_ART_PRINT_set(PyObject
*) {
16776 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16781 static PyObject
*_wrap_ART_PRINT_get(void) {
16782 PyObject
*pyobj
= NULL
;
16786 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16788 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16795 static int _wrap_ART_HELP_set(PyObject
*) {
16796 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16801 static PyObject
*_wrap_ART_HELP_get(void) {
16802 PyObject
*pyobj
= NULL
;
16806 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16808 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16815 static int _wrap_ART_TIP_set(PyObject
*) {
16816 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16821 static PyObject
*_wrap_ART_TIP_get(void) {
16822 PyObject
*pyobj
= NULL
;
16826 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16828 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16835 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16836 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16841 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16842 PyObject
*pyobj
= NULL
;
16846 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16848 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16855 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16856 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16861 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16862 PyObject
*pyobj
= NULL
;
16866 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16868 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16875 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16876 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16881 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16882 PyObject
*pyobj
= NULL
;
16886 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16888 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16895 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16896 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16901 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16902 PyObject
*pyobj
= NULL
;
16906 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16908 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16915 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16916 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16921 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16922 PyObject
*pyobj
= NULL
;
16926 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16928 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16935 static int _wrap_ART_CDROM_set(PyObject
*) {
16936 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16941 static PyObject
*_wrap_ART_CDROM_get(void) {
16942 PyObject
*pyobj
= NULL
;
16946 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16948 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16955 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16956 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16961 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16962 PyObject
*pyobj
= NULL
;
16966 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16968 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16975 static int _wrap_ART_FOLDER_set(PyObject
*) {
16976 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16981 static PyObject
*_wrap_ART_FOLDER_get(void) {
16982 PyObject
*pyobj
= NULL
;
16986 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16988 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16995 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16996 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17001 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17002 PyObject
*pyobj
= NULL
;
17006 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17008 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17015 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17016 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17021 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17022 PyObject
*pyobj
= NULL
;
17026 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17028 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17035 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17036 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17041 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17042 PyObject
*pyobj
= NULL
;
17046 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17048 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17055 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17056 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17061 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17062 PyObject
*pyobj
= NULL
;
17066 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17068 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17075 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17076 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17081 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17082 PyObject
*pyobj
= NULL
;
17086 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17088 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17095 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17096 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17101 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17102 PyObject
*pyobj
= NULL
;
17106 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17108 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17115 static int _wrap_ART_ERROR_set(PyObject
*) {
17116 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17121 static PyObject
*_wrap_ART_ERROR_get(void) {
17122 PyObject
*pyobj
= NULL
;
17126 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17128 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17135 static int _wrap_ART_QUESTION_set(PyObject
*) {
17136 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17141 static PyObject
*_wrap_ART_QUESTION_get(void) {
17142 PyObject
*pyobj
= NULL
;
17146 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17148 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17155 static int _wrap_ART_WARNING_set(PyObject
*) {
17156 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17161 static PyObject
*_wrap_ART_WARNING_get(void) {
17162 PyObject
*pyobj
= NULL
;
17166 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17168 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17175 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17176 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17181 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17182 PyObject
*pyobj
= NULL
;
17186 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17188 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17195 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17196 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17201 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17202 PyObject
*pyobj
= NULL
;
17206 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17208 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17215 static int _wrap_ART_COPY_set(PyObject
*) {
17216 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17221 static PyObject
*_wrap_ART_COPY_get(void) {
17222 PyObject
*pyobj
= NULL
;
17226 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17228 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17235 static int _wrap_ART_CUT_set(PyObject
*) {
17236 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17241 static PyObject
*_wrap_ART_CUT_get(void) {
17242 PyObject
*pyobj
= NULL
;
17246 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17248 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17255 static int _wrap_ART_PASTE_set(PyObject
*) {
17256 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17261 static PyObject
*_wrap_ART_PASTE_get(void) {
17262 PyObject
*pyobj
= NULL
;
17266 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17268 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17275 static int _wrap_ART_DELETE_set(PyObject
*) {
17276 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17281 static PyObject
*_wrap_ART_DELETE_get(void) {
17282 PyObject
*pyobj
= NULL
;
17286 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17288 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17295 static int _wrap_ART_NEW_set(PyObject
*) {
17296 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17301 static PyObject
*_wrap_ART_NEW_get(void) {
17302 PyObject
*pyobj
= NULL
;
17306 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17308 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17315 static int _wrap_ART_UNDO_set(PyObject
*) {
17316 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17321 static PyObject
*_wrap_ART_UNDO_get(void) {
17322 PyObject
*pyobj
= NULL
;
17326 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17328 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17335 static int _wrap_ART_REDO_set(PyObject
*) {
17336 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17341 static PyObject
*_wrap_ART_REDO_get(void) {
17342 PyObject
*pyobj
= NULL
;
17346 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17348 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17355 static int _wrap_ART_QUIT_set(PyObject
*) {
17356 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17361 static PyObject
*_wrap_ART_QUIT_get(void) {
17362 PyObject
*pyobj
= NULL
;
17366 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17368 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17375 static int _wrap_ART_FIND_set(PyObject
*) {
17376 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17381 static PyObject
*_wrap_ART_FIND_get(void) {
17382 PyObject
*pyobj
= NULL
;
17386 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17388 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17395 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17396 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17401 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17402 PyObject
*pyobj
= NULL
;
17406 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17408 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17415 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
= NULL
;
17417 wxPyArtProvider
*result
;
17418 char *kwnames
[] = {
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17424 if (!wxPyCheckForApp()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17438 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
= NULL
;
17440 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17441 PyObject
*arg2
= (PyObject
*) 0 ;
17442 PyObject
*arg3
= (PyObject
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 PyObject
* obj1
= 0 ;
17445 PyObject
* obj2
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self",(char *) "self",(char *) "_class", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17452 if (SWIG_arg_fail(1)) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 Py_INCREF(Py_None
); resultobj
= Py_None
;
17469 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
= NULL
;
17471 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "provider", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17479 if (SWIG_arg_fail(1)) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 wxPyArtProvider::PushProvider(arg1
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 Py_INCREF(Py_None
); resultobj
= Py_None
;
17494 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
= NULL
;
17497 char *kwnames
[] = {
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (bool)wxPyArtProvider::PopProvider();
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17518 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
= NULL
;
17520 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17522 PyObject
* obj0
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "provider", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",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 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17546 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
= NULL
;
17548 wxString
*arg1
= 0 ;
17549 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17550 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17551 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17552 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17554 bool temp1
= false ;
17555 bool temp2
= false ;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 PyObject
* obj2
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "id",(char *) "client",(char *) "size", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17566 arg1
= wxString_in_helper(obj0
);
17567 if (arg1
== NULL
) SWIG_fail
;
17572 arg2
= wxString_in_helper(obj1
);
17573 if (arg2
== NULL
) SWIG_fail
;
17580 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17584 if (!wxPyCheckForApp()) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17592 wxBitmap
* resultptr
;
17593 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17618 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
= NULL
;
17620 wxString
*arg1
= 0 ;
17621 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17622 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17623 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17624 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17626 bool temp1
= false ;
17627 bool temp2
= false ;
17629 PyObject
* obj0
= 0 ;
17630 PyObject
* obj1
= 0 ;
17631 PyObject
* obj2
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "id",(char *) "client",(char *) "size", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17638 arg1
= wxString_in_helper(obj0
);
17639 if (arg1
== NULL
) SWIG_fail
;
17644 arg2
= wxString_in_helper(obj1
);
17645 if (arg2
== NULL
) SWIG_fail
;
17652 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17656 if (!wxPyCheckForApp()) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 wxIcon
* resultptr
;
17665 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17690 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
= NULL
;
17692 wxString
*arg1
= 0 ;
17693 bool arg2
= (bool) false ;
17695 bool temp1
= false ;
17696 PyObject
* obj0
= 0 ;
17697 PyObject
* obj1
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "client",(char *) "platform_dependent", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17704 arg1
= wxString_in_helper(obj0
);
17705 if (arg1
== NULL
) SWIG_fail
;
17710 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17711 if (SWIG_arg_fail(2)) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17722 wxSize
* resultptr
;
17723 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17740 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
= NULL
;
17742 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17743 PyObject
* obj0
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 wxPyArtProvider_Destroy(arg1
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 Py_INCREF(Py_None
); resultobj
= Py_None
;
17765 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17768 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17770 return Py_BuildValue((char *)"");
17772 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
= NULL
;
17774 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17782 if (SWIG_arg_fail(1)) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 Py_INCREF(Py_None
); resultobj
= Py_None
;
17797 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
= NULL
;
17799 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17800 wxConfigBase
*result
;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "config", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17808 if (SWIG_arg_fail(1)) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17823 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
= NULL
;
17825 bool arg1
= (bool) true ;
17826 wxConfigBase
*result
;
17827 PyObject
* obj0
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "createOnDemand", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17835 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17836 if (SWIG_arg_fail(1)) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17853 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
= NULL
;
17855 wxConfigBase
*result
;
17856 char *kwnames
[] = {
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (wxConfigBase
*)wxConfigBase::Create();
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17875 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
= NULL
;
17877 char *kwnames
[] = {
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 wxConfigBase::DontCreateOnDemand();
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 Py_INCREF(Py_None
); resultobj
= Py_None
;
17896 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
= NULL
;
17898 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17899 wxString
*arg2
= 0 ;
17900 bool temp2
= false ;
17901 PyObject
* obj0
= 0 ;
17902 PyObject
* obj1
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self",(char *) "path", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17909 if (SWIG_arg_fail(1)) SWIG_fail
;
17911 arg2
= wxString_in_helper(obj1
);
17912 if (arg2
== NULL
) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 (arg1
)->SetPath((wxString
const &)*arg2
);
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 Py_INCREF(Py_None
); resultobj
= Py_None
;
17937 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
= NULL
;
17939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17948 if (SWIG_arg_fail(1)) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17953 result
= (wxString
*) &_result_ref
;
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17972 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= NULL
;
17974 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17983 if (SWIG_arg_fail(1)) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= result
;
17998 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
= NULL
;
18000 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self",(char *) "index", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18011 if (SWIG_arg_fail(1)) SWIG_fail
;
18013 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18014 if (SWIG_arg_fail(2)) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= result
;
18030 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
= NULL
;
18032 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18041 if (SWIG_arg_fail(1)) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= result
;
18056 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
= NULL
;
18058 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 PyObject
* obj1
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self",(char *) "index", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18069 if (SWIG_arg_fail(1)) SWIG_fail
;
18071 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18072 if (SWIG_arg_fail(2)) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= result
;
18088 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
= NULL
;
18090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18091 bool arg2
= (bool) false ;
18093 PyObject
* obj0
= 0 ;
18094 PyObject
* obj1
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self",(char *) "recursive", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18101 if (SWIG_arg_fail(1)) SWIG_fail
;
18104 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18105 if (SWIG_arg_fail(2)) SWIG_fail
;
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18124 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
= NULL
;
18126 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18127 bool arg2
= (bool) false ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self",(char *) "recursive", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18137 if (SWIG_arg_fail(1)) SWIG_fail
;
18140 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18141 if (SWIG_arg_fail(2)) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18160 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
= NULL
;
18162 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18163 wxString
*arg2
= 0 ;
18165 bool temp2
= false ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self",(char *) "name", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18174 if (SWIG_arg_fail(1)) SWIG_fail
;
18176 arg2
= wxString_in_helper(obj1
);
18177 if (arg2
== NULL
) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18204 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
= NULL
;
18206 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18207 wxString
*arg2
= 0 ;
18209 bool temp2
= false ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self",(char *) "name", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18218 if (SWIG_arg_fail(1)) SWIG_fail
;
18220 arg2
= wxString_in_helper(obj1
);
18221 if (arg2
== NULL
) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18248 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
= NULL
;
18250 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18251 wxString
*arg2
= 0 ;
18253 bool temp2
= false ;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "name", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18262 if (SWIG_arg_fail(1)) SWIG_fail
;
18264 arg2
= wxString_in_helper(obj1
);
18265 if (arg2
== NULL
) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18292 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
= NULL
;
18294 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18295 wxString
*arg2
= 0 ;
18296 wxConfigBase::EntryType result
;
18297 bool temp2
= false ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "self",(char *) "name", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18306 if (SWIG_arg_fail(1)) SWIG_fail
;
18308 arg2
= wxString_in_helper(obj1
);
18309 if (arg2
== NULL
) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= SWIG_From_int((result
));
18334 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
= NULL
;
18336 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18337 wxString
*arg2
= 0 ;
18338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18341 bool temp2
= false ;
18342 bool temp3
= false ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 PyObject
* obj2
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18352 if (SWIG_arg_fail(1)) SWIG_fail
;
18354 arg2
= wxString_in_helper(obj1
);
18355 if (arg2
== NULL
) SWIG_fail
;
18360 arg3
= wxString_in_helper(obj2
);
18361 if (arg3
== NULL
) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18401 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
= NULL
;
18403 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18404 wxString
*arg2
= 0 ;
18405 long arg3
= (long) 0 ;
18407 bool temp2
= false ;
18408 PyObject
* obj0
= 0 ;
18409 PyObject
* obj1
= 0 ;
18410 PyObject
* obj2
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail
;
18419 arg2
= wxString_in_helper(obj1
);
18420 if (arg2
== NULL
) SWIG_fail
;
18425 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18426 if (SWIG_arg_fail(3)) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= SWIG_From_long(static_cast<long >(result
));
18453 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
= NULL
;
18455 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18456 wxString
*arg2
= 0 ;
18457 double arg3
= (double) 0.0 ;
18459 bool temp2
= false ;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj1
= 0 ;
18462 PyObject
* obj2
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18469 if (SWIG_arg_fail(1)) SWIG_fail
;
18471 arg2
= wxString_in_helper(obj1
);
18472 if (arg2
== NULL
) SWIG_fail
;
18477 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18478 if (SWIG_arg_fail(3)) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= SWIG_From_double(static_cast<double >(result
));
18505 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
= NULL
;
18507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18508 wxString
*arg2
= 0 ;
18509 bool arg3
= (bool) false ;
18511 bool temp2
= false ;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 PyObject
* obj2
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18521 if (SWIG_arg_fail(1)) SWIG_fail
;
18523 arg2
= wxString_in_helper(obj1
);
18524 if (arg2
== NULL
) SWIG_fail
;
18529 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18530 if (SWIG_arg_fail(3)) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18557 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
= NULL
;
18559 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18560 wxString
*arg2
= 0 ;
18561 wxString
*arg3
= 0 ;
18563 bool temp2
= false ;
18564 bool temp3
= false ;
18565 PyObject
* obj0
= 0 ;
18566 PyObject
* obj1
= 0 ;
18567 PyObject
* obj2
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self",(char *) "key",(char *) "value", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18574 if (SWIG_arg_fail(1)) SWIG_fail
;
18576 arg2
= wxString_in_helper(obj1
);
18577 if (arg2
== NULL
) SWIG_fail
;
18581 arg3
= wxString_in_helper(obj2
);
18582 if (arg3
== NULL
) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18617 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
= NULL
;
18619 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18620 wxString
*arg2
= 0 ;
18623 bool temp2
= false ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 PyObject
* obj2
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self",(char *) "key",(char *) "value", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18633 if (SWIG_arg_fail(1)) SWIG_fail
;
18635 arg2
= wxString_in_helper(obj1
);
18636 if (arg2
== NULL
) SWIG_fail
;
18640 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18641 if (SWIG_arg_fail(3)) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18667 static PyObject
*_wrap_ConfigBase_WriteFloat(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_WriteFloat",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<double >(SWIG_As_double(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_WriteBool(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_WriteBool",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<bool >(SWIG_As_bool(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_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
= NULL
;
18769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18770 bool arg2
= (bool) false ;
18772 PyObject
* obj0
= 0 ;
18773 PyObject
* obj1
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self",(char *) "currentOnly", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18780 if (SWIG_arg_fail(1)) SWIG_fail
;
18783 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18784 if (SWIG_arg_fail(2)) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (bool)(arg1
)->Flush(arg2
);
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18803 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
= NULL
;
18805 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18806 wxString
*arg2
= 0 ;
18807 wxString
*arg3
= 0 ;
18809 bool temp2
= false ;
18810 bool temp3
= false ;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 PyObject
* obj2
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18820 if (SWIG_arg_fail(1)) SWIG_fail
;
18822 arg2
= wxString_in_helper(obj1
);
18823 if (arg2
== NULL
) SWIG_fail
;
18827 arg3
= wxString_in_helper(obj2
);
18828 if (arg3
== NULL
) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18863 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
= NULL
;
18865 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18866 wxString
*arg2
= 0 ;
18867 wxString
*arg3
= 0 ;
18869 bool temp2
= false ;
18870 bool temp3
= false ;
18871 PyObject
* obj0
= 0 ;
18872 PyObject
* obj1
= 0 ;
18873 PyObject
* obj2
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18880 if (SWIG_arg_fail(1)) SWIG_fail
;
18882 arg2
= wxString_in_helper(obj1
);
18883 if (arg2
== NULL
) SWIG_fail
;
18887 arg3
= wxString_in_helper(obj2
);
18888 if (arg3
== NULL
) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18923 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
= NULL
;
18925 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18926 wxString
*arg2
= 0 ;
18927 bool arg3
= (bool) true ;
18929 bool temp2
= false ;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 PyObject
* obj2
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18939 if (SWIG_arg_fail(1)) SWIG_fail
;
18941 arg2
= wxString_in_helper(obj1
);
18942 if (arg2
== NULL
) SWIG_fail
;
18947 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18948 if (SWIG_arg_fail(3)) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18975 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
= NULL
;
18977 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18978 wxString
*arg2
= 0 ;
18980 bool temp2
= false ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "key", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) 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
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19019 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
= NULL
;
19021 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19030 if (SWIG_arg_fail(1)) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (bool)(arg1
)->DeleteAll();
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19047 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
= NULL
;
19049 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19050 bool arg2
= (bool) true ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "doIt", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19059 if (SWIG_arg_fail(1)) SWIG_fail
;
19062 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19063 if (SWIG_arg_fail(2)) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 (arg1
)->SetExpandEnvVars(arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 Py_INCREF(Py_None
); resultobj
= Py_None
;
19080 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
= NULL
;
19082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19091 if (SWIG_arg_fail(1)) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19108 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
= NULL
;
19110 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19111 bool arg2
= (bool) true ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "doIt", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19120 if (SWIG_arg_fail(1)) SWIG_fail
;
19123 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19124 if (SWIG_arg_fail(2)) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 (arg1
)->SetRecordDefaults(arg2
);
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 Py_INCREF(Py_None
); resultobj
= Py_None
;
19141 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
= NULL
;
19143 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19145 PyObject
* obj0
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail
;
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19169 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
= NULL
;
19171 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19172 wxString
*arg2
= 0 ;
19174 bool temp2
= false ;
19175 PyObject
* obj0
= 0 ;
19176 PyObject
* obj1
= 0 ;
19177 char *kwnames
[] = {
19178 (char *) "self",(char *) "str", NULL
19181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19183 if (SWIG_arg_fail(1)) SWIG_fail
;
19185 arg2
= wxString_in_helper(obj1
);
19186 if (arg2
== NULL
) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19217 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
= NULL
;
19219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19249 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
= NULL
;
19251 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 char *kwnames
[] = {
19255 (char *) "self", NULL
19258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19260 if (SWIG_arg_fail(1)) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19281 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
= NULL
;
19283 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19284 wxString
*arg2
= 0 ;
19285 bool temp2
= false ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self",(char *) "appName", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19294 if (SWIG_arg_fail(1)) SWIG_fail
;
19296 arg2
= wxString_in_helper(obj1
);
19297 if (arg2
== NULL
) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->SetAppName((wxString
const &)*arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19322 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
= NULL
;
19324 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19325 wxString
*arg2
= 0 ;
19326 bool temp2
= false ;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self",(char *) "vendorName", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19335 if (SWIG_arg_fail(1)) SWIG_fail
;
19337 arg2
= wxString_in_helper(obj1
);
19338 if (arg2
== NULL
) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 Py_INCREF(Py_None
); resultobj
= Py_None
;
19363 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
= NULL
;
19365 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self",(char *) "style", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19375 if (SWIG_arg_fail(1)) SWIG_fail
;
19377 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19378 if (SWIG_arg_fail(2)) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 (arg1
)->SetStyle(arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
= NULL
;
19396 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19405 if (SWIG_arg_fail(1)) SWIG_fail
;
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= SWIG_From_long(static_cast<long >(result
));
19422 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19425 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19427 return Py_BuildValue((char *)"");
19429 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
= NULL
;
19431 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19432 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19433 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19434 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19435 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19436 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19437 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19438 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19439 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19441 bool temp1
= false ;
19442 bool temp2
= false ;
19443 bool temp3
= false ;
19444 bool temp4
= false ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 PyObject
* obj2
= 0 ;
19448 PyObject
* obj3
= 0 ;
19449 PyObject
* obj4
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19457 arg1
= wxString_in_helper(obj0
);
19458 if (arg1
== NULL
) SWIG_fail
;
19464 arg2
= wxString_in_helper(obj1
);
19465 if (arg2
== NULL
) SWIG_fail
;
19471 arg3
= wxString_in_helper(obj2
);
19472 if (arg3
== NULL
) SWIG_fail
;
19478 arg4
= wxString_in_helper(obj3
);
19479 if (arg4
== NULL
) SWIG_fail
;
19485 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19486 if (SWIG_arg_fail(5)) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19535 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
= NULL
;
19537 wxConfig
*arg1
= (wxConfig
*) 0 ;
19538 PyObject
* obj0
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19545 if (SWIG_arg_fail(1)) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 Py_INCREF(Py_None
); resultobj
= Py_None
;
19560 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19563 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19565 return Py_BuildValue((char *)"");
19567 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
= NULL
;
19569 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19570 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19571 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19572 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19573 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19574 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19575 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19576 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19577 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19578 wxFileConfig
*result
;
19579 bool temp1
= false ;
19580 bool temp2
= false ;
19581 bool temp3
= false ;
19582 bool temp4
= false ;
19583 PyObject
* obj0
= 0 ;
19584 PyObject
* obj1
= 0 ;
19585 PyObject
* obj2
= 0 ;
19586 PyObject
* obj3
= 0 ;
19587 PyObject
* obj4
= 0 ;
19588 char *kwnames
[] = {
19589 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19595 arg1
= wxString_in_helper(obj0
);
19596 if (arg1
== NULL
) SWIG_fail
;
19602 arg2
= wxString_in_helper(obj1
);
19603 if (arg2
== NULL
) SWIG_fail
;
19609 arg3
= wxString_in_helper(obj2
);
19610 if (arg3
== NULL
) SWIG_fail
;
19616 arg4
= wxString_in_helper(obj3
);
19617 if (arg4
== NULL
) SWIG_fail
;
19623 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19624 if (SWIG_arg_fail(5)) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19673 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
= NULL
;
19675 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19683 if (SWIG_arg_fail(1)) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 Py_INCREF(Py_None
); resultobj
= Py_None
;
19698 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19701 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19703 return Py_BuildValue((char *)"");
19705 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
= NULL
;
19707 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19708 wxString
*arg2
= 0 ;
19709 wxConfigPathChanger
*result
;
19710 bool temp2
= false ;
19711 PyObject
* obj0
= 0 ;
19712 PyObject
* obj1
= 0 ;
19713 char *kwnames
[] = {
19714 (char *) "config",(char *) "entry", NULL
19717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19719 if (SWIG_arg_fail(1)) SWIG_fail
;
19721 arg2
= wxString_in_helper(obj1
);
19722 if (arg2
== NULL
) SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19747 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
= NULL
;
19749 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19757 if (SWIG_arg_fail(1)) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 Py_INCREF(Py_None
); resultobj
= Py_None
;
19772 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
= NULL
;
19774 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19783 if (SWIG_arg_fail(1)) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19788 result
= (wxString
*) &_result_ref
;
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19798 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19807 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19810 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19812 return Py_BuildValue((char *)"");
19814 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
= NULL
;
19816 wxString
*arg1
= 0 ;
19818 bool temp1
= false ;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "sz", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19826 arg1
= wxString_in_helper(obj0
);
19827 if (arg1
== NULL
) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19858 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19859 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19864 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19865 PyObject
*pyobj
= NULL
;
19869 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19871 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19878 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19879 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19884 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19885 PyObject
*pyobj
= NULL
;
19889 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19891 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19898 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
= NULL
;
19900 wxDateTime::Country arg1
;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "country", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19908 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
19909 if (SWIG_arg_fail(1)) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 wxDateTime::SetCountry(arg1
);
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 Py_INCREF(Py_None
); resultobj
= Py_None
;
19925 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
= NULL
;
19927 wxDateTime::Country result
;
19928 char *kwnames
[] = {
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= SWIG_From_int((result
));
19947 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
= NULL
;
19949 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "country", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19959 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
19960 if (SWIG_arg_fail(1)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19979 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
= NULL
;
19981 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19983 PyObject
* obj0
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "cal", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19991 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
19992 if (SWIG_arg_fail(1)) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 result
= (int)wxDateTime::GetCurrentYear(arg1
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_From_int(static_cast<int >(result
));
20011 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
= NULL
;
20015 PyObject
* obj0
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "year", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20022 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20023 if (SWIG_arg_fail(1)) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= SWIG_From_int(static_cast<int >(result
));
20041 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
= NULL
;
20043 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20044 wxDateTime::Month result
;
20045 PyObject
* obj0
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "cal", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20053 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20054 if (SWIG_arg_fail(1)) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= SWIG_From_int((result
));
20071 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
= NULL
;
20073 int arg1
= (int) wxDateTime::Inv_Year
;
20074 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "year",(char *) "cal", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20085 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20086 if (SWIG_arg_fail(1)) SWIG_fail
;
20091 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20092 if (SWIG_arg_fail(2)) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20111 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
= NULL
;
20113 int arg1
= (int) wxDateTime::Inv_Year
;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "year", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20123 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20124 if (SWIG_arg_fail(1)) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (int)wxDateTime::GetCentury(arg1
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= SWIG_From_int(static_cast<int >(result
));
20143 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
= NULL
;
20146 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "year",(char *) "cal", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20156 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20157 if (SWIG_arg_fail(1)) SWIG_fail
;
20161 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20162 if (SWIG_arg_fail(2)) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= SWIG_From_int(static_cast<int >(result
));
20181 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
= NULL
;
20183 wxDateTime::Month arg1
;
20184 int arg2
= (int) wxDateTime::Inv_Year
;
20185 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 PyObject
* obj2
= 0 ;
20190 char *kwnames
[] = {
20191 (char *) "month",(char *) "year",(char *) "cal", NULL
20194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20196 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20197 if (SWIG_arg_fail(1)) SWIG_fail
;
20201 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20202 if (SWIG_arg_fail(2)) SWIG_fail
;
20207 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20208 if (SWIG_arg_fail(3)) SWIG_fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= SWIG_From_int(static_cast<int >(result
));
20227 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
= NULL
;
20229 wxDateTime::Month arg1
;
20230 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "month",(char *) "flags", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20240 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20241 if (SWIG_arg_fail(1)) SWIG_fail
;
20245 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20246 if (SWIG_arg_fail(2)) SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20269 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
= NULL
;
20271 wxDateTime::WeekDay arg1
;
20272 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20276 char *kwnames
[] = {
20277 (char *) "weekday",(char *) "flags", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20282 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20283 if (SWIG_arg_fail(1)) SWIG_fail
;
20287 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20288 if (SWIG_arg_fail(2)) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20311 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
= NULL
;
20314 char *kwnames
[] = {
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 resultobj
= result
;
20333 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
= NULL
;
20335 int arg1
= (int) wxDateTime::Inv_Year
;
20336 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "year",(char *) "country", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20347 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20348 if (SWIG_arg_fail(1)) SWIG_fail
;
20353 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20354 if (SWIG_arg_fail(2)) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
= NULL
;
20375 int arg1
= (int) wxDateTime::Inv_Year
;
20376 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "year",(char *) "country", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20387 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20388 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20394 if (SWIG_arg_fail(2)) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20405 wxDateTime
* resultptr
;
20406 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20415 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
= NULL
;
20417 int arg1
= (int) wxDateTime::Inv_Year
;
20418 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "year",(char *) "country", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20429 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20430 if (SWIG_arg_fail(1)) SWIG_fail
;
20435 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20436 if (SWIG_arg_fail(2)) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20447 wxDateTime
* resultptr
;
20448 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20457 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
= NULL
;
20460 char *kwnames
[] = {
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 result
= wxDateTime::Now();
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20473 wxDateTime
* resultptr
;
20474 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20483 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
= NULL
;
20486 char *kwnames
[] = {
20490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= wxDateTime::UNow();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20499 wxDateTime
* resultptr
;
20500 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20509 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
= NULL
;
20512 char *kwnames
[] = {
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= wxDateTime::Today();
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20525 wxDateTime
* resultptr
;
20526 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20535 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
= NULL
;
20537 wxDateTime
*result
;
20538 char *kwnames
[] = {
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (wxDateTime
*)new wxDateTime();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20557 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
= NULL
;
20560 wxDateTime
*result
;
20561 PyObject
* obj0
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "timet", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20568 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20569 if (SWIG_arg_fail(1)) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= (wxDateTime
*)new wxDateTime(arg1
);
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20585 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
= NULL
;
20588 wxDateTime
*result
;
20589 PyObject
* obj0
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "jdn", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20596 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20597 if (SWIG_arg_fail(1)) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (wxDateTime
*)new wxDateTime(arg1
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20613 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
= NULL
;
20616 int arg2
= (int) 0 ;
20617 int arg3
= (int) 0 ;
20618 int arg4
= (int) 0 ;
20619 wxDateTime
*result
;
20620 PyObject
* obj0
= 0 ;
20621 PyObject
* obj1
= 0 ;
20622 PyObject
* obj2
= 0 ;
20623 PyObject
* obj3
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20630 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20631 if (SWIG_arg_fail(1)) SWIG_fail
;
20635 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20636 if (SWIG_arg_fail(2)) SWIG_fail
;
20641 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20642 if (SWIG_arg_fail(3)) SWIG_fail
;
20647 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20648 if (SWIG_arg_fail(4)) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20665 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
= NULL
;
20668 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20669 int arg3
= (int) wxDateTime::Inv_Year
;
20670 int arg4
= (int) 0 ;
20671 int arg5
= (int) 0 ;
20672 int arg6
= (int) 0 ;
20673 int arg7
= (int) 0 ;
20674 wxDateTime
*result
;
20675 PyObject
* obj0
= 0 ;
20676 PyObject
* obj1
= 0 ;
20677 PyObject
* obj2
= 0 ;
20678 PyObject
* obj3
= 0 ;
20679 PyObject
* obj4
= 0 ;
20680 PyObject
* obj5
= 0 ;
20681 PyObject
* obj6
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20688 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20689 if (SWIG_arg_fail(1)) SWIG_fail
;
20693 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20694 if (SWIG_arg_fail(2)) SWIG_fail
;
20699 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20700 if (SWIG_arg_fail(3)) SWIG_fail
;
20705 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20706 if (SWIG_arg_fail(4)) SWIG_fail
;
20711 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20712 if (SWIG_arg_fail(5)) SWIG_fail
;
20717 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20718 if (SWIG_arg_fail(6)) SWIG_fail
;
20723 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20724 if (SWIG_arg_fail(7)) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20741 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
= NULL
;
20743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20744 PyObject
* obj0
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20751 if (SWIG_arg_fail(1)) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 Py_INCREF(Py_None
); resultobj
= Py_None
;
20766 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20767 PyObject
*resultobj
= NULL
;
20768 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20769 wxDateTime
*result
;
20770 PyObject
* obj0
= 0 ;
20771 char *kwnames
[] = {
20772 (char *) "self", NULL
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20777 if (SWIG_arg_fail(1)) SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20781 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20782 result
= (wxDateTime
*) &_result_ref
;
20785 wxPyEndAllowThreads(__tstate
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20795 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
= NULL
;
20797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20799 wxDateTime
*result
;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 char *kwnames
[] = {
20803 (char *) "self",(char *) "timet", NULL
20806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20808 if (SWIG_arg_fail(1)) SWIG_fail
;
20810 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20811 if (SWIG_arg_fail(2)) SWIG_fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20817 result
= (wxDateTime
*) &_result_ref
;
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20830 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
= NULL
;
20832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20834 wxDateTime
*result
;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self",(char *) "jdn", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20843 if (SWIG_arg_fail(1)) SWIG_fail
;
20845 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20846 if (SWIG_arg_fail(2)) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20852 result
= (wxDateTime
*) &_result_ref
;
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20865 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
= NULL
;
20867 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20869 int arg3
= (int) 0 ;
20870 int arg4
= (int) 0 ;
20871 int arg5
= (int) 0 ;
20872 wxDateTime
*result
;
20873 PyObject
* obj0
= 0 ;
20874 PyObject
* obj1
= 0 ;
20875 PyObject
* obj2
= 0 ;
20876 PyObject
* obj3
= 0 ;
20877 PyObject
* obj4
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20884 if (SWIG_arg_fail(1)) SWIG_fail
;
20886 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20887 if (SWIG_arg_fail(2)) SWIG_fail
;
20891 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20892 if (SWIG_arg_fail(3)) SWIG_fail
;
20897 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20898 if (SWIG_arg_fail(4)) SWIG_fail
;
20903 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20904 if (SWIG_arg_fail(5)) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20911 result
= (wxDateTime
*) &_result_ref
;
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20924 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
= NULL
;
20926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20928 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20929 int arg4
= (int) wxDateTime::Inv_Year
;
20930 int arg5
= (int) 0 ;
20931 int arg6
= (int) 0 ;
20932 int arg7
= (int) 0 ;
20933 int arg8
= (int) 0 ;
20934 wxDateTime
*result
;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 PyObject
* obj2
= 0 ;
20938 PyObject
* obj3
= 0 ;
20939 PyObject
* obj4
= 0 ;
20940 PyObject
* obj5
= 0 ;
20941 PyObject
* obj6
= 0 ;
20942 PyObject
* obj7
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail
;
20951 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20952 if (SWIG_arg_fail(2)) SWIG_fail
;
20956 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
20957 if (SWIG_arg_fail(3)) SWIG_fail
;
20962 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20963 if (SWIG_arg_fail(4)) SWIG_fail
;
20968 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20969 if (SWIG_arg_fail(5)) SWIG_fail
;
20974 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20975 if (SWIG_arg_fail(6)) SWIG_fail
;
20980 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20981 if (SWIG_arg_fail(7)) SWIG_fail
;
20986 arg8
= static_cast<int >(SWIG_As_int(obj7
));
20987 if (SWIG_arg_fail(8)) SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20994 result
= (wxDateTime
*) &_result_ref
;
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21007 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
= NULL
;
21009 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21010 wxDateTime
*result
;
21011 PyObject
* obj0
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "self", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21018 if (SWIG_arg_fail(1)) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21023 result
= (wxDateTime
*) &_result_ref
;
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21036 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
= NULL
;
21038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21040 wxDateTime
*result
;
21041 PyObject
* obj0
= 0 ;
21042 PyObject
* obj1
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "self",(char *) "year", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21049 if (SWIG_arg_fail(1)) SWIG_fail
;
21051 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21052 if (SWIG_arg_fail(2)) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21058 result
= (wxDateTime
*) &_result_ref
;
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21071 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
= NULL
;
21073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21074 wxDateTime::Month arg2
;
21075 wxDateTime
*result
;
21076 PyObject
* obj0
= 0 ;
21077 PyObject
* obj1
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self",(char *) "month", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21084 if (SWIG_arg_fail(1)) SWIG_fail
;
21086 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21087 if (SWIG_arg_fail(2)) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21093 result
= (wxDateTime
*) &_result_ref
;
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21106 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= NULL
;
21108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21110 wxDateTime
*result
;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self",(char *) "day", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21119 if (SWIG_arg_fail(1)) SWIG_fail
;
21121 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21122 if (SWIG_arg_fail(2)) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21128 result
= (wxDateTime
*) &_result_ref
;
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21141 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
= NULL
;
21143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21145 wxDateTime
*result
;
21146 PyObject
* obj0
= 0 ;
21147 PyObject
* obj1
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self",(char *) "hour", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21154 if (SWIG_arg_fail(1)) SWIG_fail
;
21156 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21157 if (SWIG_arg_fail(2)) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21163 result
= (wxDateTime
*) &_result_ref
;
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21176 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
= NULL
;
21178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21180 wxDateTime
*result
;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self",(char *) "minute", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21189 if (SWIG_arg_fail(1)) SWIG_fail
;
21191 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21192 if (SWIG_arg_fail(2)) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21198 result
= (wxDateTime
*) &_result_ref
;
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21211 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
= NULL
;
21213 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21215 wxDateTime
*result
;
21216 PyObject
* obj0
= 0 ;
21217 PyObject
* obj1
= 0 ;
21218 char *kwnames
[] = {
21219 (char *) "self",(char *) "second", NULL
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21224 if (SWIG_arg_fail(1)) SWIG_fail
;
21226 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21227 if (SWIG_arg_fail(2)) SWIG_fail
;
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21233 result
= (wxDateTime
*) &_result_ref
;
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21246 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
= NULL
;
21248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21250 wxDateTime
*result
;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self",(char *) "millisecond", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21259 if (SWIG_arg_fail(1)) SWIG_fail
;
21261 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21262 if (SWIG_arg_fail(2)) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21268 result
= (wxDateTime
*) &_result_ref
;
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21281 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
= NULL
;
21283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21284 wxDateTime::WeekDay arg2
;
21285 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21286 wxDateTime
*result
;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 PyObject
* obj2
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21296 if (SWIG_arg_fail(1)) SWIG_fail
;
21298 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21299 if (SWIG_arg_fail(2)) SWIG_fail
;
21303 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21304 if (SWIG_arg_fail(3)) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21311 result
= (wxDateTime
*) &_result_ref
;
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21324 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
= NULL
;
21326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21327 wxDateTime::WeekDay arg2
;
21328 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 PyObject
* obj2
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21339 if (SWIG_arg_fail(1)) SWIG_fail
;
21341 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21342 if (SWIG_arg_fail(2)) SWIG_fail
;
21346 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21347 if (SWIG_arg_fail(3)) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 wxDateTime
* resultptr
;
21359 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21368 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
= NULL
;
21370 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21371 wxDateTime::WeekDay arg2
;
21372 wxDateTime
*result
;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self",(char *) "weekday", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21381 if (SWIG_arg_fail(1)) SWIG_fail
;
21383 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21384 if (SWIG_arg_fail(2)) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21390 result
= (wxDateTime
*) &_result_ref
;
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21403 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
= NULL
;
21405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21406 wxDateTime::WeekDay arg2
;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self",(char *) "weekday", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21416 if (SWIG_arg_fail(1)) SWIG_fail
;
21418 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21419 if (SWIG_arg_fail(2)) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 result
= (arg1
)->GetNextWeekDay(arg2
);
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21429 wxDateTime
* resultptr
;
21430 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21439 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= NULL
;
21441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21442 wxDateTime::WeekDay arg2
;
21443 wxDateTime
*result
;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 char *kwnames
[] = {
21447 (char *) "self",(char *) "weekday", NULL
21450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21452 if (SWIG_arg_fail(1)) SWIG_fail
;
21454 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21455 if (SWIG_arg_fail(2)) SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21461 result
= (wxDateTime
*) &_result_ref
;
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21474 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
= NULL
;
21476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21477 wxDateTime::WeekDay arg2
;
21479 PyObject
* obj0
= 0 ;
21480 PyObject
* obj1
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "self",(char *) "weekday", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21487 if (SWIG_arg_fail(1)) SWIG_fail
;
21489 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21490 if (SWIG_arg_fail(2)) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= (arg1
)->GetPrevWeekDay(arg2
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 wxDateTime
* resultptr
;
21501 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21510 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
= NULL
;
21512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21513 wxDateTime::WeekDay arg2
;
21514 int arg3
= (int) 1 ;
21515 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21516 int arg5
= (int) wxDateTime::Inv_Year
;
21518 PyObject
* obj0
= 0 ;
21519 PyObject
* obj1
= 0 ;
21520 PyObject
* obj2
= 0 ;
21521 PyObject
* obj3
= 0 ;
21522 PyObject
* obj4
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21529 if (SWIG_arg_fail(1)) SWIG_fail
;
21531 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21532 if (SWIG_arg_fail(2)) SWIG_fail
;
21536 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21537 if (SWIG_arg_fail(3)) SWIG_fail
;
21542 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21543 if (SWIG_arg_fail(4)) SWIG_fail
;
21548 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21549 if (SWIG_arg_fail(5)) SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21568 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
= NULL
;
21570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21571 wxDateTime::WeekDay arg2
;
21572 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21573 int arg4
= (int) wxDateTime::Inv_Year
;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 PyObject
* obj2
= 0 ;
21578 PyObject
* obj3
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail
;
21587 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21588 if (SWIG_arg_fail(2)) SWIG_fail
;
21592 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21593 if (SWIG_arg_fail(3)) SWIG_fail
;
21598 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21599 if (SWIG_arg_fail(4)) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21618 static PyObject
*_wrap_DateTime_GetLastWeekDay(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_GetLastWeekDay",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
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 wxDateTime
* resultptr
;
21661 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21670 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
= NULL
;
21672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21674 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21675 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 PyObject
* obj2
= 0 ;
21680 PyObject
* obj3
= 0 ;
21681 char *kwnames
[] = {
21682 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21687 if (SWIG_arg_fail(1)) SWIG_fail
;
21689 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21690 if (SWIG_arg_fail(2)) SWIG_fail
;
21694 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21695 if (SWIG_arg_fail(3)) SWIG_fail
;
21700 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21701 if (SWIG_arg_fail(4)) SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21720 static PyObject
*_wrap_DateTime_GetWeek(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_GetWeek",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
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21762 wxDateTime
* resultptr
;
21763 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21772 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
= NULL
;
21776 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 PyObject
* obj2
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21787 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21788 if (SWIG_arg_fail(1)) SWIG_fail
;
21791 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21792 if (SWIG_arg_fail(2)) SWIG_fail
;
21796 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21797 if (SWIG_arg_fail(3)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21808 wxDateTime
* resultptr
;
21809 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21818 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
= NULL
;
21820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21821 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21822 int arg3
= (int) wxDateTime::Inv_Year
;
21823 wxDateTime
*result
;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 PyObject
* obj2
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self",(char *) "month",(char *) "year", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21833 if (SWIG_arg_fail(1)) SWIG_fail
;
21836 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21837 if (SWIG_arg_fail(2)) SWIG_fail
;
21842 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21843 if (SWIG_arg_fail(3)) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21850 result
= (wxDateTime
*) &_result_ref
;
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21863 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
= NULL
;
21865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21866 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21867 int arg3
= (int) wxDateTime::Inv_Year
;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 PyObject
* obj2
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self",(char *) "month",(char *) "year", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21878 if (SWIG_arg_fail(1)) SWIG_fail
;
21881 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21882 if (SWIG_arg_fail(2)) SWIG_fail
;
21887 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21888 if (SWIG_arg_fail(3)) SWIG_fail
;
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21899 wxDateTime
* resultptr
;
21900 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21909 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
= NULL
;
21911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21913 wxDateTime
*result
;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 char *kwnames
[] = {
21917 (char *) "self",(char *) "yday", NULL
21920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21922 if (SWIG_arg_fail(1)) SWIG_fail
;
21924 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21925 if (SWIG_arg_fail(2)) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21931 result
= (wxDateTime
*) &_result_ref
;
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21944 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
= NULL
;
21946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 PyObject
* obj1
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self",(char *) "yday", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21957 if (SWIG_arg_fail(1)) SWIG_fail
;
21959 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21960 if (SWIG_arg_fail(2)) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (arg1
)->GetYearDay(arg2
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 wxDateTime
* resultptr
;
21971 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21980 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
= NULL
;
21982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21984 PyObject
* obj0
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (double)(arg1
)->GetJulianDayNumber();
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
22000 resultobj
= SWIG_From_double(static_cast<double >(result
));
22008 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
= NULL
;
22010 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22012 PyObject
* obj0
= 0 ;
22013 char *kwnames
[] = {
22014 (char *) "self", NULL
22017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22019 if (SWIG_arg_fail(1)) SWIG_fail
;
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 result
= (double)(arg1
)->GetJDN();
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= SWIG_From_double(static_cast<double >(result
));
22036 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
= NULL
;
22038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 char *kwnames
[] = {
22042 (char *) "self", NULL
22045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22047 if (SWIG_arg_fail(1)) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22056 resultobj
= SWIG_From_double(static_cast<double >(result
));
22064 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
= NULL
;
22066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "self", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(1)) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (double)(arg1
)->GetMJD();
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= SWIG_From_double(static_cast<double >(result
));
22092 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
= NULL
;
22094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22096 PyObject
* obj0
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22103 if (SWIG_arg_fail(1)) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= (double)(arg1
)->GetRataDie();
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_From_double(static_cast<double >(result
));
22120 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
= NULL
;
22122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22123 wxDateTime::TimeZone
*arg2
= 0 ;
22124 bool arg3
= (bool) false ;
22126 bool temp2
= false ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 PyObject
* obj2
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22136 if (SWIG_arg_fail(1)) SWIG_fail
;
22138 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22143 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22144 if (SWIG_arg_fail(3)) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 wxDateTime
* resultptr
;
22156 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22160 if (temp2
) delete arg2
;
22165 if (temp2
) delete arg2
;
22171 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
= NULL
;
22173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22174 wxDateTime::TimeZone
*arg2
= 0 ;
22175 bool arg3
= (bool) false ;
22176 wxDateTime
*result
;
22177 bool temp2
= false ;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 PyObject
* obj2
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22187 if (SWIG_arg_fail(1)) SWIG_fail
;
22189 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22194 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22195 if (SWIG_arg_fail(3)) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22202 result
= (wxDateTime
*) &_result_ref
;
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22210 if (temp2
) delete arg2
;
22215 if (temp2
) delete arg2
;
22221 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
= NULL
;
22223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22224 wxDateTime::TimeZone
*arg2
= 0 ;
22225 bool arg3
= (bool) false ;
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_FromTimezone",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();
22250 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22256 wxDateTime
* resultptr
;
22257 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22261 if (temp2
) delete arg2
;
22266 if (temp2
) delete arg2
;
22272 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
= NULL
;
22274 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22275 wxDateTime::TimeZone
*arg2
= 0 ;
22276 bool arg3
= (bool) false ;
22277 wxDateTime
*result
;
22278 bool temp2
= false ;
22279 PyObject
* obj0
= 0 ;
22280 PyObject
* obj1
= 0 ;
22281 PyObject
* obj2
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22288 if (SWIG_arg_fail(1)) SWIG_fail
;
22290 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22295 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22296 if (SWIG_arg_fail(3)) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22303 result
= (wxDateTime
*) &_result_ref
;
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22311 if (temp2
) delete arg2
;
22316 if (temp2
) delete arg2
;
22322 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
= NULL
;
22324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22325 bool arg2
= (bool) false ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "noDST", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22335 if (SWIG_arg_fail(1)) SWIG_fail
;
22338 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22339 if (SWIG_arg_fail(2)) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22350 wxDateTime
* resultptr
;
22351 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22360 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
= NULL
;
22362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22363 bool arg2
= (bool) false ;
22364 wxDateTime
*result
;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self",(char *) "noDST", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22373 if (SWIG_arg_fail(1)) SWIG_fail
;
22376 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22377 if (SWIG_arg_fail(2)) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22384 result
= (wxDateTime
*) &_result_ref
;
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22397 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
= NULL
;
22399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22400 bool arg2
= (bool) false ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "noDST", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22410 if (SWIG_arg_fail(1)) SWIG_fail
;
22413 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22414 if (SWIG_arg_fail(2)) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 wxDateTime
* resultptr
;
22426 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22435 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
= NULL
;
22437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22438 bool arg2
= (bool) false ;
22439 wxDateTime
*result
;
22440 PyObject
* obj0
= 0 ;
22441 PyObject
* obj1
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self",(char *) "noDST", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22448 if (SWIG_arg_fail(1)) SWIG_fail
;
22451 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22452 if (SWIG_arg_fail(2)) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22459 result
= (wxDateTime
*) &_result_ref
;
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22472 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
= NULL
;
22474 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22475 bool arg2
= (bool) false ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self",(char *) "noDST", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail
;
22488 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22489 if (SWIG_arg_fail(2)) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22500 wxDateTime
* resultptr
;
22501 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22510 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
= NULL
;
22512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22513 bool arg2
= (bool) false ;
22514 wxDateTime
*result
;
22515 PyObject
* obj0
= 0 ;
22516 PyObject
* obj1
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self",(char *) "noDST", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22523 if (SWIG_arg_fail(1)) SWIG_fail
;
22526 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22527 if (SWIG_arg_fail(2)) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22534 result
= (wxDateTime
*) &_result_ref
;
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22547 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
= NULL
;
22549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22550 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22552 PyObject
* obj0
= 0 ;
22553 PyObject
* obj1
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self",(char *) "country", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22560 if (SWIG_arg_fail(1)) SWIG_fail
;
22563 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22564 if (SWIG_arg_fail(2)) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= (int)(arg1
)->IsDST(arg2
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= SWIG_From_int(static_cast<int >(result
));
22583 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
= NULL
;
22585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22587 PyObject
* obj0
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22594 if (SWIG_arg_fail(1)) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22611 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
= NULL
;
22613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22615 PyObject
* obj0
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22622 if (SWIG_arg_fail(1)) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22631 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22639 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
= NULL
;
22641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22642 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22643 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22645 bool temp2
= false ;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 char *kwnames
[] = {
22649 (char *) "self",(char *) "tz", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22654 if (SWIG_arg_fail(1)) SWIG_fail
;
22657 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= SWIG_From_int(static_cast<int >(result
));
22672 if (temp2
) delete arg2
;
22677 if (temp2
) delete arg2
;
22683 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
= NULL
;
22685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22686 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22687 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22688 wxDateTime::Month result
;
22689 bool temp2
= false ;
22690 PyObject
* obj0
= 0 ;
22691 PyObject
* obj1
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self",(char *) "tz", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22698 if (SWIG_arg_fail(1)) SWIG_fail
;
22701 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 resultobj
= SWIG_From_int((result
));
22714 if (temp2
) delete arg2
;
22719 if (temp2
) delete arg2
;
22725 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
= NULL
;
22727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22728 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22729 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22731 bool temp2
= false ;
22732 PyObject
* obj0
= 0 ;
22733 PyObject
* obj1
= 0 ;
22734 char *kwnames
[] = {
22735 (char *) "self",(char *) "tz", NULL
22738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22740 if (SWIG_arg_fail(1)) SWIG_fail
;
22743 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SWIG_From_int(static_cast<int >(result
));
22758 if (temp2
) delete arg2
;
22763 if (temp2
) delete arg2
;
22769 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
= NULL
;
22771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22772 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22773 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22774 wxDateTime::WeekDay result
;
22775 bool temp2
= false ;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self",(char *) "tz", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail
;
22787 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= SWIG_From_int((result
));
22800 if (temp2
) delete arg2
;
22805 if (temp2
) delete arg2
;
22811 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
= NULL
;
22813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22814 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22815 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22817 bool temp2
= false ;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self",(char *) "tz", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22826 if (SWIG_arg_fail(1)) SWIG_fail
;
22829 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_From_int(static_cast<int >(result
));
22844 if (temp2
) delete arg2
;
22849 if (temp2
) delete arg2
;
22855 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
= NULL
;
22857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22858 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22859 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22861 bool temp2
= false ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 char *kwnames
[] = {
22865 (char *) "self",(char *) "tz", NULL
22868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22870 if (SWIG_arg_fail(1)) SWIG_fail
;
22873 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_From_int(static_cast<int >(result
));
22888 if (temp2
) delete arg2
;
22893 if (temp2
) delete arg2
;
22899 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
= NULL
;
22901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22902 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22903 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22905 bool temp2
= false ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self",(char *) "tz", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
22913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22914 if (SWIG_arg_fail(1)) SWIG_fail
;
22917 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= SWIG_From_int(static_cast<int >(result
));
22932 if (temp2
) delete arg2
;
22937 if (temp2
) delete arg2
;
22943 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
= NULL
;
22945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22946 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22947 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22949 bool temp2
= false ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "tz", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
22957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22958 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= SWIG_From_int(static_cast<int >(result
));
22976 if (temp2
) delete arg2
;
22981 if (temp2
) delete arg2
;
22987 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
= NULL
;
22989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22990 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22991 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22993 bool temp2
= false ;
22994 PyObject
* obj0
= 0 ;
22995 PyObject
* obj1
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self",(char *) "tz", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23002 if (SWIG_arg_fail(1)) SWIG_fail
;
23005 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= SWIG_From_int(static_cast<int >(result
));
23020 if (temp2
) delete arg2
;
23025 if (temp2
) delete arg2
;
23031 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
= NULL
;
23033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23034 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23035 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23036 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23038 bool temp3
= false ;
23039 PyObject
* obj0
= 0 ;
23040 PyObject
* obj1
= 0 ;
23041 PyObject
* obj2
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self",(char *) "flags",(char *) "tz", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23048 if (SWIG_arg_fail(1)) SWIG_fail
;
23051 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23052 if (SWIG_arg_fail(2)) SWIG_fail
;
23057 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_From_int(static_cast<int >(result
));
23072 if (temp3
) delete arg3
;
23077 if (temp3
) delete arg3
;
23083 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
= NULL
;
23085 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23086 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23087 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23088 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23090 bool temp3
= false ;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 PyObject
* obj2
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "self",(char *) "flags",(char *) "tz", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23100 if (SWIG_arg_fail(1)) SWIG_fail
;
23103 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23104 if (SWIG_arg_fail(2)) SWIG_fail
;
23109 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_From_int(static_cast<int >(result
));
23124 if (temp3
) delete arg3
;
23129 if (temp3
) delete arg3
;
23135 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
= NULL
;
23137 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23138 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23140 PyObject
* obj0
= 0 ;
23141 PyObject
* obj1
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "self",(char *) "country", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23148 if (SWIG_arg_fail(1)) SWIG_fail
;
23151 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23152 if (SWIG_arg_fail(2)) SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23171 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
= NULL
;
23173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23174 wxDateTime
*arg2
= 0 ;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self",(char *) "datetime", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23184 if (SWIG_arg_fail(1)) SWIG_fail
;
23186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23187 if (SWIG_arg_fail(2)) SWIG_fail
;
23188 if (arg2
== NULL
) {
23189 SWIG_null_ref("wxDateTime");
23191 if (SWIG_arg_fail(2)) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23209 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
= NULL
;
23211 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23212 wxDateTime
*arg2
= 0 ;
23214 PyObject
* obj0
= 0 ;
23215 PyObject
* obj1
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "self",(char *) "datetime", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23222 if (SWIG_arg_fail(1)) SWIG_fail
;
23224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(2)) SWIG_fail
;
23226 if (arg2
== NULL
) {
23227 SWIG_null_ref("wxDateTime");
23229 if (SWIG_arg_fail(2)) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23247 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
= NULL
;
23249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23250 wxDateTime
*arg2
= 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self",(char *) "datetime", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23260 if (SWIG_arg_fail(1)) SWIG_fail
;
23262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23263 if (SWIG_arg_fail(2)) SWIG_fail
;
23264 if (arg2
== NULL
) {
23265 SWIG_null_ref("wxDateTime");
23267 if (SWIG_arg_fail(2)) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23285 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
= NULL
;
23287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23288 wxDateTime
*arg2
= 0 ;
23289 wxDateTime
*arg3
= 0 ;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 PyObject
* obj2
= 0 ;
23294 char *kwnames
[] = {
23295 (char *) "self",(char *) "t1",(char *) "t2", NULL
23298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23300 if (SWIG_arg_fail(1)) SWIG_fail
;
23302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23303 if (SWIG_arg_fail(2)) SWIG_fail
;
23304 if (arg2
== NULL
) {
23305 SWIG_null_ref("wxDateTime");
23307 if (SWIG_arg_fail(2)) SWIG_fail
;
23310 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(3)) SWIG_fail
;
23312 if (arg3
== NULL
) {
23313 SWIG_null_ref("wxDateTime");
23315 if (SWIG_arg_fail(3)) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23333 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
= NULL
;
23335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23336 wxDateTime
*arg2
= 0 ;
23337 wxDateTime
*arg3
= 0 ;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 PyObject
* obj2
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self",(char *) "t1",(char *) "t2", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23348 if (SWIG_arg_fail(1)) SWIG_fail
;
23350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23351 if (SWIG_arg_fail(2)) SWIG_fail
;
23352 if (arg2
== NULL
) {
23353 SWIG_null_ref("wxDateTime");
23355 if (SWIG_arg_fail(2)) SWIG_fail
;
23358 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23359 if (SWIG_arg_fail(3)) SWIG_fail
;
23360 if (arg3
== NULL
) {
23361 SWIG_null_ref("wxDateTime");
23363 if (SWIG_arg_fail(3)) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23381 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
= NULL
;
23383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23384 wxDateTime
*arg2
= 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 char *kwnames
[] = {
23389 (char *) "self",(char *) "dt", NULL
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23394 if (SWIG_arg_fail(1)) SWIG_fail
;
23396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23397 if (SWIG_arg_fail(2)) SWIG_fail
;
23398 if (arg2
== NULL
) {
23399 SWIG_null_ref("wxDateTime");
23401 if (SWIG_arg_fail(2)) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23419 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
= NULL
;
23421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23422 wxDateTime
*arg2
= 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "dt", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23432 if (SWIG_arg_fail(1)) SWIG_fail
;
23434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23435 if (SWIG_arg_fail(2)) SWIG_fail
;
23436 if (arg2
== NULL
) {
23437 SWIG_null_ref("wxDateTime");
23439 if (SWIG_arg_fail(2)) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23457 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
= NULL
;
23459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23460 wxDateTime
*arg2
= 0 ;
23461 wxTimeSpan
*arg3
= 0 ;
23463 PyObject
* obj0
= 0 ;
23464 PyObject
* obj1
= 0 ;
23465 PyObject
* obj2
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self",(char *) "dt",(char *) "ts", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23472 if (SWIG_arg_fail(1)) SWIG_fail
;
23474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23475 if (SWIG_arg_fail(2)) SWIG_fail
;
23476 if (arg2
== NULL
) {
23477 SWIG_null_ref("wxDateTime");
23479 if (SWIG_arg_fail(2)) SWIG_fail
;
23482 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23483 if (SWIG_arg_fail(3)) SWIG_fail
;
23484 if (arg3
== NULL
) {
23485 SWIG_null_ref("wxTimeSpan");
23487 if (SWIG_arg_fail(3)) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23505 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
= NULL
;
23507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23508 wxTimeSpan
*arg2
= 0 ;
23509 wxDateTime
*result
;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self",(char *) "diff", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23521 if (SWIG_arg_fail(2)) SWIG_fail
;
23522 if (arg2
== NULL
) {
23523 SWIG_null_ref("wxTimeSpan");
23525 if (SWIG_arg_fail(2)) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23531 result
= (wxDateTime
*) &_result_ref
;
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23544 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
= NULL
;
23546 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23547 wxDateSpan
*arg2
= 0 ;
23548 wxDateTime
*result
;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self",(char *) "diff", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23557 if (SWIG_arg_fail(1)) SWIG_fail
;
23559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23560 if (SWIG_arg_fail(2)) SWIG_fail
;
23561 if (arg2
== NULL
) {
23562 SWIG_null_ref("wxDateSpan");
23564 if (SWIG_arg_fail(2)) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23570 result
= (wxDateTime
*) &_result_ref
;
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23583 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
= NULL
;
23585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23586 wxTimeSpan
*arg2
= 0 ;
23587 wxDateTime
*result
;
23588 PyObject
* obj0
= 0 ;
23589 PyObject
* obj1
= 0 ;
23590 char *kwnames
[] = {
23591 (char *) "self",(char *) "diff", NULL
23594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23596 if (SWIG_arg_fail(1)) SWIG_fail
;
23598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23599 if (SWIG_arg_fail(2)) SWIG_fail
;
23600 if (arg2
== NULL
) {
23601 SWIG_null_ref("wxTimeSpan");
23603 if (SWIG_arg_fail(2)) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23609 result
= (wxDateTime
*) &_result_ref
;
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23622 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
= NULL
;
23624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23625 wxDateSpan
*arg2
= 0 ;
23626 wxDateTime
*result
;
23627 PyObject
* obj0
= 0 ;
23628 PyObject
* obj1
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self",(char *) "diff", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23635 if (SWIG_arg_fail(1)) SWIG_fail
;
23637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23638 if (SWIG_arg_fail(2)) SWIG_fail
;
23639 if (arg2
== NULL
) {
23640 SWIG_null_ref("wxDateSpan");
23642 if (SWIG_arg_fail(2)) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23648 result
= (wxDateTime
*) &_result_ref
;
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23661 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
= NULL
;
23663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23664 wxDateTime
*arg2
= 0 ;
23666 PyObject
* obj0
= 0 ;
23667 PyObject
* obj1
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self",(char *) "dt", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23674 if (SWIG_arg_fail(1)) SWIG_fail
;
23676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23677 if (SWIG_arg_fail(2)) SWIG_fail
;
23678 if (arg2
== NULL
) {
23679 SWIG_null_ref("wxDateTime");
23681 if (SWIG_arg_fail(2)) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 wxTimeSpan
* resultptr
;
23692 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23701 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23702 PyObject
*resultobj
= NULL
;
23703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23704 wxTimeSpan
*arg2
= 0 ;
23705 wxDateTime
*result
;
23706 PyObject
* obj0
= 0 ;
23707 PyObject
* obj1
= 0 ;
23709 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23711 if (SWIG_arg_fail(1)) SWIG_fail
;
23713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23714 if (SWIG_arg_fail(2)) SWIG_fail
;
23715 if (arg2
== NULL
) {
23716 SWIG_null_ref("wxTimeSpan");
23718 if (SWIG_arg_fail(2)) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23724 result
= (wxDateTime
*) &_result_ref
;
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23737 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23738 PyObject
*resultobj
= NULL
;
23739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23740 wxDateSpan
*arg2
= 0 ;
23741 wxDateTime
*result
;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23745 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23747 if (SWIG_arg_fail(1)) SWIG_fail
;
23749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23750 if (SWIG_arg_fail(2)) SWIG_fail
;
23751 if (arg2
== NULL
) {
23752 SWIG_null_ref("wxDateSpan");
23754 if (SWIG_arg_fail(2)) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23760 result
= (wxDateTime
*) &_result_ref
;
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23773 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23778 argc
= PyObject_Length(args
);
23779 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23780 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23786 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23796 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23804 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23812 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23822 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23830 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23835 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23840 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23841 PyObject
*resultobj
= NULL
;
23842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23843 wxTimeSpan
*arg2
= 0 ;
23844 wxDateTime
*result
;
23845 PyObject
* obj0
= 0 ;
23846 PyObject
* obj1
= 0 ;
23848 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23850 if (SWIG_arg_fail(1)) SWIG_fail
;
23852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23853 if (SWIG_arg_fail(2)) SWIG_fail
;
23854 if (arg2
== NULL
) {
23855 SWIG_null_ref("wxTimeSpan");
23857 if (SWIG_arg_fail(2)) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23863 result
= (wxDateTime
*) &_result_ref
;
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23876 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23877 PyObject
*resultobj
= NULL
;
23878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23879 wxDateSpan
*arg2
= 0 ;
23880 wxDateTime
*result
;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23884 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23886 if (SWIG_arg_fail(1)) SWIG_fail
;
23888 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23889 if (SWIG_arg_fail(2)) SWIG_fail
;
23890 if (arg2
== NULL
) {
23891 SWIG_null_ref("wxDateSpan");
23893 if (SWIG_arg_fail(2)) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23899 result
= (wxDateTime
*) &_result_ref
;
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23912 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
23917 argc
= PyObject_Length(args
);
23918 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23919 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23925 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23935 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23943 return _wrap_DateTime___isub____SWIG_0(self
,args
);
23951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23961 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23969 return _wrap_DateTime___isub____SWIG_1(self
,args
);
23974 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
23979 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
23980 PyObject
*resultobj
= NULL
;
23981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23982 wxTimeSpan
*arg2
= 0 ;
23984 PyObject
* obj0
= 0 ;
23985 PyObject
* obj1
= 0 ;
23987 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
23988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23989 if (SWIG_arg_fail(1)) SWIG_fail
;
23991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23992 if (SWIG_arg_fail(2)) SWIG_fail
;
23993 if (arg2
== NULL
) {
23994 SWIG_null_ref("wxTimeSpan");
23996 if (SWIG_arg_fail(2)) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 wxDateTime
* resultptr
;
24007 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24016 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24017 PyObject
*resultobj
= NULL
;
24018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24019 wxDateSpan
*arg2
= 0 ;
24021 PyObject
* obj0
= 0 ;
24022 PyObject
* obj1
= 0 ;
24024 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24026 if (SWIG_arg_fail(1)) SWIG_fail
;
24028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24029 if (SWIG_arg_fail(2)) SWIG_fail
;
24030 if (arg2
== NULL
) {
24031 SWIG_null_ref("wxDateSpan");
24033 if (SWIG_arg_fail(2)) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24043 wxDateTime
* resultptr
;
24044 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24053 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24058 argc
= PyObject_Length(args
);
24059 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24060 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24066 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24076 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24084 return _wrap_DateTime___add____SWIG_0(self
,args
);
24092 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24102 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24110 return _wrap_DateTime___add____SWIG_1(self
,args
);
24115 Py_INCREF(Py_NotImplemented
);
24116 return Py_NotImplemented
;
24120 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24121 PyObject
*resultobj
= NULL
;
24122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24123 wxDateTime
*arg2
= 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24128 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24130 if (SWIG_arg_fail(1)) SWIG_fail
;
24132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24133 if (SWIG_arg_fail(2)) SWIG_fail
;
24134 if (arg2
== NULL
) {
24135 SWIG_null_ref("wxDateTime");
24137 if (SWIG_arg_fail(2)) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24147 wxTimeSpan
* resultptr
;
24148 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24157 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24158 PyObject
*resultobj
= NULL
;
24159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24160 wxTimeSpan
*arg2
= 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24165 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24167 if (SWIG_arg_fail(1)) SWIG_fail
;
24169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24170 if (SWIG_arg_fail(2)) SWIG_fail
;
24171 if (arg2
== NULL
) {
24172 SWIG_null_ref("wxTimeSpan");
24174 if (SWIG_arg_fail(2)) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24184 wxDateTime
* resultptr
;
24185 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24194 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24195 PyObject
*resultobj
= NULL
;
24196 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24197 wxDateSpan
*arg2
= 0 ;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24202 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24204 if (SWIG_arg_fail(1)) SWIG_fail
;
24206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24207 if (SWIG_arg_fail(2)) SWIG_fail
;
24208 if (arg2
== NULL
) {
24209 SWIG_null_ref("wxDateSpan");
24211 if (SWIG_arg_fail(2)) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 wxDateTime
* resultptr
;
24222 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24231 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24236 argc
= PyObject_Length(args
);
24237 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24238 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24244 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24254 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24262 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24270 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24280 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24288 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24296 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24306 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24314 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24319 Py_INCREF(Py_NotImplemented
);
24320 return Py_NotImplemented
;
24324 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
= NULL
;
24326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24327 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 char *kwnames
[] = {
24332 (char *) "self",(char *) "other", NULL
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24337 if (SWIG_arg_fail(1)) SWIG_fail
;
24338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24339 if (SWIG_arg_fail(2)) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24356 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= NULL
;
24358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24359 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "other", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24369 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24371 if (SWIG_arg_fail(2)) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24388 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= NULL
;
24390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24391 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self",(char *) "other", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24401 if (SWIG_arg_fail(1)) SWIG_fail
;
24402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24403 if (SWIG_arg_fail(2)) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24420 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
= NULL
;
24422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24423 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 char *kwnames
[] = {
24428 (char *) "self",(char *) "other", NULL
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24433 if (SWIG_arg_fail(1)) SWIG_fail
;
24434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24435 if (SWIG_arg_fail(2)) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24452 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
= NULL
;
24454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24455 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24457 PyObject
* obj0
= 0 ;
24458 PyObject
* obj1
= 0 ;
24459 char *kwnames
[] = {
24460 (char *) "self",(char *) "other", NULL
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24465 if (SWIG_arg_fail(1)) SWIG_fail
;
24466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24467 if (SWIG_arg_fail(2)) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24484 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
= NULL
;
24486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24487 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self",(char *) "other", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24497 if (SWIG_arg_fail(1)) SWIG_fail
;
24498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24499 if (SWIG_arg_fail(2)) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24516 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
= NULL
;
24518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24519 wxString
*arg2
= 0 ;
24521 bool temp2
= false ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "date", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24530 if (SWIG_arg_fail(1)) SWIG_fail
;
24532 arg2
= wxString_in_helper(obj1
);
24533 if (arg2
== NULL
) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= SWIG_From_int(static_cast<int >(result
));
24560 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
= NULL
;
24562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24563 wxString
*arg2
= 0 ;
24564 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24566 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24567 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24569 bool temp2
= false ;
24570 bool temp3
= false ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 PyObject
* obj2
= 0 ;
24574 PyObject
* obj3
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24581 if (SWIG_arg_fail(1)) SWIG_fail
;
24583 arg2
= wxString_in_helper(obj1
);
24584 if (arg2
== NULL
) SWIG_fail
;
24589 arg3
= wxString_in_helper(obj2
);
24590 if (arg3
== NULL
) SWIG_fail
;
24596 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24597 if (SWIG_arg_fail(4)) SWIG_fail
;
24598 if (arg4
== NULL
) {
24599 SWIG_null_ref("wxDateTime");
24601 if (SWIG_arg_fail(4)) SWIG_fail
;
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_From_int(static_cast<int >(result
));
24636 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
= NULL
;
24638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24639 wxString
*arg2
= 0 ;
24641 bool temp2
= false ;
24642 PyObject
* obj0
= 0 ;
24643 PyObject
* obj1
= 0 ;
24644 char *kwnames
[] = {
24645 (char *) "self",(char *) "datetime", NULL
24648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24650 if (SWIG_arg_fail(1)) SWIG_fail
;
24652 arg2
= wxString_in_helper(obj1
);
24653 if (arg2
== NULL
) SWIG_fail
;
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= SWIG_From_int(static_cast<int >(result
));
24680 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
= NULL
;
24682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24683 wxString
*arg2
= 0 ;
24685 bool temp2
= false ;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self",(char *) "date", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24694 if (SWIG_arg_fail(1)) SWIG_fail
;
24696 arg2
= wxString_in_helper(obj1
);
24697 if (arg2
== NULL
) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= SWIG_From_int(static_cast<int >(result
));
24724 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
= NULL
;
24726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24727 wxString
*arg2
= 0 ;
24729 bool temp2
= false ;
24730 PyObject
* obj0
= 0 ;
24731 PyObject
* obj1
= 0 ;
24732 char *kwnames
[] = {
24733 (char *) "self",(char *) "time", NULL
24736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24738 if (SWIG_arg_fail(1)) SWIG_fail
;
24740 arg2
= wxString_in_helper(obj1
);
24741 if (arg2
== NULL
) SWIG_fail
;
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_From_int(static_cast<int >(result
));
24768 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24769 PyObject
*resultobj
= NULL
;
24770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24771 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24772 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24773 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24774 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24776 bool temp2
= false ;
24777 bool temp3
= false ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 PyObject
* obj2
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "format",(char *) "tz", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24787 if (SWIG_arg_fail(1)) SWIG_fail
;
24790 arg2
= wxString_in_helper(obj1
);
24791 if (arg2
== NULL
) SWIG_fail
;
24797 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24820 if (temp3
) delete arg3
;
24829 if (temp3
) delete arg3
;
24835 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
= NULL
;
24837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24839 PyObject
* obj0
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24846 if (SWIG_arg_fail(1)) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24867 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
= NULL
;
24869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24878 if (SWIG_arg_fail(1)) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= ((wxDateTime
const *)arg1
)->FormatTime();
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24899 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
= NULL
;
24901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
24909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24910 if (SWIG_arg_fail(1)) SWIG_fail
;
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24931 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
= NULL
;
24933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 char *kwnames
[] = {
24937 (char *) "self", NULL
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
24941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24942 if (SWIG_arg_fail(1)) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24963 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
24965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24966 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
24968 return Py_BuildValue((char *)"");
24970 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
= NULL
;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "sec", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
24981 arg1
= static_cast<long >(SWIG_As_long(obj0
));
24982 if (SWIG_arg_fail(1)) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 result
= wxTimeSpan::Seconds(arg1
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24992 wxTimeSpan
* resultptr
;
24993 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25002 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
= NULL
;
25005 char *kwnames
[] = {
25009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= wxTimeSpan::Second();
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25018 wxTimeSpan
* resultptr
;
25019 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25028 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
= NULL
;
25032 PyObject
* obj0
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "min", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
25039 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25040 if (SWIG_arg_fail(1)) SWIG_fail
;
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 result
= wxTimeSpan::Minutes(arg1
);
25046 wxPyEndAllowThreads(__tstate
);
25047 if (PyErr_Occurred()) SWIG_fail
;
25050 wxTimeSpan
* resultptr
;
25051 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25060 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
= NULL
;
25063 char *kwnames
[] = {
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= wxTimeSpan::Minute();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25076 wxTimeSpan
* resultptr
;
25077 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25086 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
= NULL
;
25090 PyObject
* obj0
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "hours", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
25097 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25098 if (SWIG_arg_fail(1)) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= wxTimeSpan::Hours(arg1
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25108 wxTimeSpan
* resultptr
;
25109 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25118 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
= NULL
;
25121 char *kwnames
[] = {
25125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= wxTimeSpan::Hour();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25134 wxTimeSpan
* resultptr
;
25135 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25144 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
= NULL
;
25148 PyObject
* obj0
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "days", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
25155 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25156 if (SWIG_arg_fail(1)) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= wxTimeSpan::Days(arg1
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 wxTimeSpan
* resultptr
;
25167 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25176 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
= NULL
;
25179 char *kwnames
[] = {
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= wxTimeSpan::Day();
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25192 wxTimeSpan
* resultptr
;
25193 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25202 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
= NULL
;
25206 PyObject
* obj0
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "days", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25213 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25214 if (SWIG_arg_fail(1)) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 result
= wxTimeSpan::Weeks(arg1
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25224 wxTimeSpan
* resultptr
;
25225 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25234 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
= NULL
;
25237 char *kwnames
[] = {
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= wxTimeSpan::Week();
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25250 wxTimeSpan
* resultptr
;
25251 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25260 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
= NULL
;
25262 long arg1
= (long) 0 ;
25263 long arg2
= (long) 0 ;
25264 long arg3
= (long) 0 ;
25265 long arg4
= (long) 0 ;
25266 wxTimeSpan
*result
;
25267 PyObject
* obj0
= 0 ;
25268 PyObject
* obj1
= 0 ;
25269 PyObject
* obj2
= 0 ;
25270 PyObject
* obj3
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25278 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25279 if (SWIG_arg_fail(1)) SWIG_fail
;
25284 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25285 if (SWIG_arg_fail(2)) SWIG_fail
;
25290 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25291 if (SWIG_arg_fail(3)) SWIG_fail
;
25296 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25297 if (SWIG_arg_fail(4)) SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25314 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
= NULL
;
25316 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25324 if (SWIG_arg_fail(1)) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 Py_INCREF(Py_None
); resultobj
= Py_None
;
25339 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
= NULL
;
25341 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25342 wxTimeSpan
*arg2
= 0 ;
25343 wxTimeSpan
*result
;
25344 PyObject
* obj0
= 0 ;
25345 PyObject
* obj1
= 0 ;
25346 char *kwnames
[] = {
25347 (char *) "self",(char *) "diff", NULL
25350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25352 if (SWIG_arg_fail(1)) SWIG_fail
;
25354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25355 if (SWIG_arg_fail(2)) SWIG_fail
;
25356 if (arg2
== NULL
) {
25357 SWIG_null_ref("wxTimeSpan");
25359 if (SWIG_arg_fail(2)) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25365 result
= (wxTimeSpan
*) &_result_ref
;
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25378 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
= NULL
;
25380 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25381 wxTimeSpan
*arg2
= 0 ;
25382 wxTimeSpan
*result
;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 char *kwnames
[] = {
25386 (char *) "self",(char *) "diff", NULL
25389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25391 if (SWIG_arg_fail(1)) SWIG_fail
;
25393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25394 if (SWIG_arg_fail(2)) SWIG_fail
;
25395 if (arg2
== NULL
) {
25396 SWIG_null_ref("wxTimeSpan");
25398 if (SWIG_arg_fail(2)) SWIG_fail
;
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25404 result
= (wxTimeSpan
*) &_result_ref
;
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25417 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= NULL
;
25419 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25421 wxTimeSpan
*result
;
25422 PyObject
* obj0
= 0 ;
25423 PyObject
* obj1
= 0 ;
25424 char *kwnames
[] = {
25425 (char *) "self",(char *) "n", NULL
25428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25430 if (SWIG_arg_fail(1)) SWIG_fail
;
25432 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25433 if (SWIG_arg_fail(2)) SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25439 result
= (wxTimeSpan
*) &_result_ref
;
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25452 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
= NULL
;
25454 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25455 wxTimeSpan
*result
;
25456 PyObject
* obj0
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25463 if (SWIG_arg_fail(1)) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25468 result
= (wxTimeSpan
*) &_result_ref
;
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25481 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
= NULL
;
25483 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25485 PyObject
* obj0
= 0 ;
25486 char *kwnames
[] = {
25487 (char *) "self", NULL
25490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25492 if (SWIG_arg_fail(1)) SWIG_fail
;
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25501 wxTimeSpan
* resultptr
;
25502 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25511 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25512 PyObject
*resultobj
= NULL
;
25513 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25514 wxTimeSpan
*arg2
= 0 ;
25515 wxTimeSpan
*result
;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "diff", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25524 if (SWIG_arg_fail(1)) SWIG_fail
;
25526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25527 if (SWIG_arg_fail(2)) SWIG_fail
;
25528 if (arg2
== NULL
) {
25529 SWIG_null_ref("wxTimeSpan");
25531 if (SWIG_arg_fail(2)) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25537 result
= (wxTimeSpan
*) &_result_ref
;
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25550 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
= NULL
;
25552 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25553 wxTimeSpan
*arg2
= 0 ;
25554 wxTimeSpan
*result
;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self",(char *) "diff", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25563 if (SWIG_arg_fail(1)) SWIG_fail
;
25565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25566 if (SWIG_arg_fail(2)) SWIG_fail
;
25567 if (arg2
== NULL
) {
25568 SWIG_null_ref("wxTimeSpan");
25570 if (SWIG_arg_fail(2)) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25576 result
= (wxTimeSpan
*) &_result_ref
;
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25589 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
= NULL
;
25591 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25593 wxTimeSpan
*result
;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 char *kwnames
[] = {
25597 (char *) "self",(char *) "n", NULL
25600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25602 if (SWIG_arg_fail(1)) SWIG_fail
;
25604 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25605 if (SWIG_arg_fail(2)) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25611 result
= (wxTimeSpan
*) &_result_ref
;
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25624 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
= NULL
;
25626 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25627 wxTimeSpan
*result
;
25628 PyObject
* obj0
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25635 if (SWIG_arg_fail(1)) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25640 result
= (wxTimeSpan
*) &_result_ref
;
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25653 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25654 PyObject
*resultobj
= NULL
;
25655 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25656 wxTimeSpan
*arg2
= 0 ;
25658 PyObject
* obj0
= 0 ;
25659 PyObject
* obj1
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self",(char *) "other", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25666 if (SWIG_arg_fail(1)) SWIG_fail
;
25668 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25669 if (SWIG_arg_fail(2)) SWIG_fail
;
25670 if (arg2
== NULL
) {
25671 SWIG_null_ref("wxTimeSpan");
25673 if (SWIG_arg_fail(2)) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25683 wxTimeSpan
* resultptr
;
25684 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25693 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
= NULL
;
25695 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25696 wxTimeSpan
*arg2
= 0 ;
25698 PyObject
* obj0
= 0 ;
25699 PyObject
* obj1
= 0 ;
25700 char *kwnames
[] = {
25701 (char *) "self",(char *) "other", NULL
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail
;
25708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25709 if (SWIG_arg_fail(2)) SWIG_fail
;
25710 if (arg2
== NULL
) {
25711 SWIG_null_ref("wxTimeSpan");
25713 if (SWIG_arg_fail(2)) SWIG_fail
;
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25723 wxTimeSpan
* resultptr
;
25724 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25733 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
= NULL
;
25735 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "n", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25746 if (SWIG_arg_fail(1)) SWIG_fail
;
25748 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25749 if (SWIG_arg_fail(2)) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= wxTimeSpan___mul__(arg1
,arg2
);
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25759 wxTimeSpan
* resultptr
;
25760 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25769 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
= NULL
;
25771 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25774 PyObject
* obj0
= 0 ;
25775 PyObject
* obj1
= 0 ;
25776 char *kwnames
[] = {
25777 (char *) "self",(char *) "n", NULL
25780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25782 if (SWIG_arg_fail(1)) SWIG_fail
;
25784 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25785 if (SWIG_arg_fail(2)) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25795 wxTimeSpan
* resultptr
;
25796 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25805 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
= NULL
;
25807 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25808 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self",(char *) "other", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25818 if (SWIG_arg_fail(1)) SWIG_fail
;
25819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25820 if (SWIG_arg_fail(2)) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25837 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
= NULL
;
25839 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25840 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25842 PyObject
* obj0
= 0 ;
25843 PyObject
* obj1
= 0 ;
25844 char *kwnames
[] = {
25845 (char *) "self",(char *) "other", NULL
25848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25850 if (SWIG_arg_fail(1)) SWIG_fail
;
25851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25852 if (SWIG_arg_fail(2)) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25869 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
= NULL
;
25871 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25872 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "self",(char *) "other", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25882 if (SWIG_arg_fail(1)) SWIG_fail
;
25883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25884 if (SWIG_arg_fail(2)) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25901 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
= NULL
;
25903 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25904 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 char *kwnames
[] = {
25909 (char *) "self",(char *) "other", NULL
25912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
25913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25914 if (SWIG_arg_fail(1)) SWIG_fail
;
25915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25916 if (SWIG_arg_fail(2)) SWIG_fail
;
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25933 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
= NULL
;
25935 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25936 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self",(char *) "other", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
25945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25946 if (SWIG_arg_fail(1)) SWIG_fail
;
25947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25948 if (SWIG_arg_fail(2)) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25965 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
= NULL
;
25967 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25968 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25970 PyObject
* obj0
= 0 ;
25971 PyObject
* obj1
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "other", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
25977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25978 if (SWIG_arg_fail(1)) SWIG_fail
;
25979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25980 if (SWIG_arg_fail(2)) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25997 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25998 PyObject
*resultobj
= NULL
;
25999 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26001 PyObject
* obj0
= 0 ;
26002 char *kwnames
[] = {
26003 (char *) "self", NULL
26006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26008 if (SWIG_arg_fail(1)) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26025 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
= NULL
;
26027 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26029 PyObject
* obj0
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
26035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26036 if (SWIG_arg_fail(1)) SWIG_fail
;
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26053 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
= NULL
;
26055 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26057 PyObject
* obj0
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26064 if (SWIG_arg_fail(1)) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26081 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
= NULL
;
26083 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26084 wxTimeSpan
*arg2
= 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self",(char *) "ts", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26094 if (SWIG_arg_fail(1)) SWIG_fail
;
26096 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26097 if (SWIG_arg_fail(2)) SWIG_fail
;
26098 if (arg2
== NULL
) {
26099 SWIG_null_ref("wxTimeSpan");
26101 if (SWIG_arg_fail(2)) SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26119 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
= NULL
;
26121 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26122 wxTimeSpan
*arg2
= 0 ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self",(char *) "ts", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26132 if (SWIG_arg_fail(1)) SWIG_fail
;
26134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26135 if (SWIG_arg_fail(2)) SWIG_fail
;
26136 if (arg2
== NULL
) {
26137 SWIG_null_ref("wxTimeSpan");
26139 if (SWIG_arg_fail(2)) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26157 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26158 PyObject
*resultobj
= NULL
;
26159 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26160 wxTimeSpan
*arg2
= 0 ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self",(char *) "t", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26170 if (SWIG_arg_fail(1)) SWIG_fail
;
26172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26173 if (SWIG_arg_fail(2)) SWIG_fail
;
26174 if (arg2
== NULL
) {
26175 SWIG_null_ref("wxTimeSpan");
26177 if (SWIG_arg_fail(2)) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26195 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
= NULL
;
26197 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 char *kwnames
[] = {
26201 (char *) "self", NULL
26204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_From_int(static_cast<int >(result
));
26223 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
= NULL
;
26225 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26227 PyObject
* obj0
= 0 ;
26228 char *kwnames
[] = {
26229 (char *) "self", NULL
26232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26234 if (SWIG_arg_fail(1)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= SWIG_From_int(static_cast<int >(result
));
26251 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26252 PyObject
*resultobj
= NULL
;
26253 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26255 PyObject
* obj0
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self", NULL
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail
;
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_From_int(static_cast<int >(result
));
26279 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
= NULL
;
26281 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26283 PyObject
* obj0
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26290 if (SWIG_arg_fail(1)) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_From_int(static_cast<int >(result
));
26307 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
= NULL
;
26309 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26311 PyObject
* obj0
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26318 if (SWIG_arg_fail(1)) SWIG_fail
;
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26327 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26328 hi
= PyLong_FromLong( (&result
)->GetHi() );
26329 lo
= PyLong_FromLong( (&result
)->GetLo() );
26330 shifter
= PyLong_FromLong(32);
26331 shifted
= PyNumber_Lshift(hi
, shifter
);
26332 resultobj
= PyNumber_Or(shifted
, lo
);
26335 Py_DECREF(shifter
);
26336 Py_DECREF(shifted
);
26344 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
= NULL
;
26346 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26355 if (SWIG_arg_fail(1)) SWIG_fail
;
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26364 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26365 hi
= PyLong_FromLong( (&result
)->GetHi() );
26366 lo
= PyLong_FromLong( (&result
)->GetLo() );
26367 shifter
= PyLong_FromLong(32);
26368 shifted
= PyNumber_Lshift(hi
, shifter
);
26369 resultobj
= PyNumber_Or(shifted
, lo
);
26372 Py_DECREF(shifter
);
26373 Py_DECREF(shifted
);
26381 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
= NULL
;
26383 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26384 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26385 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26387 bool temp2
= false ;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self",(char *) "format", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26396 if (SWIG_arg_fail(1)) SWIG_fail
;
26399 arg2
= wxString_in_helper(obj1
);
26400 if (arg2
== NULL
) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26432 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26435 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26437 return Py_BuildValue((char *)"");
26439 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
= NULL
;
26441 int arg1
= (int) 0 ;
26442 int arg2
= (int) 0 ;
26443 int arg3
= (int) 0 ;
26444 int arg4
= (int) 0 ;
26445 wxDateSpan
*result
;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 PyObject
* obj2
= 0 ;
26449 PyObject
* obj3
= 0 ;
26450 char *kwnames
[] = {
26451 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26457 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26458 if (SWIG_arg_fail(1)) SWIG_fail
;
26463 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26464 if (SWIG_arg_fail(2)) SWIG_fail
;
26469 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26470 if (SWIG_arg_fail(3)) SWIG_fail
;
26475 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26476 if (SWIG_arg_fail(4)) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26493 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
= NULL
;
26495 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 char *kwnames
[] = {
26498 (char *) "self", NULL
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26503 if (SWIG_arg_fail(1)) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 Py_INCREF(Py_None
); resultobj
= Py_None
;
26518 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
= NULL
;
26522 PyObject
* obj0
= 0 ;
26523 char *kwnames
[] = {
26524 (char *) "days", NULL
26527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
26529 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26530 if (SWIG_arg_fail(1)) SWIG_fail
;
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= wxDateSpan::Days(arg1
);
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26540 wxDateSpan
* resultptr
;
26541 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26550 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
= NULL
;
26553 char *kwnames
[] = {
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= wxDateSpan::Day();
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26566 wxDateSpan
* resultptr
;
26567 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26576 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
= NULL
;
26580 PyObject
* obj0
= 0 ;
26581 char *kwnames
[] = {
26582 (char *) "weeks", NULL
26585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
26587 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26588 if (SWIG_arg_fail(1)) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= wxDateSpan::Weeks(arg1
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26598 wxDateSpan
* resultptr
;
26599 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26608 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
= NULL
;
26611 char *kwnames
[] = {
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= wxDateSpan::Week();
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 wxDateSpan
* resultptr
;
26625 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26634 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
= NULL
;
26638 PyObject
* obj0
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "mon", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
26645 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26646 if (SWIG_arg_fail(1)) SWIG_fail
;
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= wxDateSpan::Months(arg1
);
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26656 wxDateSpan
* resultptr
;
26657 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26666 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
= NULL
;
26669 char *kwnames
[] = {
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= wxDateSpan::Month();
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26682 wxDateSpan
* resultptr
;
26683 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26692 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= NULL
;
26696 PyObject
* obj0
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "years", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26703 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26704 if (SWIG_arg_fail(1)) SWIG_fail
;
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 result
= wxDateSpan::Years(arg1
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26714 wxDateSpan
* resultptr
;
26715 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26724 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
= NULL
;
26727 char *kwnames
[] = {
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= wxDateSpan::Year();
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26740 wxDateSpan
* resultptr
;
26741 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26750 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= NULL
;
26752 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26754 wxDateSpan
*result
;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char *kwnames
[] = {
26758 (char *) "self",(char *) "n", NULL
26761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26763 if (SWIG_arg_fail(1)) SWIG_fail
;
26765 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26766 if (SWIG_arg_fail(2)) SWIG_fail
;
26769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26772 result
= (wxDateSpan
*) &_result_ref
;
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26785 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
= NULL
;
26787 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26789 wxDateSpan
*result
;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 char *kwnames
[] = {
26793 (char *) "self",(char *) "n", NULL
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26798 if (SWIG_arg_fail(1)) SWIG_fail
;
26800 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26801 if (SWIG_arg_fail(2)) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26807 result
= (wxDateSpan
*) &_result_ref
;
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26820 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
= NULL
;
26822 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26824 wxDateSpan
*result
;
26825 PyObject
* obj0
= 0 ;
26826 PyObject
* obj1
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self",(char *) "n", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26833 if (SWIG_arg_fail(1)) SWIG_fail
;
26835 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26836 if (SWIG_arg_fail(2)) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26842 result
= (wxDateSpan
*) &_result_ref
;
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26855 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
= NULL
;
26857 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26859 wxDateSpan
*result
;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 char *kwnames
[] = {
26863 (char *) "self",(char *) "n", NULL
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26868 if (SWIG_arg_fail(1)) SWIG_fail
;
26870 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26871 if (SWIG_arg_fail(2)) SWIG_fail
;
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26877 result
= (wxDateSpan
*) &_result_ref
;
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26890 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
= NULL
;
26892 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 char *kwnames
[] = {
26896 (char *) "self", NULL
26899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
26900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26901 if (SWIG_arg_fail(1)) SWIG_fail
;
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= SWIG_From_int(static_cast<int >(result
));
26918 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
= NULL
;
26920 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26922 PyObject
* obj0
= 0 ;
26923 char *kwnames
[] = {
26924 (char *) "self", NULL
26927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
26928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26929 if (SWIG_arg_fail(1)) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= SWIG_From_int(static_cast<int >(result
));
26946 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
= NULL
;
26948 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26950 PyObject
* obj0
= 0 ;
26951 char *kwnames
[] = {
26952 (char *) "self", NULL
26955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26957 if (SWIG_arg_fail(1)) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= SWIG_From_int(static_cast<int >(result
));
26974 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
= NULL
;
26976 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26985 if (SWIG_arg_fail(1)) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= SWIG_From_int(static_cast<int >(result
));
27002 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
= NULL
;
27004 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27006 PyObject
* obj0
= 0 ;
27007 char *kwnames
[] = {
27008 (char *) "self", NULL
27011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27013 if (SWIG_arg_fail(1)) SWIG_fail
;
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= SWIG_From_int(static_cast<int >(result
));
27030 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
= NULL
;
27032 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27033 wxDateSpan
*arg2
= 0 ;
27034 wxDateSpan
*result
;
27035 PyObject
* obj0
= 0 ;
27036 PyObject
* obj1
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self",(char *) "other", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27043 if (SWIG_arg_fail(1)) SWIG_fail
;
27045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27046 if (SWIG_arg_fail(2)) SWIG_fail
;
27047 if (arg2
== NULL
) {
27048 SWIG_null_ref("wxDateSpan");
27050 if (SWIG_arg_fail(2)) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27056 result
= (wxDateSpan
*) &_result_ref
;
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27069 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
= NULL
;
27071 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27072 wxDateSpan
*arg2
= 0 ;
27073 wxDateSpan
*result
;
27074 PyObject
* obj0
= 0 ;
27075 PyObject
* obj1
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self",(char *) "other", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27082 if (SWIG_arg_fail(1)) SWIG_fail
;
27084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27085 if (SWIG_arg_fail(2)) SWIG_fail
;
27086 if (arg2
== NULL
) {
27087 SWIG_null_ref("wxDateSpan");
27089 if (SWIG_arg_fail(2)) SWIG_fail
;
27092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27095 result
= (wxDateSpan
*) &_result_ref
;
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27108 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
= NULL
;
27110 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27111 wxDateSpan
*result
;
27112 PyObject
* obj0
= 0 ;
27113 char *kwnames
[] = {
27114 (char *) "self", NULL
27117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27119 if (SWIG_arg_fail(1)) SWIG_fail
;
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27124 result
= (wxDateSpan
*) &_result_ref
;
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27137 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
= NULL
;
27139 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27141 wxDateSpan
*result
;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "factor", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(1)) SWIG_fail
;
27152 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27153 if (SWIG_arg_fail(2)) SWIG_fail
;
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27159 result
= (wxDateSpan
*) &_result_ref
;
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27172 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
= NULL
;
27174 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27175 wxDateSpan
*arg2
= 0 ;
27176 wxDateSpan
*result
;
27177 PyObject
* obj0
= 0 ;
27178 PyObject
* obj1
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self",(char *) "other", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27185 if (SWIG_arg_fail(1)) SWIG_fail
;
27187 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27188 if (SWIG_arg_fail(2)) SWIG_fail
;
27189 if (arg2
== NULL
) {
27190 SWIG_null_ref("wxDateSpan");
27192 if (SWIG_arg_fail(2)) SWIG_fail
;
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27198 result
= (wxDateSpan
*) &_result_ref
;
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27211 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
= NULL
;
27213 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27214 wxDateSpan
*arg2
= 0 ;
27215 wxDateSpan
*result
;
27216 PyObject
* obj0
= 0 ;
27217 PyObject
* obj1
= 0 ;
27218 char *kwnames
[] = {
27219 (char *) "self",(char *) "other", NULL
27222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27224 if (SWIG_arg_fail(1)) SWIG_fail
;
27226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27227 if (SWIG_arg_fail(2)) SWIG_fail
;
27228 if (arg2
== NULL
) {
27229 SWIG_null_ref("wxDateSpan");
27231 if (SWIG_arg_fail(2)) SWIG_fail
;
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27237 result
= (wxDateSpan
*) &_result_ref
;
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27250 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
= NULL
;
27252 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27253 wxDateSpan
*result
;
27254 PyObject
* obj0
= 0 ;
27255 char *kwnames
[] = {
27256 (char *) "self", NULL
27259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27261 if (SWIG_arg_fail(1)) SWIG_fail
;
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27266 result
= (wxDateSpan
*) &_result_ref
;
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27279 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
= NULL
;
27281 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27283 wxDateSpan
*result
;
27284 PyObject
* obj0
= 0 ;
27285 PyObject
* obj1
= 0 ;
27286 char *kwnames
[] = {
27287 (char *) "self",(char *) "factor", NULL
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27292 if (SWIG_arg_fail(1)) SWIG_fail
;
27294 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27295 if (SWIG_arg_fail(2)) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27301 result
= (wxDateSpan
*) &_result_ref
;
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27314 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
= NULL
;
27316 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27317 wxDateSpan
*arg2
= 0 ;
27319 PyObject
* obj0
= 0 ;
27320 PyObject
* obj1
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "self",(char *) "other", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27327 if (SWIG_arg_fail(1)) SWIG_fail
;
27329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27330 if (SWIG_arg_fail(2)) SWIG_fail
;
27331 if (arg2
== NULL
) {
27332 SWIG_null_ref("wxDateSpan");
27334 if (SWIG_arg_fail(2)) SWIG_fail
;
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27344 wxDateSpan
* resultptr
;
27345 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27354 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
= NULL
;
27356 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27357 wxDateSpan
*arg2
= 0 ;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self",(char *) "other", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27367 if (SWIG_arg_fail(1)) SWIG_fail
;
27369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27370 if (SWIG_arg_fail(2)) SWIG_fail
;
27371 if (arg2
== NULL
) {
27372 SWIG_null_ref("wxDateSpan");
27374 if (SWIG_arg_fail(2)) SWIG_fail
;
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27384 wxDateSpan
* resultptr
;
27385 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27394 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
= NULL
;
27396 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27399 PyObject
* obj0
= 0 ;
27400 PyObject
* obj1
= 0 ;
27401 char *kwnames
[] = {
27402 (char *) "self",(char *) "n", NULL
27405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27407 if (SWIG_arg_fail(1)) SWIG_fail
;
27409 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27410 if (SWIG_arg_fail(2)) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 result
= wxDateSpan___mul__(arg1
,arg2
);
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27420 wxDateSpan
* resultptr
;
27421 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27430 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
= NULL
;
27432 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27435 PyObject
* obj0
= 0 ;
27436 PyObject
* obj1
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self",(char *) "n", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail
;
27445 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27446 if (SWIG_arg_fail(2)) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 result
= wxDateSpan___rmul__(arg1
,arg2
);
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27456 wxDateSpan
* resultptr
;
27457 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27466 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
= NULL
;
27468 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27469 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27471 PyObject
* obj0
= 0 ;
27472 PyObject
* obj1
= 0 ;
27473 char *kwnames
[] = {
27474 (char *) "self",(char *) "other", NULL
27477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27479 if (SWIG_arg_fail(1)) SWIG_fail
;
27480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27481 if (SWIG_arg_fail(2)) SWIG_fail
;
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27484 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27498 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27499 PyObject
*resultobj
= NULL
;
27500 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27501 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27503 PyObject
* obj0
= 0 ;
27504 PyObject
* obj1
= 0 ;
27505 char *kwnames
[] = {
27506 (char *) "self",(char *) "other", NULL
27509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27511 if (SWIG_arg_fail(1)) SWIG_fail
;
27512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(2)) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27530 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27533 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27535 return Py_BuildValue((char *)"");
27537 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
= NULL
;
27540 char *kwnames
[] = {
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 result
= (long)wxGetLocalTime();
27549 wxPyEndAllowThreads(__tstate
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27553 resultobj
= SWIG_From_long(static_cast<long >(result
));
27561 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
= NULL
;
27564 char *kwnames
[] = {
27568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= (long)wxGetUTCTime();
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= SWIG_From_long(static_cast<long >(result
));
27585 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
= NULL
;
27588 char *kwnames
[] = {
27592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 result
= (long)wxGetCurrentTime();
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27601 resultobj
= SWIG_From_long(static_cast<long >(result
));
27609 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27610 PyObject
*resultobj
= NULL
;
27612 char *kwnames
[] = {
27616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 result
= wxGetLocalTimeMillis();
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27626 hi
= PyLong_FromLong( (&result
)->GetHi() );
27627 lo
= PyLong_FromLong( (&result
)->GetLo() );
27628 shifter
= PyLong_FromLong(32);
27629 shifted
= PyNumber_Lshift(hi
, shifter
);
27630 resultobj
= PyNumber_Or(shifted
, lo
);
27633 Py_DECREF(shifter
);
27634 Py_DECREF(shifted
);
27642 static int _wrap_DefaultDateTime_set(PyObject
*) {
27643 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27648 static PyObject
*_wrap_DefaultDateTime_get(void) {
27649 PyObject
*pyobj
= NULL
;
27651 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27656 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
= NULL
;
27658 wxDataFormatId arg1
;
27659 wxDataFormat
*result
;
27660 PyObject
* obj0
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "type", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27667 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27668 if (SWIG_arg_fail(1)) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27684 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
= NULL
;
27686 wxString
*arg1
= 0 ;
27687 wxDataFormat
*result
;
27688 bool temp1
= false ;
27689 PyObject
* obj0
= 0 ;
27690 char *kwnames
[] = {
27691 (char *) "format", NULL
27694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27696 arg1
= wxString_in_helper(obj0
);
27697 if (arg1
== NULL
) SWIG_fail
;
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27702 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27722 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
= NULL
;
27724 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27725 PyObject
* obj0
= 0 ;
27726 char *kwnames
[] = {
27727 (char *) "self", NULL
27730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27732 if (SWIG_arg_fail(1)) SWIG_fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27740 Py_INCREF(Py_None
); resultobj
= Py_None
;
27747 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27748 PyObject
*resultobj
= NULL
;
27749 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27750 wxDataFormatId arg2
;
27752 PyObject
* obj0
= 0 ;
27753 PyObject
* obj1
= 0 ;
27755 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27757 if (SWIG_arg_fail(1)) SWIG_fail
;
27759 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27760 if (SWIG_arg_fail(2)) SWIG_fail
;
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27778 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27779 PyObject
*resultobj
= NULL
;
27780 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27781 wxDataFormatId arg2
;
27783 PyObject
* obj0
= 0 ;
27784 PyObject
* obj1
= 0 ;
27786 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27788 if (SWIG_arg_fail(1)) SWIG_fail
;
27790 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27791 if (SWIG_arg_fail(2)) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27809 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27810 PyObject
*resultobj
= NULL
;
27811 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27812 wxDataFormat
*arg2
= 0 ;
27814 PyObject
* obj0
= 0 ;
27815 PyObject
* obj1
= 0 ;
27817 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27819 if (SWIG_arg_fail(1)) SWIG_fail
;
27821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27822 if (SWIG_arg_fail(2)) SWIG_fail
;
27823 if (arg2
== NULL
) {
27824 SWIG_null_ref("wxDataFormat");
27826 if (SWIG_arg_fail(2)) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27844 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27849 argc
= PyObject_Length(args
);
27850 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27851 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27857 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27867 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27875 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
27883 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27891 _v
= SWIG_Check_int(argv
[1]);
27893 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
27898 Py_INCREF(Py_NotImplemented
);
27899 return Py_NotImplemented
;
27903 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
27904 PyObject
*resultobj
= NULL
;
27905 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27906 wxDataFormat
*arg2
= 0 ;
27908 PyObject
* obj0
= 0 ;
27909 PyObject
* obj1
= 0 ;
27911 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27913 if (SWIG_arg_fail(1)) SWIG_fail
;
27915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27916 if (SWIG_arg_fail(2)) SWIG_fail
;
27917 if (arg2
== NULL
) {
27918 SWIG_null_ref("wxDataFormat");
27920 if (SWIG_arg_fail(2)) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27938 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
27943 argc
= PyObject_Length(args
);
27944 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27945 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27961 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27969 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
27977 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27985 _v
= SWIG_Check_int(argv
[1]);
27987 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
27992 Py_INCREF(Py_NotImplemented
);
27993 return Py_NotImplemented
;
27997 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
= NULL
;
27999 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28000 wxDataFormatId arg2
;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self",(char *) "format", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28009 if (SWIG_arg_fail(1)) SWIG_fail
;
28011 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28012 if (SWIG_arg_fail(2)) SWIG_fail
;
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28016 (arg1
)->SetType(arg2
);
28018 wxPyEndAllowThreads(__tstate
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28021 Py_INCREF(Py_None
); resultobj
= Py_None
;
28028 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
= NULL
;
28030 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28031 wxDataFormatId result
;
28032 PyObject
* obj0
= 0 ;
28033 char *kwnames
[] = {
28034 (char *) "self", NULL
28037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28039 if (SWIG_arg_fail(1)) SWIG_fail
;
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28047 resultobj
= SWIG_From_int((result
));
28054 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28055 PyObject
*resultobj
= NULL
;
28056 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28058 PyObject
* obj0
= 0 ;
28059 char *kwnames
[] = {
28060 (char *) "self", NULL
28063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28065 if (SWIG_arg_fail(1)) SWIG_fail
;
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 result
= ((wxDataFormat
const *)arg1
)->GetId();
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28086 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
= NULL
;
28088 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28089 wxString
*arg2
= 0 ;
28090 bool temp2
= false ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self",(char *) "format", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28099 if (SWIG_arg_fail(1)) SWIG_fail
;
28101 arg2
= wxString_in_helper(obj1
);
28102 if (arg2
== NULL
) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 (arg1
)->SetId((wxString
const &)*arg2
);
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 Py_INCREF(Py_None
); resultobj
= Py_None
;
28127 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28130 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28132 return Py_BuildValue((char *)"");
28134 static int _wrap_FormatInvalid_set(PyObject
*) {
28135 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28140 static PyObject
*_wrap_FormatInvalid_get(void) {
28141 PyObject
*pyobj
= NULL
;
28143 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28148 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28149 PyObject
*resultobj
= NULL
;
28150 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28151 PyObject
* obj0
= 0 ;
28152 char *kwnames
[] = {
28153 (char *) "self", NULL
28156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28158 if (SWIG_arg_fail(1)) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 Py_INCREF(Py_None
); resultobj
= Py_None
;
28173 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
= NULL
;
28175 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28176 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28177 SwigValueWrapper
<wxDataFormat
> result
;
28178 PyObject
* obj0
= 0 ;
28179 PyObject
* obj1
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self",(char *) "dir", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28186 if (SWIG_arg_fail(1)) SWIG_fail
;
28189 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28190 if (SWIG_arg_fail(2)) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28201 wxDataFormat
* resultptr
;
28202 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28211 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28212 PyObject
*resultobj
= NULL
;
28213 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28214 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28216 PyObject
* obj0
= 0 ;
28217 PyObject
* obj1
= 0 ;
28218 char *kwnames
[] = {
28219 (char *) "self",(char *) "dir", NULL
28222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28224 if (SWIG_arg_fail(1)) SWIG_fail
;
28227 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28228 if (SWIG_arg_fail(2)) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28239 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28247 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
= NULL
;
28249 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28250 wxDataFormat
*arg2
= 0 ;
28251 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28253 PyObject
* obj0
= 0 ;
28254 PyObject
* obj1
= 0 ;
28255 PyObject
* obj2
= 0 ;
28256 char *kwnames
[] = {
28257 (char *) "self",(char *) "format",(char *) "dir", NULL
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28262 if (SWIG_arg_fail(1)) SWIG_fail
;
28264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28265 if (SWIG_arg_fail(2)) SWIG_fail
;
28266 if (arg2
== NULL
) {
28267 SWIG_null_ref("wxDataFormat");
28269 if (SWIG_arg_fail(2)) SWIG_fail
;
28273 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28274 if (SWIG_arg_fail(3)) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28293 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28294 PyObject
*resultobj
= NULL
;
28295 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28296 wxDataFormat
*arg2
= 0 ;
28298 PyObject
* obj0
= 0 ;
28299 PyObject
* obj1
= 0 ;
28300 char *kwnames
[] = {
28301 (char *) "self",(char *) "format", NULL
28304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28306 if (SWIG_arg_fail(1)) SWIG_fail
;
28308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28309 if (SWIG_arg_fail(2)) SWIG_fail
;
28310 if (arg2
== NULL
) {
28311 SWIG_null_ref("wxDataFormat");
28313 if (SWIG_arg_fail(2)) SWIG_fail
;
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28323 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28331 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28332 PyObject
*resultobj
= NULL
;
28333 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28334 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28336 PyObject
* obj0
= 0 ;
28337 PyObject
* obj1
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self",(char *) "dir", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail
;
28347 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28348 if (SWIG_arg_fail(2)) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28358 resultobj
= result
;
28365 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
= NULL
;
28367 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28368 wxDataFormat
*arg2
= 0 ;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self",(char *) "format", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28378 if (SWIG_arg_fail(1)) SWIG_fail
;
28380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28381 if (SWIG_arg_fail(2)) SWIG_fail
;
28382 if (arg2
== NULL
) {
28383 SWIG_null_ref("wxDataFormat");
28385 if (SWIG_arg_fail(2)) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= result
;
28401 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
= NULL
;
28403 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28404 wxDataFormat
*arg2
= 0 ;
28405 PyObject
*arg3
= (PyObject
*) 0 ;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 PyObject
* obj2
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self",(char *) "format",(char *) "data", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28416 if (SWIG_arg_fail(1)) SWIG_fail
;
28418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28419 if (SWIG_arg_fail(2)) SWIG_fail
;
28420 if (arg2
== NULL
) {
28421 SWIG_null_ref("wxDataFormat");
28423 if (SWIG_arg_fail(2)) SWIG_fail
;
28427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28442 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28445 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28447 return Py_BuildValue((char *)"");
28449 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
= NULL
;
28451 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28452 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28453 wxDataObjectSimple
*result
;
28454 PyObject
* obj0
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "format", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28463 if (SWIG_arg_fail(1)) SWIG_fail
;
28464 if (arg1
== NULL
) {
28465 SWIG_null_ref("wxDataFormat");
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28484 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
= NULL
;
28486 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28487 wxDataFormat
*result
;
28488 PyObject
* obj0
= 0 ;
28489 char *kwnames
[] = {
28490 (char *) "self", NULL
28493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28495 if (SWIG_arg_fail(1)) SWIG_fail
;
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28500 result
= (wxDataFormat
*) &_result_ref
;
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28513 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28514 PyObject
*resultobj
= NULL
;
28515 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28516 wxDataFormat
*arg2
= 0 ;
28517 PyObject
* obj0
= 0 ;
28518 PyObject
* obj1
= 0 ;
28519 char *kwnames
[] = {
28520 (char *) "self",(char *) "format", NULL
28523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28525 if (SWIG_arg_fail(1)) SWIG_fail
;
28527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28528 if (SWIG_arg_fail(2)) SWIG_fail
;
28529 if (arg2
== NULL
) {
28530 SWIG_null_ref("wxDataFormat");
28532 if (SWIG_arg_fail(2)) SWIG_fail
;
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28538 wxPyEndAllowThreads(__tstate
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28541 Py_INCREF(Py_None
); resultobj
= Py_None
;
28548 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
= NULL
;
28550 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28552 PyObject
* obj0
= 0 ;
28553 char *kwnames
[] = {
28554 (char *) "self", NULL
28557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28559 if (SWIG_arg_fail(1)) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28568 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28576 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28577 PyObject
*resultobj
= NULL
;
28578 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28580 PyObject
* obj0
= 0 ;
28581 char *kwnames
[] = {
28582 (char *) "self", NULL
28585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28587 if (SWIG_arg_fail(1)) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= result
;
28602 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
= NULL
;
28604 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28605 PyObject
*arg2
= (PyObject
*) 0 ;
28607 PyObject
* obj0
= 0 ;
28608 PyObject
* obj1
= 0 ;
28609 char *kwnames
[] = {
28610 (char *) "self",(char *) "data", NULL
28613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28615 if (SWIG_arg_fail(1)) SWIG_fail
;
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28619 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28621 wxPyEndAllowThreads(__tstate
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28633 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28636 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28638 return Py_BuildValue((char *)"");
28640 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28641 PyObject
*resultobj
= NULL
;
28642 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28643 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28644 wxPyDataObjectSimple
*result
;
28645 PyObject
* obj0
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "format", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28654 if (SWIG_arg_fail(1)) SWIG_fail
;
28655 if (arg1
== NULL
) {
28656 SWIG_null_ref("wxDataFormat");
28658 if (SWIG_arg_fail(1)) SWIG_fail
;
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28663 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28675 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
= NULL
;
28677 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28678 PyObject
*arg2
= (PyObject
*) 0 ;
28679 PyObject
*arg3
= (PyObject
*) 0 ;
28680 PyObject
* obj0
= 0 ;
28681 PyObject
* obj1
= 0 ;
28682 PyObject
* obj2
= 0 ;
28683 char *kwnames
[] = {
28684 (char *) "self",(char *) "self",(char *) "_class", NULL
28687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28689 if (SWIG_arg_fail(1)) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28699 Py_INCREF(Py_None
); resultobj
= Py_None
;
28706 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28709 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28711 return Py_BuildValue((char *)"");
28713 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
= NULL
;
28715 wxDataObjectComposite
*result
;
28716 char *kwnames
[] = {
28720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28723 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28725 wxPyEndAllowThreads(__tstate
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28735 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28736 PyObject
*resultobj
= NULL
;
28737 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28738 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28739 bool arg3
= (bool) false ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 PyObject
* obj2
= 0 ;
28743 char *kwnames
[] = {
28744 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28749 if (SWIG_arg_fail(1)) SWIG_fail
;
28750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28751 if (SWIG_arg_fail(2)) SWIG_fail
;
28754 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28755 if (SWIG_arg_fail(3)) SWIG_fail
;
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28760 (arg1
)->Add(arg2
,arg3
);
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 Py_INCREF(Py_None
); resultobj
= Py_None
;
28772 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28775 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28777 return Py_BuildValue((char *)"");
28779 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
= NULL
;
28781 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28782 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28783 wxTextDataObject
*result
;
28784 bool temp1
= false ;
28785 PyObject
* obj0
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "text", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28793 arg1
= wxString_in_helper(obj0
);
28794 if (arg1
== NULL
) SWIG_fail
;
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28802 wxPyEndAllowThreads(__tstate
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28820 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
= NULL
;
28822 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28824 PyObject
* obj0
= 0 ;
28825 char *kwnames
[] = {
28826 (char *) "self", NULL
28829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28831 if (SWIG_arg_fail(1)) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (size_t)(arg1
)->GetTextLength();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28848 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
= NULL
;
28850 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28852 PyObject
* obj0
= 0 ;
28853 char *kwnames
[] = {
28854 (char *) "self", NULL
28857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28859 if (SWIG_arg_fail(1)) SWIG_fail
;
28861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28862 result
= (arg1
)->GetText();
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28880 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
= NULL
;
28882 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28883 wxString
*arg2
= 0 ;
28884 bool temp2
= false ;
28885 PyObject
* obj0
= 0 ;
28886 PyObject
* obj1
= 0 ;
28887 char *kwnames
[] = {
28888 (char *) "self",(char *) "text", NULL
28891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
28892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28893 if (SWIG_arg_fail(1)) SWIG_fail
;
28895 arg2
= wxString_in_helper(obj1
);
28896 if (arg2
== NULL
) SWIG_fail
;
28900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28901 (arg1
)->SetText((wxString
const &)*arg2
);
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28906 Py_INCREF(Py_None
); resultobj
= Py_None
;
28921 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
28923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28924 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
28926 return Py_BuildValue((char *)"");
28928 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28929 PyObject
*resultobj
= NULL
;
28930 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28931 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28932 wxPyTextDataObject
*result
;
28933 bool temp1
= false ;
28934 PyObject
* obj0
= 0 ;
28935 char *kwnames
[] = {
28936 (char *) "text", NULL
28939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
28942 arg1
= wxString_in_helper(obj0
);
28943 if (arg1
== NULL
) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
28969 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
= NULL
;
28971 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
28972 PyObject
*arg2
= (PyObject
*) 0 ;
28973 PyObject
*arg3
= (PyObject
*) 0 ;
28974 PyObject
* obj0
= 0 ;
28975 PyObject
* obj1
= 0 ;
28976 PyObject
* obj2
= 0 ;
28977 char *kwnames
[] = {
28978 (char *) "self",(char *) "self",(char *) "_class", NULL
28981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28983 if (SWIG_arg_fail(1)) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28993 Py_INCREF(Py_None
); resultobj
= Py_None
;
29000 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29003 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29005 return Py_BuildValue((char *)"");
29007 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
= NULL
;
29009 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29010 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29011 wxBitmapDataObject
*result
;
29012 PyObject
* obj0
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "bitmap", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29021 if (SWIG_arg_fail(1)) SWIG_fail
;
29022 if (arg1
== NULL
) {
29023 SWIG_null_ref("wxBitmap");
29025 if (SWIG_arg_fail(1)) SWIG_fail
;
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29042 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
= NULL
;
29044 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29046 PyObject
* obj0
= 0 ;
29047 char *kwnames
[] = {
29048 (char *) "self", NULL
29051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29053 if (SWIG_arg_fail(1)) SWIG_fail
;
29055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29062 wxBitmap
* resultptr
;
29063 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29072 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
= NULL
;
29074 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29075 wxBitmap
*arg2
= 0 ;
29076 PyObject
* obj0
= 0 ;
29077 PyObject
* obj1
= 0 ;
29078 char *kwnames
[] = {
29079 (char *) "self",(char *) "bitmap", NULL
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29084 if (SWIG_arg_fail(1)) SWIG_fail
;
29086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29087 if (SWIG_arg_fail(2)) SWIG_fail
;
29088 if (arg2
== NULL
) {
29089 SWIG_null_ref("wxBitmap");
29091 if (SWIG_arg_fail(2)) SWIG_fail
;
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29097 wxPyEndAllowThreads(__tstate
);
29098 if (PyErr_Occurred()) SWIG_fail
;
29100 Py_INCREF(Py_None
); resultobj
= Py_None
;
29107 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29110 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29112 return Py_BuildValue((char *)"");
29114 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
= NULL
;
29116 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29117 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29118 wxPyBitmapDataObject
*result
;
29119 PyObject
* obj0
= 0 ;
29120 char *kwnames
[] = {
29121 (char *) "bitmap", NULL
29124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29128 if (SWIG_arg_fail(1)) SWIG_fail
;
29129 if (arg1
== NULL
) {
29130 SWIG_null_ref("wxBitmap");
29132 if (SWIG_arg_fail(1)) SWIG_fail
;
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29149 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
= NULL
;
29151 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29152 PyObject
*arg2
= (PyObject
*) 0 ;
29153 PyObject
*arg3
= (PyObject
*) 0 ;
29154 PyObject
* obj0
= 0 ;
29155 PyObject
* obj1
= 0 ;
29156 PyObject
* obj2
= 0 ;
29157 char *kwnames
[] = {
29158 (char *) "self",(char *) "self",(char *) "_class", NULL
29161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29163 if (SWIG_arg_fail(1)) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 Py_INCREF(Py_None
); resultobj
= Py_None
;
29180 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29183 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29185 return Py_BuildValue((char *)"");
29187 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
= NULL
;
29189 wxFileDataObject
*result
;
29190 char *kwnames
[] = {
29194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (wxFileDataObject
*)new wxFileDataObject();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29209 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
= NULL
;
29211 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29212 wxArrayString
*result
;
29213 PyObject
* obj0
= 0 ;
29214 char *kwnames
[] = {
29215 (char *) "self", NULL
29218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29220 if (SWIG_arg_fail(1)) SWIG_fail
;
29222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29225 result
= (wxArrayString
*) &_result_ref
;
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= wxArrayString2PyList_helper(*result
);
29240 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
= NULL
;
29242 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29243 wxString
*arg2
= 0 ;
29244 bool temp2
= false ;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 char *kwnames
[] = {
29248 (char *) "self",(char *) "filename", NULL
29251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29253 if (SWIG_arg_fail(1)) SWIG_fail
;
29255 arg2
= wxString_in_helper(obj1
);
29256 if (arg2
== NULL
) SWIG_fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 (arg1
)->AddFile((wxString
const &)*arg2
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 Py_INCREF(Py_None
); resultobj
= Py_None
;
29281 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29284 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29286 return Py_BuildValue((char *)"");
29288 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29289 PyObject
*resultobj
= NULL
;
29290 wxDataFormat
*arg1
= 0 ;
29291 wxCustomDataObject
*result
;
29292 PyObject
* obj0
= 0 ;
29294 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29297 if (SWIG_arg_fail(1)) SWIG_fail
;
29298 if (arg1
== NULL
) {
29299 SWIG_null_ref("wxDataFormat");
29301 if (SWIG_arg_fail(1)) SWIG_fail
;
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29317 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29318 PyObject
*resultobj
= NULL
;
29319 wxString
*arg1
= 0 ;
29320 wxCustomDataObject
*result
;
29321 bool temp1
= false ;
29322 PyObject
* obj0
= 0 ;
29324 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29326 arg1
= wxString_in_helper(obj0
);
29327 if (arg1
== NULL
) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29352 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29353 PyObject
*resultobj
= NULL
;
29354 wxCustomDataObject
*result
;
29356 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29371 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29376 argc
= PyObject_Length(args
);
29377 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29378 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29381 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29386 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29389 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29396 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29404 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29408 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29413 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
= NULL
;
29415 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29416 PyObject
*arg2
= (PyObject
*) 0 ;
29418 PyObject
* obj0
= 0 ;
29419 PyObject
* obj1
= 0 ;
29420 char *kwnames
[] = {
29421 (char *) "self",(char *) "data", NULL
29424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29426 if (SWIG_arg_fail(1)) SWIG_fail
;
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29444 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
= NULL
;
29446 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29448 PyObject
* obj0
= 0 ;
29449 char *kwnames
[] = {
29450 (char *) "self", NULL
29453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29455 if (SWIG_arg_fail(1)) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (size_t)(arg1
)->GetSize();
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29472 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
= NULL
;
29474 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29476 PyObject
* obj0
= 0 ;
29477 char *kwnames
[] = {
29478 (char *) "self", NULL
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29483 if (SWIG_arg_fail(1)) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 resultobj
= result
;
29498 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29501 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29503 return Py_BuildValue((char *)"");
29505 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
= NULL
;
29507 wxURLDataObject
*result
;
29508 char *kwnames
[] = {
29512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= (wxURLDataObject
*)new wxURLDataObject();
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29527 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
= NULL
;
29529 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29531 PyObject
* obj0
= 0 ;
29532 char *kwnames
[] = {
29533 (char *) "self", NULL
29536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29538 if (SWIG_arg_fail(1)) SWIG_fail
;
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= (arg1
)->GetURL();
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29559 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
= NULL
;
29561 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29562 wxString
*arg2
= 0 ;
29563 bool temp2
= false ;
29564 PyObject
* obj0
= 0 ;
29565 PyObject
* obj1
= 0 ;
29566 char *kwnames
[] = {
29567 (char *) "self",(char *) "url", NULL
29570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29572 if (SWIG_arg_fail(1)) SWIG_fail
;
29574 arg2
= wxString_in_helper(obj1
);
29575 if (arg2
== NULL
) SWIG_fail
;
29579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29580 (arg1
)->SetURL((wxString
const &)*arg2
);
29582 wxPyEndAllowThreads(__tstate
);
29583 if (PyErr_Occurred()) SWIG_fail
;
29585 Py_INCREF(Py_None
); resultobj
= Py_None
;
29600 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29603 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29605 return Py_BuildValue((char *)"");
29607 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
= NULL
;
29609 wxMetafileDataObject
*result
;
29610 char *kwnames
[] = {
29614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29629 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
= NULL
;
29631 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29632 wxMetafile
*arg2
= 0 ;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "self",(char *) "metafile", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
29640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail
;
29643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
29644 if (SWIG_arg_fail(2)) SWIG_fail
;
29645 if (arg2
== NULL
) {
29646 SWIG_null_ref("wxMetafile");
29648 if (SWIG_arg_fail(2)) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29657 Py_INCREF(Py_None
); resultobj
= Py_None
;
29664 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
= NULL
;
29666 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29668 PyObject
* obj0
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "self", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
29674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29675 if (SWIG_arg_fail(1)) SWIG_fail
;
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29684 wxMetafile
* resultptr
;
29685 resultptr
= new wxMetafile(static_cast<wxMetafile
& >(result
));
29686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
29694 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29697 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29699 return Py_BuildValue((char *)"");
29701 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
= NULL
;
29703 wxDragResult arg1
;
29705 PyObject
* obj0
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "res", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29712 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29713 if (SWIG_arg_fail(1)) SWIG_fail
;
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 result
= (bool)wxIsDragResultOk(arg1
);
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29731 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
= NULL
;
29733 wxWindow
*arg1
= (wxWindow
*) 0 ;
29734 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29735 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29736 wxCursor
const &arg3_defvalue
= wxNullCursor
;
29737 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
29738 wxCursor
const &arg4_defvalue
= wxNullCursor
;
29739 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
29740 wxPyDropSource
*result
;
29741 PyObject
* obj0
= 0 ;
29742 PyObject
* obj1
= 0 ;
29743 PyObject
* obj2
= 0 ;
29744 PyObject
* obj3
= 0 ;
29745 char *kwnames
[] = {
29746 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29751 if (SWIG_arg_fail(1)) SWIG_fail
;
29754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29755 if (SWIG_arg_fail(2)) SWIG_fail
;
29756 if (arg2
== NULL
) {
29757 SWIG_null_ref("wxCursor");
29759 if (SWIG_arg_fail(2)) SWIG_fail
;
29764 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29765 if (SWIG_arg_fail(3)) SWIG_fail
;
29766 if (arg3
== NULL
) {
29767 SWIG_null_ref("wxCursor");
29769 if (SWIG_arg_fail(3)) SWIG_fail
;
29774 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29775 if (SWIG_arg_fail(4)) SWIG_fail
;
29776 if (arg4
== NULL
) {
29777 SWIG_null_ref("wxCursor");
29779 if (SWIG_arg_fail(4)) SWIG_fail
;
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29796 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
= NULL
;
29798 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29799 PyObject
*arg2
= (PyObject
*) 0 ;
29800 PyObject
*arg3
= (PyObject
*) 0 ;
29802 PyObject
* obj0
= 0 ;
29803 PyObject
* obj1
= 0 ;
29804 PyObject
* obj2
= 0 ;
29805 PyObject
* obj3
= 0 ;
29806 char *kwnames
[] = {
29807 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29812 if (SWIG_arg_fail(1)) SWIG_fail
;
29816 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29817 if (SWIG_arg_fail(4)) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 Py_INCREF(Py_None
); resultobj
= Py_None
;
29833 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
= NULL
;
29835 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29836 PyObject
* obj0
= 0 ;
29837 char *kwnames
[] = {
29838 (char *) "self", NULL
29841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 Py_INCREF(Py_None
); resultobj
= Py_None
;
29858 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
= NULL
;
29860 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29861 wxDataObject
*arg2
= 0 ;
29862 PyObject
* obj0
= 0 ;
29863 PyObject
* obj1
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self",(char *) "data", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail
;
29872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29873 if (SWIG_arg_fail(2)) SWIG_fail
;
29874 if (arg2
== NULL
) {
29875 SWIG_null_ref("wxDataObject");
29877 if (SWIG_arg_fail(2)) SWIG_fail
;
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 (arg1
)->SetData(*arg2
);
29883 wxPyEndAllowThreads(__tstate
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29886 Py_INCREF(Py_None
); resultobj
= Py_None
;
29893 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29894 PyObject
*resultobj
= NULL
;
29895 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29896 wxDataObject
*result
;
29897 PyObject
* obj0
= 0 ;
29898 char *kwnames
[] = {
29899 (char *) "self", NULL
29902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
29903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29904 if (SWIG_arg_fail(1)) SWIG_fail
;
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29919 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29920 PyObject
*resultobj
= NULL
;
29921 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29922 wxDragResult arg2
;
29923 wxCursor
*arg3
= 0 ;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 PyObject
* obj2
= 0 ;
29927 char *kwnames
[] = {
29928 (char *) "self",(char *) "res",(char *) "cursor", NULL
29931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29933 if (SWIG_arg_fail(1)) SWIG_fail
;
29935 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
29936 if (SWIG_arg_fail(2)) SWIG_fail
;
29939 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29940 if (SWIG_arg_fail(3)) SWIG_fail
;
29941 if (arg3
== NULL
) {
29942 SWIG_null_ref("wxCursor");
29944 if (SWIG_arg_fail(3)) SWIG_fail
;
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
29950 wxPyEndAllowThreads(__tstate
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29953 Py_INCREF(Py_None
); resultobj
= Py_None
;
29960 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
= NULL
;
29962 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29963 int arg2
= (int) wxDrag_CopyOnly
;
29964 wxDragResult result
;
29965 PyObject
* obj0
= 0 ;
29966 PyObject
* obj1
= 0 ;
29967 char *kwnames
[] = {
29968 (char *) "self",(char *) "flags", NULL
29971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
29972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29973 if (SWIG_arg_fail(1)) SWIG_fail
;
29976 arg2
= static_cast<int >(SWIG_As_int(obj1
));
29977 if (SWIG_arg_fail(2)) SWIG_fail
;
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= SWIG_From_int((result
));
29994 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
= NULL
;
29996 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29997 wxDragResult arg2
;
29999 PyObject
* obj0
= 0 ;
30000 PyObject
* obj1
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self",(char *) "effect", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
30006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30007 if (SWIG_arg_fail(1)) SWIG_fail
;
30009 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30010 if (SWIG_arg_fail(2)) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (bool)(arg1
)->base_GiveFeedback(arg2
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30028 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30031 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30033 return Py_BuildValue((char *)"");
30035 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30036 PyObject
*resultobj
= NULL
;
30037 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30038 wxPyDropTarget
*result
;
30039 PyObject
* obj0
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "dataObject", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30047 if (SWIG_arg_fail(1)) SWIG_fail
;
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30063 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
= NULL
;
30065 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30066 PyObject
*arg2
= (PyObject
*) 0 ;
30067 PyObject
*arg3
= (PyObject
*) 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 PyObject
* obj2
= 0 ;
30071 char *kwnames
[] = {
30072 (char *) "self",(char *) "self",(char *) "_class", NULL
30075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30077 if (SWIG_arg_fail(1)) SWIG_fail
;
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 Py_INCREF(Py_None
); resultobj
= Py_None
;
30094 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30095 PyObject
*resultobj
= NULL
;
30096 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30097 PyObject
* obj0
= 0 ;
30098 char *kwnames
[] = {
30099 (char *) "self", NULL
30102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30104 if (SWIG_arg_fail(1)) SWIG_fail
;
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 Py_INCREF(Py_None
); resultobj
= Py_None
;
30119 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= NULL
;
30121 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30122 wxDataObject
*result
;
30123 PyObject
* obj0
= 0 ;
30124 char *kwnames
[] = {
30125 (char *) "self", NULL
30128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30130 if (SWIG_arg_fail(1)) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30145 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30146 PyObject
*resultobj
= NULL
;
30147 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30148 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30149 PyObject
* obj0
= 0 ;
30150 PyObject
* obj1
= 0 ;
30151 char *kwnames
[] = {
30152 (char *) "self",(char *) "dataObject", NULL
30155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30157 if (SWIG_arg_fail(1)) SWIG_fail
;
30158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30159 if (SWIG_arg_fail(2)) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 (arg1
)->SetDataObject(arg2
);
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 Py_INCREF(Py_None
); resultobj
= Py_None
;
30174 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
= NULL
;
30176 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30179 wxDragResult arg4
;
30180 wxDragResult result
;
30181 PyObject
* obj0
= 0 ;
30182 PyObject
* obj1
= 0 ;
30183 PyObject
* obj2
= 0 ;
30184 PyObject
* obj3
= 0 ;
30185 char *kwnames
[] = {
30186 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30191 if (SWIG_arg_fail(1)) SWIG_fail
;
30193 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30194 if (SWIG_arg_fail(2)) SWIG_fail
;
30197 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30198 if (SWIG_arg_fail(3)) SWIG_fail
;
30201 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30202 if (SWIG_arg_fail(4)) SWIG_fail
;
30205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30206 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30208 wxPyEndAllowThreads(__tstate
);
30209 if (PyErr_Occurred()) SWIG_fail
;
30211 resultobj
= SWIG_From_int((result
));
30218 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
= NULL
;
30220 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30223 wxDragResult arg4
;
30224 wxDragResult result
;
30225 PyObject
* obj0
= 0 ;
30226 PyObject
* obj1
= 0 ;
30227 PyObject
* obj2
= 0 ;
30228 PyObject
* obj3
= 0 ;
30229 char *kwnames
[] = {
30230 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30235 if (SWIG_arg_fail(1)) SWIG_fail
;
30237 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30238 if (SWIG_arg_fail(2)) SWIG_fail
;
30241 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30242 if (SWIG_arg_fail(3)) SWIG_fail
;
30245 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30246 if (SWIG_arg_fail(4)) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= SWIG_From_int((result
));
30262 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
= NULL
;
30264 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30265 PyObject
* obj0
= 0 ;
30266 char *kwnames
[] = {
30267 (char *) "self", NULL
30270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30272 if (SWIG_arg_fail(1)) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 (arg1
)->base_OnLeave();
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 Py_INCREF(Py_None
); resultobj
= Py_None
;
30287 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
= NULL
;
30289 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30293 PyObject
* obj0
= 0 ;
30294 PyObject
* obj1
= 0 ;
30295 PyObject
* obj2
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self",(char *) "x",(char *) "y", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30302 if (SWIG_arg_fail(1)) SWIG_fail
;
30304 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30305 if (SWIG_arg_fail(2)) SWIG_fail
;
30308 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30309 if (SWIG_arg_fail(3)) SWIG_fail
;
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30315 wxPyEndAllowThreads(__tstate
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30327 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30328 PyObject
*resultobj
= NULL
;
30329 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30331 PyObject
* obj0
= 0 ;
30332 char *kwnames
[] = {
30333 (char *) "self", NULL
30336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30338 if (SWIG_arg_fail(1)) SWIG_fail
;
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 result
= (bool)(arg1
)->GetData();
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30355 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30356 PyObject
*resultobj
= NULL
;
30357 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30358 wxDragResult arg2
;
30359 PyObject
* obj0
= 0 ;
30360 PyObject
* obj1
= 0 ;
30361 char *kwnames
[] = {
30362 (char *) "self",(char *) "action", NULL
30365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30367 if (SWIG_arg_fail(1)) SWIG_fail
;
30369 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30370 if (SWIG_arg_fail(2)) SWIG_fail
;
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30374 (arg1
)->SetDefaultAction(arg2
);
30376 wxPyEndAllowThreads(__tstate
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30379 Py_INCREF(Py_None
); resultobj
= Py_None
;
30386 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30387 PyObject
*resultobj
= NULL
;
30388 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30389 wxDragResult result
;
30390 PyObject
* obj0
= 0 ;
30391 char *kwnames
[] = {
30392 (char *) "self", NULL
30395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30397 if (SWIG_arg_fail(1)) SWIG_fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= SWIG_From_int((result
));
30412 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30415 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30417 return Py_BuildValue((char *)"");
30419 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
= NULL
;
30421 wxPyTextDropTarget
*result
;
30422 char *kwnames
[] = {
30426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30441 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
= NULL
;
30443 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30444 PyObject
*arg2
= (PyObject
*) 0 ;
30445 PyObject
*arg3
= (PyObject
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 PyObject
* obj2
= 0 ;
30449 char *kwnames
[] = {
30450 (char *) "self",(char *) "self",(char *) "_class", NULL
30453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail
;
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30465 Py_INCREF(Py_None
); resultobj
= Py_None
;
30472 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
= NULL
;
30474 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30477 wxDragResult arg4
;
30478 wxDragResult result
;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 PyObject
* obj2
= 0 ;
30482 PyObject
* obj3
= 0 ;
30483 char *kwnames
[] = {
30484 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30489 if (SWIG_arg_fail(1)) SWIG_fail
;
30491 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30492 if (SWIG_arg_fail(2)) SWIG_fail
;
30495 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30496 if (SWIG_arg_fail(3)) SWIG_fail
;
30499 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30500 if (SWIG_arg_fail(4)) SWIG_fail
;
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30506 wxPyEndAllowThreads(__tstate
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30509 resultobj
= SWIG_From_int((result
));
30516 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30517 PyObject
*resultobj
= NULL
;
30518 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30521 wxDragResult arg4
;
30522 wxDragResult result
;
30523 PyObject
* obj0
= 0 ;
30524 PyObject
* obj1
= 0 ;
30525 PyObject
* obj2
= 0 ;
30526 PyObject
* obj3
= 0 ;
30527 char *kwnames
[] = {
30528 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30533 if (SWIG_arg_fail(1)) SWIG_fail
;
30535 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30536 if (SWIG_arg_fail(2)) SWIG_fail
;
30539 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30540 if (SWIG_arg_fail(3)) SWIG_fail
;
30543 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30544 if (SWIG_arg_fail(4)) SWIG_fail
;
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= SWIG_From_int((result
));
30560 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
= NULL
;
30562 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30563 PyObject
* obj0
= 0 ;
30564 char *kwnames
[] = {
30565 (char *) "self", NULL
30568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30570 if (SWIG_arg_fail(1)) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 (arg1
)->base_OnLeave();
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 Py_INCREF(Py_None
); resultobj
= Py_None
;
30585 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30586 PyObject
*resultobj
= NULL
;
30587 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30591 PyObject
* obj0
= 0 ;
30592 PyObject
* obj1
= 0 ;
30593 PyObject
* obj2
= 0 ;
30594 char *kwnames
[] = {
30595 (char *) "self",(char *) "x",(char *) "y", NULL
30598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30600 if (SWIG_arg_fail(1)) SWIG_fail
;
30602 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30603 if (SWIG_arg_fail(2)) SWIG_fail
;
30606 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30607 if (SWIG_arg_fail(3)) SWIG_fail
;
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30611 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30625 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30626 PyObject
*resultobj
= NULL
;
30627 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30630 wxDragResult arg4
;
30631 wxDragResult result
;
30632 PyObject
* obj0
= 0 ;
30633 PyObject
* obj1
= 0 ;
30634 PyObject
* obj2
= 0 ;
30635 PyObject
* obj3
= 0 ;
30636 char *kwnames
[] = {
30637 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30642 if (SWIG_arg_fail(1)) SWIG_fail
;
30644 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30645 if (SWIG_arg_fail(2)) SWIG_fail
;
30648 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30649 if (SWIG_arg_fail(3)) SWIG_fail
;
30652 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30653 if (SWIG_arg_fail(4)) SWIG_fail
;
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= SWIG_From_int((result
));
30669 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30672 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30674 return Py_BuildValue((char *)"");
30676 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
= NULL
;
30678 wxPyFileDropTarget
*result
;
30679 char *kwnames
[] = {
30683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30686 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30698 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30699 PyObject
*resultobj
= NULL
;
30700 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30701 PyObject
*arg2
= (PyObject
*) 0 ;
30702 PyObject
*arg3
= (PyObject
*) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 PyObject
* obj2
= 0 ;
30706 char *kwnames
[] = {
30707 (char *) "self",(char *) "self",(char *) "_class", NULL
30710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30712 if (SWIG_arg_fail(1)) SWIG_fail
;
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 Py_INCREF(Py_None
); resultobj
= Py_None
;
30729 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30730 PyObject
*resultobj
= NULL
;
30731 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30734 wxDragResult arg4
;
30735 wxDragResult result
;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 PyObject
* obj2
= 0 ;
30739 PyObject
* obj3
= 0 ;
30740 char *kwnames
[] = {
30741 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30746 if (SWIG_arg_fail(1)) SWIG_fail
;
30748 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30749 if (SWIG_arg_fail(2)) SWIG_fail
;
30752 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30753 if (SWIG_arg_fail(3)) SWIG_fail
;
30756 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30757 if (SWIG_arg_fail(4)) SWIG_fail
;
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30766 resultobj
= SWIG_From_int((result
));
30773 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
= NULL
;
30775 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30778 wxDragResult arg4
;
30779 wxDragResult result
;
30780 PyObject
* obj0
= 0 ;
30781 PyObject
* obj1
= 0 ;
30782 PyObject
* obj2
= 0 ;
30783 PyObject
* obj3
= 0 ;
30784 char *kwnames
[] = {
30785 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30790 if (SWIG_arg_fail(1)) SWIG_fail
;
30792 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30793 if (SWIG_arg_fail(2)) SWIG_fail
;
30796 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30797 if (SWIG_arg_fail(3)) SWIG_fail
;
30800 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30801 if (SWIG_arg_fail(4)) SWIG_fail
;
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= SWIG_From_int((result
));
30817 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30818 PyObject
*resultobj
= NULL
;
30819 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30820 PyObject
* obj0
= 0 ;
30821 char *kwnames
[] = {
30822 (char *) "self", NULL
30825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30827 if (SWIG_arg_fail(1)) SWIG_fail
;
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30830 (arg1
)->base_OnLeave();
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 Py_INCREF(Py_None
); resultobj
= Py_None
;
30842 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
= NULL
;
30844 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 PyObject
* obj2
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self",(char *) "x",(char *) "y", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30857 if (SWIG_arg_fail(1)) SWIG_fail
;
30859 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30860 if (SWIG_arg_fail(2)) SWIG_fail
;
30863 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30864 if (SWIG_arg_fail(3)) SWIG_fail
;
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30882 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30883 PyObject
*resultobj
= NULL
;
30884 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30887 wxDragResult arg4
;
30888 wxDragResult result
;
30889 PyObject
* obj0
= 0 ;
30890 PyObject
* obj1
= 0 ;
30891 PyObject
* obj2
= 0 ;
30892 PyObject
* obj3
= 0 ;
30893 char *kwnames
[] = {
30894 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30899 if (SWIG_arg_fail(1)) SWIG_fail
;
30901 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30902 if (SWIG_arg_fail(2)) SWIG_fail
;
30905 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30906 if (SWIG_arg_fail(3)) SWIG_fail
;
30909 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30910 if (SWIG_arg_fail(4)) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= SWIG_From_int((result
));
30926 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30929 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
30931 return Py_BuildValue((char *)"");
30933 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
= NULL
;
30935 wxClipboard
*result
;
30936 char *kwnames
[] = {
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 result
= (wxClipboard
*)new wxClipboard();
30945 wxPyEndAllowThreads(__tstate
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
30955 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30956 PyObject
*resultobj
= NULL
;
30957 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30958 PyObject
* obj0
= 0 ;
30959 char *kwnames
[] = {
30960 (char *) "self", NULL
30963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
30964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30965 if (SWIG_arg_fail(1)) SWIG_fail
;
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 wxPyEndAllowThreads(__tstate
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30973 Py_INCREF(Py_None
); resultobj
= Py_None
;
30980 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
= NULL
;
30982 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30984 PyObject
* obj0
= 0 ;
30985 char *kwnames
[] = {
30986 (char *) "self", NULL
30989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
30990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30991 if (SWIG_arg_fail(1)) SWIG_fail
;
30993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30994 result
= (bool)(arg1
)->Open();
30996 wxPyEndAllowThreads(__tstate
);
30997 if (PyErr_Occurred()) SWIG_fail
;
31000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31008 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31009 PyObject
*resultobj
= NULL
;
31010 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31011 PyObject
* obj0
= 0 ;
31012 char *kwnames
[] = {
31013 (char *) "self", NULL
31016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
31017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31018 if (SWIG_arg_fail(1)) SWIG_fail
;
31020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 wxPyEndAllowThreads(__tstate
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 Py_INCREF(Py_None
); resultobj
= Py_None
;
31033 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= NULL
;
31035 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31037 PyObject
* obj0
= 0 ;
31038 char *kwnames
[] = {
31039 (char *) "self", NULL
31042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
31043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31044 if (SWIG_arg_fail(1)) SWIG_fail
;
31046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31047 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
31049 wxPyEndAllowThreads(__tstate
);
31050 if (PyErr_Occurred()) SWIG_fail
;
31053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31061 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
= NULL
;
31063 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31064 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 char *kwnames
[] = {
31069 (char *) "self",(char *) "data", NULL
31072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31074 if (SWIG_arg_fail(1)) SWIG_fail
;
31075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31076 if (SWIG_arg_fail(2)) SWIG_fail
;
31078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31079 result
= (bool)(arg1
)->AddData(arg2
);
31081 wxPyEndAllowThreads(__tstate
);
31082 if (PyErr_Occurred()) SWIG_fail
;
31085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31093 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
= NULL
;
31095 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31096 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31098 PyObject
* obj0
= 0 ;
31099 PyObject
* obj1
= 0 ;
31100 char *kwnames
[] = {
31101 (char *) "self",(char *) "data", NULL
31104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31106 if (SWIG_arg_fail(1)) SWIG_fail
;
31107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31108 if (SWIG_arg_fail(2)) SWIG_fail
;
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 result
= (bool)(arg1
)->SetData(arg2
);
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31125 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31126 PyObject
*resultobj
= NULL
;
31127 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31128 wxDataFormat
*arg2
= 0 ;
31130 PyObject
* obj0
= 0 ;
31131 PyObject
* obj1
= 0 ;
31132 char *kwnames
[] = {
31133 (char *) "self",(char *) "format", NULL
31136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31138 if (SWIG_arg_fail(1)) SWIG_fail
;
31140 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31141 if (SWIG_arg_fail(2)) SWIG_fail
;
31142 if (arg2
== NULL
) {
31143 SWIG_null_ref("wxDataFormat");
31145 if (SWIG_arg_fail(2)) SWIG_fail
;
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31163 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
= NULL
;
31165 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31166 wxDataObject
*arg2
= 0 ;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 char *kwnames
[] = {
31171 (char *) "self",(char *) "data", NULL
31174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31176 if (SWIG_arg_fail(1)) SWIG_fail
;
31178 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31179 if (SWIG_arg_fail(2)) SWIG_fail
;
31180 if (arg2
== NULL
) {
31181 SWIG_null_ref("wxDataObject");
31183 if (SWIG_arg_fail(2)) SWIG_fail
;
31186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31187 result
= (bool)(arg1
)->GetData(*arg2
);
31189 wxPyEndAllowThreads(__tstate
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31201 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31202 PyObject
*resultobj
= NULL
;
31203 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31204 PyObject
* obj0
= 0 ;
31205 char *kwnames
[] = {
31206 (char *) "self", NULL
31209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31211 if (SWIG_arg_fail(1)) SWIG_fail
;
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31219 Py_INCREF(Py_None
); resultobj
= Py_None
;
31226 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31227 PyObject
*resultobj
= NULL
;
31228 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31230 PyObject
* obj0
= 0 ;
31231 char *kwnames
[] = {
31232 (char *) "self", NULL
31235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31237 if (SWIG_arg_fail(1)) SWIG_fail
;
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= (bool)(arg1
)->Flush();
31242 wxPyEndAllowThreads(__tstate
);
31243 if (PyErr_Occurred()) SWIG_fail
;
31246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31254 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31255 PyObject
*resultobj
= NULL
;
31256 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31257 bool arg2
= (bool) true ;
31258 PyObject
* obj0
= 0 ;
31259 PyObject
* obj1
= 0 ;
31260 char *kwnames
[] = {
31261 (char *) "self",(char *) "primary", NULL
31264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31266 if (SWIG_arg_fail(1)) SWIG_fail
;
31269 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31270 if (SWIG_arg_fail(2)) SWIG_fail
;
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 (arg1
)->UsePrimarySelection(arg2
);
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31280 Py_INCREF(Py_None
); resultobj
= Py_None
;
31287 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
= NULL
;
31289 wxClipboard
*result
;
31290 char *kwnames
[] = {
31294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 result
= (wxClipboard
*)wxClipboard::Get();
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31309 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31312 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31314 return Py_BuildValue((char *)"");
31316 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
= NULL
;
31318 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31319 wxClipboardLocker
*result
;
31320 PyObject
* obj0
= 0 ;
31321 char *kwnames
[] = {
31322 (char *) "clipboard", NULL
31325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31328 if (SWIG_arg_fail(1)) SWIG_fail
;
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31334 wxPyEndAllowThreads(__tstate
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31344 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31345 PyObject
*resultobj
= NULL
;
31346 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31347 PyObject
* obj0
= 0 ;
31348 char *kwnames
[] = {
31349 (char *) "self", NULL
31352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31354 if (SWIG_arg_fail(1)) SWIG_fail
;
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 wxPyEndAllowThreads(__tstate
);
31360 if (PyErr_Occurred()) SWIG_fail
;
31362 Py_INCREF(Py_None
); resultobj
= Py_None
;
31369 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31370 PyObject
*resultobj
= NULL
;
31371 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31373 PyObject
* obj0
= 0 ;
31374 char *kwnames
[] = {
31375 (char *) "self", NULL
31378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31380 if (SWIG_arg_fail(1)) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31397 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31400 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31402 return Py_BuildValue((char *)"");
31404 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
= NULL
;
31406 int arg1
= (int) 0 ;
31407 int arg2
= (int) 0 ;
31408 int arg3
= (int) 0 ;
31409 int arg4
= (int) 0 ;
31410 wxVideoMode
*result
;
31411 PyObject
* obj0
= 0 ;
31412 PyObject
* obj1
= 0 ;
31413 PyObject
* obj2
= 0 ;
31414 PyObject
* obj3
= 0 ;
31415 char *kwnames
[] = {
31416 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31422 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31423 if (SWIG_arg_fail(1)) SWIG_fail
;
31428 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31429 if (SWIG_arg_fail(2)) SWIG_fail
;
31434 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31435 if (SWIG_arg_fail(3)) SWIG_fail
;
31440 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31441 if (SWIG_arg_fail(4)) SWIG_fail
;
31445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31448 wxPyEndAllowThreads(__tstate
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31458 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31459 PyObject
*resultobj
= NULL
;
31460 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31461 PyObject
* obj0
= 0 ;
31462 char *kwnames
[] = {
31463 (char *) "self", NULL
31466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31468 if (SWIG_arg_fail(1)) SWIG_fail
;
31470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 Py_INCREF(Py_None
); resultobj
= Py_None
;
31483 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31484 PyObject
*resultobj
= NULL
;
31485 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31486 wxVideoMode
*arg2
= 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 char *kwnames
[] = {
31491 (char *) "self",(char *) "other", NULL
31494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31496 if (SWIG_arg_fail(1)) SWIG_fail
;
31498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31499 if (SWIG_arg_fail(2)) SWIG_fail
;
31500 if (arg2
== NULL
) {
31501 SWIG_null_ref("wxVideoMode");
31503 if (SWIG_arg_fail(2)) SWIG_fail
;
31506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31509 wxPyEndAllowThreads(__tstate
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31521 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
= NULL
;
31523 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31525 PyObject
* obj0
= 0 ;
31526 char *kwnames
[] = {
31527 (char *) "self", NULL
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31532 if (SWIG_arg_fail(1)) SWIG_fail
;
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31535 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31541 resultobj
= SWIG_From_int(static_cast<int >(result
));
31549 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31550 PyObject
*resultobj
= NULL
;
31551 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31553 PyObject
* obj0
= 0 ;
31554 char *kwnames
[] = {
31555 (char *) "self", NULL
31558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31560 if (SWIG_arg_fail(1)) SWIG_fail
;
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31569 resultobj
= SWIG_From_int(static_cast<int >(result
));
31577 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
= NULL
;
31579 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31581 PyObject
* obj0
= 0 ;
31582 char *kwnames
[] = {
31583 (char *) "self", NULL
31586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31588 if (SWIG_arg_fail(1)) SWIG_fail
;
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= SWIG_From_int(static_cast<int >(result
));
31605 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31606 PyObject
*resultobj
= NULL
;
31607 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31609 PyObject
* obj0
= 0 ;
31610 char *kwnames
[] = {
31611 (char *) "self", NULL
31614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31616 if (SWIG_arg_fail(1)) SWIG_fail
;
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31621 wxPyEndAllowThreads(__tstate
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31633 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31634 PyObject
*resultobj
= NULL
;
31635 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31636 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31638 PyObject
* obj0
= 0 ;
31639 PyObject
* obj1
= 0 ;
31640 char *kwnames
[] = {
31641 (char *) "self",(char *) "other", NULL
31644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31646 if (SWIG_arg_fail(1)) SWIG_fail
;
31647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31648 if (SWIG_arg_fail(2)) SWIG_fail
;
31650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31651 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31653 wxPyEndAllowThreads(__tstate
);
31654 if (PyErr_Occurred()) SWIG_fail
;
31657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31665 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31666 PyObject
*resultobj
= NULL
;
31667 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31668 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31670 PyObject
* obj0
= 0 ;
31671 PyObject
* obj1
= 0 ;
31672 char *kwnames
[] = {
31673 (char *) "self",(char *) "other", NULL
31676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31678 if (SWIG_arg_fail(1)) SWIG_fail
;
31679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31680 if (SWIG_arg_fail(2)) SWIG_fail
;
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31685 wxPyEndAllowThreads(__tstate
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31697 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31698 PyObject
*resultobj
= NULL
;
31699 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31701 PyObject
* obj0
= 0 ;
31702 PyObject
* obj1
= 0 ;
31703 char *kwnames
[] = {
31704 (char *) "self",(char *) "w", NULL
31707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31709 if (SWIG_arg_fail(1)) SWIG_fail
;
31711 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31712 if (SWIG_arg_fail(2)) SWIG_fail
;
31714 if (arg1
) (arg1
)->w
= arg2
;
31716 Py_INCREF(Py_None
); resultobj
= Py_None
;
31723 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
= NULL
;
31725 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 char *kwnames
[] = {
31729 (char *) "self", NULL
31732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31734 if (SWIG_arg_fail(1)) SWIG_fail
;
31735 result
= (int) ((arg1
)->w
);
31738 resultobj
= SWIG_From_int(static_cast<int >(result
));
31746 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31747 PyObject
*resultobj
= NULL
;
31748 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 PyObject
* obj1
= 0 ;
31752 char *kwnames
[] = {
31753 (char *) "self",(char *) "h", NULL
31756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31758 if (SWIG_arg_fail(1)) SWIG_fail
;
31760 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31761 if (SWIG_arg_fail(2)) SWIG_fail
;
31763 if (arg1
) (arg1
)->h
= arg2
;
31765 Py_INCREF(Py_None
); resultobj
= Py_None
;
31772 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
= NULL
;
31774 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31776 PyObject
* obj0
= 0 ;
31777 char *kwnames
[] = {
31778 (char *) "self", NULL
31781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
31782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31783 if (SWIG_arg_fail(1)) SWIG_fail
;
31784 result
= (int) ((arg1
)->h
);
31787 resultobj
= SWIG_From_int(static_cast<int >(result
));
31795 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
= NULL
;
31797 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31799 PyObject
* obj0
= 0 ;
31800 PyObject
* obj1
= 0 ;
31801 char *kwnames
[] = {
31802 (char *) "self",(char *) "bpp", NULL
31805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31807 if (SWIG_arg_fail(1)) SWIG_fail
;
31809 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31810 if (SWIG_arg_fail(2)) SWIG_fail
;
31812 if (arg1
) (arg1
)->bpp
= arg2
;
31814 Py_INCREF(Py_None
); resultobj
= Py_None
;
31821 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31822 PyObject
*resultobj
= NULL
;
31823 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31825 PyObject
* obj0
= 0 ;
31826 char *kwnames
[] = {
31827 (char *) "self", NULL
31830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
31831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31832 if (SWIG_arg_fail(1)) SWIG_fail
;
31833 result
= (int) ((arg1
)->bpp
);
31836 resultobj
= SWIG_From_int(static_cast<int >(result
));
31844 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
= NULL
;
31846 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31848 PyObject
* obj0
= 0 ;
31849 PyObject
* obj1
= 0 ;
31850 char *kwnames
[] = {
31851 (char *) "self",(char *) "refresh", NULL
31854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31856 if (SWIG_arg_fail(1)) SWIG_fail
;
31858 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31859 if (SWIG_arg_fail(2)) SWIG_fail
;
31861 if (arg1
) (arg1
)->refresh
= arg2
;
31863 Py_INCREF(Py_None
); resultobj
= Py_None
;
31870 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31871 PyObject
*resultobj
= NULL
;
31872 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31874 PyObject
* obj0
= 0 ;
31875 char *kwnames
[] = {
31876 (char *) "self", NULL
31879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
31880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31881 if (SWIG_arg_fail(1)) SWIG_fail
;
31882 result
= (int) ((arg1
)->refresh
);
31885 resultobj
= SWIG_From_int(static_cast<int >(result
));
31893 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
31895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31896 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
31898 return Py_BuildValue((char *)"");
31900 static int _wrap_DefaultVideoMode_set(PyObject
*) {
31901 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
31906 static PyObject
*_wrap_DefaultVideoMode_get(void) {
31907 PyObject
*pyobj
= NULL
;
31909 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
31914 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
= NULL
;
31916 size_t arg1
= (size_t) 0 ;
31918 PyObject
* obj0
= 0 ;
31919 char *kwnames
[] = {
31920 (char *) "index", NULL
31923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
31926 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
31927 if (SWIG_arg_fail(1)) SWIG_fail
;
31931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 result
= (wxDisplay
*)new wxDisplay(arg1
);
31934 wxPyEndAllowThreads(__tstate
);
31935 if (PyErr_Occurred()) SWIG_fail
;
31937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
31944 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31945 PyObject
*resultobj
= NULL
;
31946 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31947 PyObject
* obj0
= 0 ;
31948 char *kwnames
[] = {
31949 (char *) "self", NULL
31952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
31953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31954 if (SWIG_arg_fail(1)) SWIG_fail
;
31956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 Py_INCREF(Py_None
); resultobj
= Py_None
;
31969 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
= NULL
;
31972 char *kwnames
[] = {
31976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= (size_t)wxDisplay::GetCount();
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
31993 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
= NULL
;
31995 wxPoint
*arg1
= 0 ;
31998 PyObject
* obj0
= 0 ;
31999 char *kwnames
[] = {
32000 (char *) "pt", NULL
32003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
32006 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32010 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32012 wxPyEndAllowThreads(__tstate
);
32013 if (PyErr_Occurred()) SWIG_fail
;
32016 resultobj
= SWIG_From_int(static_cast<int >(result
));
32024 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32025 PyObject
*resultobj
= NULL
;
32026 wxWindow
*arg1
= (wxWindow
*) 0 ;
32028 PyObject
* obj0
= 0 ;
32029 char *kwnames
[] = {
32030 (char *) "window", NULL
32033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32035 if (SWIG_arg_fail(1)) SWIG_fail
;
32037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32038 result
= (int)wxDisplay::GetFromWindow(arg1
);
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32044 resultobj
= SWIG_From_int(static_cast<int >(result
));
32052 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
= NULL
;
32054 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32056 PyObject
* obj0
= 0 ;
32057 char *kwnames
[] = {
32058 (char *) "self", NULL
32061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32063 if (SWIG_arg_fail(1)) SWIG_fail
;
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32068 wxPyEndAllowThreads(__tstate
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32080 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32081 PyObject
*resultobj
= NULL
;
32082 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32084 PyObject
* obj0
= 0 ;
32085 char *kwnames
[] = {
32086 (char *) "self", NULL
32089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32091 if (SWIG_arg_fail(1)) SWIG_fail
;
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32096 wxPyEndAllowThreads(__tstate
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32100 wxRect
* resultptr
;
32101 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32110 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32111 PyObject
*resultobj
= NULL
;
32112 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 char *kwnames
[] = {
32116 (char *) "self", NULL
32119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32121 if (SWIG_arg_fail(1)) SWIG_fail
;
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 result
= ((wxDisplay
const *)arg1
)->GetName();
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32142 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32143 PyObject
*resultobj
= NULL
;
32144 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32146 PyObject
* obj0
= 0 ;
32147 char *kwnames
[] = {
32148 (char *) "self", NULL
32151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32153 if (SWIG_arg_fail(1)) SWIG_fail
;
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32156 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32158 wxPyEndAllowThreads(__tstate
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32170 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32171 PyObject
*resultobj
= NULL
;
32172 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32173 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32174 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char *kwnames
[] = {
32179 (char *) "self",(char *) "mode", NULL
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32184 if (SWIG_arg_fail(1)) SWIG_fail
;
32187 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32188 if (SWIG_arg_fail(2)) SWIG_fail
;
32189 if (arg2
== NULL
) {
32190 SWIG_null_ref("wxVideoMode");
32192 if (SWIG_arg_fail(2)) SWIG_fail
;
32196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32197 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32199 wxPyEndAllowThreads(__tstate
);
32200 if (PyErr_Occurred()) SWIG_fail
;
32202 resultobj
= result
;
32209 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32210 PyObject
*resultobj
= NULL
;
32211 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32212 wxVideoMode result
;
32213 PyObject
* obj0
= 0 ;
32214 char *kwnames
[] = {
32215 (char *) "self", NULL
32218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32220 if (SWIG_arg_fail(1)) SWIG_fail
;
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32229 wxVideoMode
* resultptr
;
32230 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32239 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
= NULL
;
32241 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32242 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32243 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32245 PyObject
* obj0
= 0 ;
32246 PyObject
* obj1
= 0 ;
32247 char *kwnames
[] = {
32248 (char *) "self",(char *) "mode", NULL
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32253 if (SWIG_arg_fail(1)) SWIG_fail
;
32256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32257 if (SWIG_arg_fail(2)) SWIG_fail
;
32258 if (arg2
== NULL
) {
32259 SWIG_null_ref("wxVideoMode");
32261 if (SWIG_arg_fail(2)) SWIG_fail
;
32265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32266 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32280 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32281 PyObject
*resultobj
= NULL
;
32282 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32283 PyObject
* obj0
= 0 ;
32284 char *kwnames
[] = {
32285 (char *) "self", NULL
32288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32290 if (SWIG_arg_fail(1)) SWIG_fail
;
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 (arg1
)->ResetMode();
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32298 Py_INCREF(Py_None
); resultobj
= Py_None
;
32305 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32308 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32310 return Py_BuildValue((char *)"");
32312 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
= NULL
;
32314 wxStandardPaths
*result
;
32315 char *kwnames
[] = {
32319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32334 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32335 PyObject
*resultobj
= NULL
;
32336 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32338 PyObject
* obj0
= 0 ;
32339 char *kwnames
[] = {
32340 (char *) "self", NULL
32343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32345 if (SWIG_arg_fail(1)) SWIG_fail
;
32347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32348 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32350 wxPyEndAllowThreads(__tstate
);
32351 if (PyErr_Occurred()) SWIG_fail
;
32355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32366 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32367 PyObject
*resultobj
= NULL
;
32368 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32370 PyObject
* obj0
= 0 ;
32371 char *kwnames
[] = {
32372 (char *) "self", NULL
32375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32377 if (SWIG_arg_fail(1)) SWIG_fail
;
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32398 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
= NULL
;
32400 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32402 PyObject
* obj0
= 0 ;
32403 char *kwnames
[] = {
32404 (char *) "self", NULL
32407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32409 if (SWIG_arg_fail(1)) SWIG_fail
;
32411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32412 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32430 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
= NULL
;
32432 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32434 PyObject
* obj0
= 0 ;
32435 char *kwnames
[] = {
32436 (char *) "self", NULL
32439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32441 if (SWIG_arg_fail(1)) SWIG_fail
;
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32462 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32463 PyObject
*resultobj
= NULL
;
32464 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32466 PyObject
* obj0
= 0 ;
32467 char *kwnames
[] = {
32468 (char *) "self", NULL
32471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32473 if (SWIG_arg_fail(1)) SWIG_fail
;
32475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32476 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32494 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32495 PyObject
*resultobj
= NULL
;
32496 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32498 PyObject
* obj0
= 0 ;
32499 char *kwnames
[] = {
32500 (char *) "self", NULL
32503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32505 if (SWIG_arg_fail(1)) SWIG_fail
;
32507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32526 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
= NULL
;
32528 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32530 PyObject
* obj0
= 0 ;
32531 char *kwnames
[] = {
32532 (char *) "self", NULL
32535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32537 if (SWIG_arg_fail(1)) SWIG_fail
;
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32540 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32558 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32559 PyObject
*resultobj
= NULL
;
32560 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32561 wxString
*arg2
= 0 ;
32562 bool temp2
= false ;
32563 PyObject
* obj0
= 0 ;
32564 PyObject
* obj1
= 0 ;
32565 char *kwnames
[] = {
32566 (char *) "self",(char *) "prefix", NULL
32569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32571 if (SWIG_arg_fail(1)) SWIG_fail
;
32573 arg2
= wxString_in_helper(obj1
);
32574 if (arg2
== NULL
) SWIG_fail
;
32578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32579 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
32581 wxPyEndAllowThreads(__tstate
);
32582 if (PyErr_Occurred()) SWIG_fail
;
32584 Py_INCREF(Py_None
); resultobj
= Py_None
;
32599 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32600 PyObject
*resultobj
= NULL
;
32601 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32603 PyObject
* obj0
= 0 ;
32604 char *kwnames
[] = {
32605 (char *) "self", NULL
32608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32610 if (SWIG_arg_fail(1)) SWIG_fail
;
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 result
= wxStandardPaths_GetInstallPrefix(arg1
);
32615 wxPyEndAllowThreads(__tstate
);
32616 if (PyErr_Occurred()) SWIG_fail
;
32620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32631 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32634 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32636 return Py_BuildValue((char *)"");
32638 static PyMethodDef SwigMethods
[] = {
32639 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32643 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32645 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32646 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32647 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32654 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32736 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32743 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32751 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
32769 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
32772 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
32775 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
32778 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
32784 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
32798 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
32804 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32805 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32806 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32807 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32809 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
32810 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
32813 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
32827 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
32830 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
32831 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
32834 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
32861 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
32863 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
32865 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
32867 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
32874 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
32880 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
32884 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
32898 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
32902 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
32905 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
32922 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
32930 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
32977 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
32995 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
33005 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33021 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33037 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33051 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33061 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33104 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33107 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33110 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33114 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33213 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33214 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33215 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33216 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33233 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33278 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33312 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33320 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33321 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33326 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33335 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33342 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33345 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33348 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33353 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33356 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33360 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33363 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33367 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33368 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33371 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33372 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33376 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33380 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33385 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33390 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33398 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33399 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33403 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33410 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33411 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33418 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33419 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33428 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33433 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33437 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33455 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33456 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33469 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33473 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33474 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33475 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33480 { NULL
, NULL
, 0, NULL
}
33484 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33486 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33487 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33489 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33490 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33492 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33493 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33495 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33496 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33498 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33499 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33501 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33502 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33504 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33505 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33507 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33508 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33510 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33511 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33513 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33514 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33516 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33517 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33519 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33520 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33522 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33523 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33525 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33528 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33529 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33531 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33532 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33534 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33535 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33537 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33538 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33540 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33541 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33543 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33544 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33546 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33547 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33549 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33550 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33552 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33553 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33555 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33556 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33558 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33559 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33561 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33562 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33564 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33565 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33567 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33568 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33570 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33571 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33573 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33574 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33576 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33577 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33579 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33580 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33582 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33583 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33585 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33586 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33588 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33589 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33591 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33592 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33594 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33595 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33597 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33598 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33600 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33601 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33603 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33604 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33606 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33607 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33609 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33610 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33612 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33613 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33615 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33616 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33618 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33619 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33621 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33622 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33624 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33625 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33627 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33628 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33630 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33631 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33633 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33634 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33636 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33637 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33639 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33640 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33642 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33643 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33645 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33646 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33648 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33649 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33651 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33652 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33654 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33655 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33657 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33658 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33660 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33661 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33663 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33664 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33666 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33667 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33669 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33670 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33672 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33673 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33675 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33676 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33678 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33681 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33682 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33684 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33685 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33687 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33688 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33690 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33691 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33693 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33694 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33696 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33697 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33699 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33700 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33702 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33703 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33705 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33706 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33708 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33709 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33711 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33712 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33714 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33717 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33718 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33720 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33721 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33723 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33724 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33726 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33727 return (void *)((wxObject
*) ((wxSizer
*) x
));
33729 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33730 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33732 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33733 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33735 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33738 static void *_p_wxEventTo_p_wxObject(void *x
) {
33739 return (void *)((wxObject
*) ((wxEvent
*) x
));
33741 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33742 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33744 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33745 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33747 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33748 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33750 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33751 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33753 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33754 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33756 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33757 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33759 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33760 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33762 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33763 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33765 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33766 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33768 static void *_p_wxControlTo_p_wxObject(void *x
) {
33769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33771 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33772 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33774 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
33775 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
33777 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33778 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33780 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
33781 return (void *)((wxObject
*) ((wxClipboard
*) x
));
33783 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33784 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33786 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33787 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33789 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33792 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33793 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33795 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
33796 return (void *)((wxObject
*) ((wxToolTip
*) x
));
33798 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33799 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33801 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33804 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33805 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33807 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33808 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33810 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33811 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33813 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33814 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33816 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33817 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33819 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33820 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33822 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33823 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33825 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33826 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33828 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33831 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33832 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33834 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33837 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33838 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33840 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33841 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33843 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33844 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33846 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33847 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33849 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33850 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33852 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33853 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33855 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33856 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33858 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33859 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33861 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33864 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33865 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33867 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33868 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33870 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33871 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33873 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33874 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33876 static void *_p_wxImageTo_p_wxObject(void *x
) {
33877 return (void *)((wxObject
*) ((wxImage
*) x
));
33879 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33880 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33882 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
33883 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
33885 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
33886 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
33888 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33891 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33892 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33894 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33895 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33897 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33898 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33900 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33901 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33903 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33906 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
33907 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
33909 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33910 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33912 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33915 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33916 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33918 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33919 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33921 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33922 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33924 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33925 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33927 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33928 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33930 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
33931 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
33933 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33936 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33937 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33939 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33940 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33942 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33943 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33945 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33948 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
33951 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33954 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33957 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33958 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33960 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
33961 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
33963 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
33964 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
33966 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
33967 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
33969 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
33970 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
33972 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
33973 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
33975 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
33976 return (void *)((wxLog
*) ((wxLogChain
*) x
));
33978 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
33979 return (void *)((wxLog
*) ((wxLogGui
*) x
));
33981 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
33982 return (void *)((wxLog
*) ((wxPyLog
*) x
));
33984 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33985 return (void *)((wxWindow
*) ((wxControl
*) x
));
33987 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33988 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33990 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33991 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33993 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
33994 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
33996 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
33997 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
33999 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
34000 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34001 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
34002 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34003 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34004 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34005 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
34006 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34007 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34008 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34009 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34010 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34011 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34012 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34013 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34014 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34015 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34016 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34017 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34018 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34019 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34020 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34021 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34022 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34023 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34024 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34025 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34026 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34027 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34028 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34029 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34030 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34031 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34032 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34033 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34034 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34035 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34036 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34037 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34038 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34039 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34040 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34041 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34042 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34043 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34044 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34045 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34046 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34047 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34048 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34049 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34050 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34051 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34052 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34053 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34054 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34055 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34056 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34057 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34058 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34059 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34060 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34061 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34062 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34063 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34064 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34065 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34066 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34067 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34068 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34069 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34070 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34071 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34072 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34073 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34074 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34075 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34076 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34077 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34078 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34079 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34080 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34081 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34082 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34083 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34084 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34085 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34086 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34087 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34088 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34089 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34090 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34091 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34092 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34093 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34094 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34095 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34096 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
34097 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34098 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34099 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34100 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34101 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34102 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34103 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34104 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34105 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34106 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34107 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34108 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34109 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34110 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34111 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34112 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34113 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34114 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34115 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34116 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34117 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34118 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34119 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34120 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34121 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34122 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34123 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34124 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34125 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34126 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34127 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34128 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34129 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34130 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34131 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34132 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34133 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34134 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34135 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34136 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34137 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34138 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34139 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34140 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34141 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34142 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34143 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34144 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34145 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34146 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34147 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34148 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34149 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34150 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34151 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34152 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34153 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34154 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34155 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34156 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34157 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34158 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34159 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34160 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34161 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34162 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34163 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34164 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34165 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34166 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34167 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34168 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34169 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34170 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34171 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34173 static swig_type_info
*swig_type_initial
[] = {
34175 &_swigt__p_form_ops_t
,
34177 &_swigt__p_unsigned_char
,
34178 &_swigt__p_unsigned_int
,
34179 &_swigt__p_unsigned_long
,
34181 &_swigt__p_wxANIHandler
,
34182 &_swigt__p_wxAcceleratorTable
,
34183 &_swigt__p_wxActivateEvent
,
34184 &_swigt__p_wxArrayString
,
34185 &_swigt__p_wxBMPHandler
,
34186 &_swigt__p_wxBitmap
,
34187 &_swigt__p_wxBitmapDataObject
,
34188 &_swigt__p_wxBoxSizer
,
34189 &_swigt__p_wxBusyCursor
,
34190 &_swigt__p_wxBusyInfo
,
34191 &_swigt__p_wxCURHandler
,
34192 &_swigt__p_wxCaret
,
34194 &_swigt__p_wxChildFocusEvent
,
34195 &_swigt__p_wxClipboard
,
34196 &_swigt__p_wxClipboardLocker
,
34197 &_swigt__p_wxCloseEvent
,
34198 &_swigt__p_wxColour
,
34199 &_swigt__p_wxCommandEvent
,
34200 &_swigt__p_wxConfig
,
34201 &_swigt__p_wxConfigBase
,
34202 &_swigt__p_wxConfigPathChanger
,
34203 &_swigt__p_wxContextMenuEvent
,
34204 &_swigt__p_wxControl
,
34205 &_swigt__p_wxControlWithItems
,
34206 &_swigt__p_wxCursor
,
34207 &_swigt__p_wxCustomDataObject
,
34209 &_swigt__p_wxDataFormat
,
34210 &_swigt__p_wxDataObject
,
34211 &_swigt__p_wxDataObjectComposite
,
34212 &_swigt__p_wxDataObjectSimple
,
34213 &_swigt__p_wxDateEvent
,
34214 &_swigt__p_wxDateSpan
,
34215 &_swigt__p_wxDateTime
,
34216 &_swigt__p_wxDateTime__TimeZone
,
34217 &_swigt__p_wxDisplay
,
34218 &_swigt__p_wxDisplayChangedEvent
,
34219 &_swigt__p_wxDropFilesEvent
,
34220 &_swigt__p_wxDuplexMode
,
34221 &_swigt__p_wxEraseEvent
,
34222 &_swigt__p_wxEvent
,
34223 &_swigt__p_wxEvtHandler
,
34224 &_swigt__p_wxFSFile
,
34225 &_swigt__p_wxFileConfig
,
34226 &_swigt__p_wxFileDataObject
,
34227 &_swigt__p_wxFileHistory
,
34228 &_swigt__p_wxFileSystem
,
34229 &_swigt__p_wxFileType
,
34230 &_swigt__p_wxFileTypeInfo
,
34231 &_swigt__p_wxFlexGridSizer
,
34232 &_swigt__p_wxFocusEvent
,
34234 &_swigt__p_wxFrame
,
34235 &_swigt__p_wxGBSizerItem
,
34236 &_swigt__p_wxGIFHandler
,
34237 &_swigt__p_wxGridBagSizer
,
34238 &_swigt__p_wxGridSizer
,
34239 &_swigt__p_wxICOHandler
,
34241 &_swigt__p_wxIconizeEvent
,
34242 &_swigt__p_wxIdleEvent
,
34243 &_swigt__p_wxImage
,
34244 &_swigt__p_wxImageHandler
,
34245 &_swigt__p_wxIndividualLayoutConstraint
,
34246 &_swigt__p_wxInitDialogEvent
,
34247 &_swigt__p_wxJPEGHandler
,
34248 &_swigt__p_wxJoystick
,
34249 &_swigt__p_wxJoystickEvent
,
34250 &_swigt__p_wxKeyEvent
,
34251 &_swigt__p_wxKillError
,
34252 &_swigt__p_wxLayoutConstraints
,
34254 &_swigt__p_wxLogBuffer
,
34255 &_swigt__p_wxLogChain
,
34256 &_swigt__p_wxLogGui
,
34257 &_swigt__p_wxLogNull
,
34258 &_swigt__p_wxLogStderr
,
34259 &_swigt__p_wxLogTextCtrl
,
34260 &_swigt__p_wxLogWindow
,
34261 &_swigt__p_wxMaximizeEvent
,
34262 &_swigt__p_wxMemorySize
,
34264 &_swigt__p_wxMenuBar
,
34265 &_swigt__p_wxMenuEvent
,
34266 &_swigt__p_wxMenuItem
,
34267 &_swigt__p_wxMetafile
,
34268 &_swigt__p_wxMetafileDataObject
,
34269 &_swigt__p_wxMimeTypesManager
,
34270 &_swigt__p_wxMouseCaptureChangedEvent
,
34271 &_swigt__p_wxMouseEvent
,
34272 &_swigt__p_wxMouseState
,
34273 &_swigt__p_wxMoveEvent
,
34274 &_swigt__p_wxMutexGuiLocker
,
34275 &_swigt__p_wxNavigationKeyEvent
,
34276 &_swigt__p_wxNcPaintEvent
,
34277 &_swigt__p_wxNotifyEvent
,
34278 &_swigt__p_wxObject
,
34279 &_swigt__p_wxOutputStream
,
34280 &_swigt__p_wxPCXHandler
,
34281 &_swigt__p_wxPNGHandler
,
34282 &_swigt__p_wxPNMHandler
,
34283 &_swigt__p_wxPaintEvent
,
34284 &_swigt__p_wxPaletteChangedEvent
,
34285 &_swigt__p_wxPaperSize
,
34286 &_swigt__p_wxPoint
,
34287 &_swigt__p_wxProcessEvent
,
34288 &_swigt__p_wxPyApp
,
34289 &_swigt__p_wxPyArtProvider
,
34290 &_swigt__p_wxPyBitmapDataObject
,
34291 &_swigt__p_wxPyCommandEvent
,
34292 &_swigt__p_wxPyDataObjectSimple
,
34293 &_swigt__p_wxPyDropSource
,
34294 &_swigt__p_wxPyDropTarget
,
34295 &_swigt__p_wxPyEvent
,
34296 &_swigt__p_wxPyFileDropTarget
,
34297 &_swigt__p_wxPyImageHandler
,
34298 &_swigt__p_wxPyLog
,
34299 &_swigt__p_wxPyProcess
,
34300 &_swigt__p_wxPySizer
,
34301 &_swigt__p_wxPyTextDataObject
,
34302 &_swigt__p_wxPyTextDropTarget
,
34303 &_swigt__p_wxPyTimer
,
34304 &_swigt__p_wxPyTipProvider
,
34305 &_swigt__p_wxPyValidator
,
34306 &_swigt__p_wxQueryNewPaletteEvent
,
34308 &_swigt__p_wxScrollEvent
,
34309 &_swigt__p_wxScrollWinEvent
,
34310 &_swigt__p_wxSetCursorEvent
,
34311 &_swigt__p_wxShowEvent
,
34312 &_swigt__p_wxSingleInstanceChecker
,
34314 &_swigt__p_wxSizeEvent
,
34315 &_swigt__p_wxSizer
,
34316 &_swigt__p_wxSizerItem
,
34317 &_swigt__p_wxSound
,
34318 &_swigt__p_wxStandardPaths
,
34319 &_swigt__p_wxStaticBoxSizer
,
34320 &_swigt__p_wxStdDialogButtonSizer
,
34321 &_swigt__p_wxStopWatch
,
34322 &_swigt__p_wxString
,
34323 &_swigt__p_wxSysColourChangedEvent
,
34324 &_swigt__p_wxSystemOptions
,
34325 &_swigt__p_wxSystemSettings
,
34326 &_swigt__p_wxTIFFHandler
,
34327 &_swigt__p_wxTextCtrl
,
34328 &_swigt__p_wxTextDataObject
,
34329 &_swigt__p_wxTimeSpan
,
34330 &_swigt__p_wxTimer
,
34331 &_swigt__p_wxTimerEvent
,
34332 &_swigt__p_wxTimerRunner
,
34333 &_swigt__p_wxTipProvider
,
34334 &_swigt__p_wxToolTip
,
34335 &_swigt__p_wxURLDataObject
,
34336 &_swigt__p_wxUpdateUIEvent
,
34337 &_swigt__p_wxValidator
,
34338 &_swigt__p_wxVideoMode
,
34339 &_swigt__p_wxWindow
,
34340 &_swigt__p_wxWindowCreateEvent
,
34341 &_swigt__p_wxWindowDestroyEvent
,
34342 &_swigt__p_wxWindowDisabler
,
34343 &_swigt__p_wxXPMHandler
,
34344 &_swigt__ptrdiff_t
,
34345 &_swigt__std__ptrdiff_t
,
34346 &_swigt__unsigned_int
,
34349 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34350 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34351 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34352 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34353 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34354 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34355 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34356 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34357 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34358 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}};
34359 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34360 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34361 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34362 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34363 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34364 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34365 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34366 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34367 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}};
34368 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34369 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34370 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34371 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34372 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34373 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}};
34374 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34375 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}};
34376 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34377 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34378 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34379 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34380 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34381 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34382 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34383 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34384 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34385 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34386 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34387 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34388 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34389 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34390 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34391 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34392 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34393 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34394 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34395 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34396 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34397 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34398 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34399 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34400 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34401 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34402 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34403 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34404 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34405 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34406 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34407 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34408 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34409 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34410 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34411 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34412 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34413 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34414 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34415 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34416 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34417 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}};
34418 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34419 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34420 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34421 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34422 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34423 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34424 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}};
34425 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34426 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34427 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34428 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34429 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34430 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34431 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34432 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34433 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34434 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34435 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34436 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}};
34437 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34438 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34439 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34440 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34441 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34442 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34443 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34444 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34445 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34446 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
34447 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34448 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34449 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34450 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34451 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34452 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34453 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34454 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34455 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34456 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34457 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34458 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34459 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34460 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34461 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34462 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34463 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34464 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34465 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34466 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34467 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34468 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34469 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34470 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34471 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34472 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34473 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34474 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34475 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34476 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34477 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34478 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34479 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34480 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34481 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}};
34482 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34483 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34484 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34485 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34486 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34487 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34488 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34489 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34490 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}};
34491 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34492 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34493 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34494 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34495 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34496 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34497 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34498 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34499 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34500 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34501 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34502 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34503 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34504 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34505 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34506 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34507 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34508 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}};
34509 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34510 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34511 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34512 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34513 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}};
34514 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34515 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34516 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34517 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}};
34518 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34519 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34520 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34521 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34523 static swig_cast_info
*swig_cast_initial
[] = {
34525 _swigc__p_form_ops_t
,
34527 _swigc__p_unsigned_char
,
34528 _swigc__p_unsigned_int
,
34529 _swigc__p_unsigned_long
,
34531 _swigc__p_wxANIHandler
,
34532 _swigc__p_wxAcceleratorTable
,
34533 _swigc__p_wxActivateEvent
,
34534 _swigc__p_wxArrayString
,
34535 _swigc__p_wxBMPHandler
,
34536 _swigc__p_wxBitmap
,
34537 _swigc__p_wxBitmapDataObject
,
34538 _swigc__p_wxBoxSizer
,
34539 _swigc__p_wxBusyCursor
,
34540 _swigc__p_wxBusyInfo
,
34541 _swigc__p_wxCURHandler
,
34544 _swigc__p_wxChildFocusEvent
,
34545 _swigc__p_wxClipboard
,
34546 _swigc__p_wxClipboardLocker
,
34547 _swigc__p_wxCloseEvent
,
34548 _swigc__p_wxColour
,
34549 _swigc__p_wxCommandEvent
,
34550 _swigc__p_wxConfig
,
34551 _swigc__p_wxConfigBase
,
34552 _swigc__p_wxConfigPathChanger
,
34553 _swigc__p_wxContextMenuEvent
,
34554 _swigc__p_wxControl
,
34555 _swigc__p_wxControlWithItems
,
34556 _swigc__p_wxCursor
,
34557 _swigc__p_wxCustomDataObject
,
34559 _swigc__p_wxDataFormat
,
34560 _swigc__p_wxDataObject
,
34561 _swigc__p_wxDataObjectComposite
,
34562 _swigc__p_wxDataObjectSimple
,
34563 _swigc__p_wxDateEvent
,
34564 _swigc__p_wxDateSpan
,
34565 _swigc__p_wxDateTime
,
34566 _swigc__p_wxDateTime__TimeZone
,
34567 _swigc__p_wxDisplay
,
34568 _swigc__p_wxDisplayChangedEvent
,
34569 _swigc__p_wxDropFilesEvent
,
34570 _swigc__p_wxDuplexMode
,
34571 _swigc__p_wxEraseEvent
,
34573 _swigc__p_wxEvtHandler
,
34574 _swigc__p_wxFSFile
,
34575 _swigc__p_wxFileConfig
,
34576 _swigc__p_wxFileDataObject
,
34577 _swigc__p_wxFileHistory
,
34578 _swigc__p_wxFileSystem
,
34579 _swigc__p_wxFileType
,
34580 _swigc__p_wxFileTypeInfo
,
34581 _swigc__p_wxFlexGridSizer
,
34582 _swigc__p_wxFocusEvent
,
34585 _swigc__p_wxGBSizerItem
,
34586 _swigc__p_wxGIFHandler
,
34587 _swigc__p_wxGridBagSizer
,
34588 _swigc__p_wxGridSizer
,
34589 _swigc__p_wxICOHandler
,
34591 _swigc__p_wxIconizeEvent
,
34592 _swigc__p_wxIdleEvent
,
34594 _swigc__p_wxImageHandler
,
34595 _swigc__p_wxIndividualLayoutConstraint
,
34596 _swigc__p_wxInitDialogEvent
,
34597 _swigc__p_wxJPEGHandler
,
34598 _swigc__p_wxJoystick
,
34599 _swigc__p_wxJoystickEvent
,
34600 _swigc__p_wxKeyEvent
,
34601 _swigc__p_wxKillError
,
34602 _swigc__p_wxLayoutConstraints
,
34604 _swigc__p_wxLogBuffer
,
34605 _swigc__p_wxLogChain
,
34606 _swigc__p_wxLogGui
,
34607 _swigc__p_wxLogNull
,
34608 _swigc__p_wxLogStderr
,
34609 _swigc__p_wxLogTextCtrl
,
34610 _swigc__p_wxLogWindow
,
34611 _swigc__p_wxMaximizeEvent
,
34612 _swigc__p_wxMemorySize
,
34614 _swigc__p_wxMenuBar
,
34615 _swigc__p_wxMenuEvent
,
34616 _swigc__p_wxMenuItem
,
34617 _swigc__p_wxMetafile
,
34618 _swigc__p_wxMetafileDataObject
,
34619 _swigc__p_wxMimeTypesManager
,
34620 _swigc__p_wxMouseCaptureChangedEvent
,
34621 _swigc__p_wxMouseEvent
,
34622 _swigc__p_wxMouseState
,
34623 _swigc__p_wxMoveEvent
,
34624 _swigc__p_wxMutexGuiLocker
,
34625 _swigc__p_wxNavigationKeyEvent
,
34626 _swigc__p_wxNcPaintEvent
,
34627 _swigc__p_wxNotifyEvent
,
34628 _swigc__p_wxObject
,
34629 _swigc__p_wxOutputStream
,
34630 _swigc__p_wxPCXHandler
,
34631 _swigc__p_wxPNGHandler
,
34632 _swigc__p_wxPNMHandler
,
34633 _swigc__p_wxPaintEvent
,
34634 _swigc__p_wxPaletteChangedEvent
,
34635 _swigc__p_wxPaperSize
,
34637 _swigc__p_wxProcessEvent
,
34639 _swigc__p_wxPyArtProvider
,
34640 _swigc__p_wxPyBitmapDataObject
,
34641 _swigc__p_wxPyCommandEvent
,
34642 _swigc__p_wxPyDataObjectSimple
,
34643 _swigc__p_wxPyDropSource
,
34644 _swigc__p_wxPyDropTarget
,
34645 _swigc__p_wxPyEvent
,
34646 _swigc__p_wxPyFileDropTarget
,
34647 _swigc__p_wxPyImageHandler
,
34649 _swigc__p_wxPyProcess
,
34650 _swigc__p_wxPySizer
,
34651 _swigc__p_wxPyTextDataObject
,
34652 _swigc__p_wxPyTextDropTarget
,
34653 _swigc__p_wxPyTimer
,
34654 _swigc__p_wxPyTipProvider
,
34655 _swigc__p_wxPyValidator
,
34656 _swigc__p_wxQueryNewPaletteEvent
,
34658 _swigc__p_wxScrollEvent
,
34659 _swigc__p_wxScrollWinEvent
,
34660 _swigc__p_wxSetCursorEvent
,
34661 _swigc__p_wxShowEvent
,
34662 _swigc__p_wxSingleInstanceChecker
,
34664 _swigc__p_wxSizeEvent
,
34666 _swigc__p_wxSizerItem
,
34668 _swigc__p_wxStandardPaths
,
34669 _swigc__p_wxStaticBoxSizer
,
34670 _swigc__p_wxStdDialogButtonSizer
,
34671 _swigc__p_wxStopWatch
,
34672 _swigc__p_wxString
,
34673 _swigc__p_wxSysColourChangedEvent
,
34674 _swigc__p_wxSystemOptions
,
34675 _swigc__p_wxSystemSettings
,
34676 _swigc__p_wxTIFFHandler
,
34677 _swigc__p_wxTextCtrl
,
34678 _swigc__p_wxTextDataObject
,
34679 _swigc__p_wxTimeSpan
,
34681 _swigc__p_wxTimerEvent
,
34682 _swigc__p_wxTimerRunner
,
34683 _swigc__p_wxTipProvider
,
34684 _swigc__p_wxToolTip
,
34685 _swigc__p_wxURLDataObject
,
34686 _swigc__p_wxUpdateUIEvent
,
34687 _swigc__p_wxValidator
,
34688 _swigc__p_wxVideoMode
,
34689 _swigc__p_wxWindow
,
34690 _swigc__p_wxWindowCreateEvent
,
34691 _swigc__p_wxWindowDestroyEvent
,
34692 _swigc__p_wxWindowDisabler
,
34693 _swigc__p_wxXPMHandler
,
34695 _swigc__std__ptrdiff_t
,
34696 _swigc__unsigned_int
,
34700 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34702 static swig_const_info swig_const_table
[] = {
34703 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34704 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34705 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34706 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34707 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34708 {0, 0, 0, 0.0, 0, 0}};
34713 /*************************************************************************
34714 * Type initialization:
34715 * This problem is tough by the requirement that no dynamic
34716 * memory is used. Also, since swig_type_info structures store pointers to
34717 * swig_cast_info structures and swig_cast_info structures store pointers back
34718 * to swig_type_info structures, we need some lookup code at initialization.
34719 * The idea is that swig generates all the structures that are needed.
34720 * The runtime then collects these partially filled structures.
34721 * The SWIG_InitializeModule function takes these initial arrays out of
34722 * swig_module, and does all the lookup, filling in the swig_module.types
34723 * array with the correct data and linking the correct swig_cast_info
34724 * structures together.
34726 * The generated swig_type_info structures are assigned staticly to an initial
34727 * array. We just loop though that array, and handle each type individually.
34728 * First we lookup if this type has been already loaded, and if so, use the
34729 * loaded structure instead of the generated one. Then we have to fill in the
34730 * cast linked list. The cast data is initially stored in something like a
34731 * two-dimensional array. Each row corresponds to a type (there are the same
34732 * number of rows as there are in the swig_type_initial array). Each entry in
34733 * a column is one of the swig_cast_info structures for that type.
34734 * The cast_initial array is actually an array of arrays, because each row has
34735 * a variable number of columns. So to actually build the cast linked list,
34736 * we find the array of casts associated with the type, and loop through it
34737 * adding the casts to the list. The one last trick we need to do is making
34738 * sure the type pointer in the swig_cast_info struct is correct.
34740 * First off, we lookup the cast->type name to see if it is already loaded.
34741 * There are three cases to handle:
34742 * 1) If the cast->type has already been loaded AND the type we are adding
34743 * casting info to has not been loaded (it is in this module), THEN we
34744 * replace the cast->type pointer with the type pointer that has already
34746 * 2) If BOTH types (the one we are adding casting info to, and the
34747 * cast->type) are loaded, THEN the cast info has already been loaded by
34748 * the previous module so we just ignore it.
34749 * 3) Finally, if cast->type has not already been loaded, then we add that
34750 * swig_cast_info to the linked list (because the cast->type) pointer will
34762 #define SWIGRUNTIME_DEBUG
34766 SWIG_InitializeModule(void *clientdata
) {
34768 swig_module_info
*module_head
;
34769 static int init_run
= 0;
34771 clientdata
= clientdata
;
34773 if (init_run
) return;
34776 /* Initialize the swig_module */
34777 swig_module
.type_initial
= swig_type_initial
;
34778 swig_module
.cast_initial
= swig_cast_initial
;
34780 /* Try and load any already created modules */
34781 module_head
= SWIG_GetModule(clientdata
);
34783 swig_module
.next
= module_head
->next
;
34784 module_head
->next
= &swig_module
;
34786 /* This is the first module loaded */
34787 swig_module
.next
= &swig_module
;
34788 SWIG_SetModule(clientdata
, &swig_module
);
34791 /* Now work on filling in swig_module.types */
34792 #ifdef SWIGRUNTIME_DEBUG
34793 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34795 for (i
= 0; i
< swig_module
.size
; ++i
) {
34796 swig_type_info
*type
= 0;
34797 swig_type_info
*ret
;
34798 swig_cast_info
*cast
;
34800 #ifdef SWIGRUNTIME_DEBUG
34801 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34804 /* if there is another module already loaded */
34805 if (swig_module
.next
!= &swig_module
) {
34806 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34809 /* Overwrite clientdata field */
34810 #ifdef SWIGRUNTIME_DEBUG
34811 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34813 if (swig_module
.type_initial
[i
]->clientdata
) {
34814 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34815 #ifdef SWIGRUNTIME_DEBUG
34816 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34820 type
= swig_module
.type_initial
[i
];
34823 /* Insert casting types */
34824 cast
= swig_module
.cast_initial
[i
];
34825 while (cast
->type
) {
34826 /* Don't need to add information already in the list */
34828 #ifdef SWIGRUNTIME_DEBUG
34829 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34831 if (swig_module
.next
!= &swig_module
) {
34832 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34833 #ifdef SWIGRUNTIME_DEBUG
34834 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34838 if (type
== swig_module
.type_initial
[i
]) {
34839 #ifdef SWIGRUNTIME_DEBUG
34840 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34845 /* Check for casting already in the list */
34846 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34847 #ifdef SWIGRUNTIME_DEBUG
34848 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34850 if (!ocast
) ret
= 0;
34855 #ifdef SWIGRUNTIME_DEBUG
34856 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34859 type
->cast
->prev
= cast
;
34860 cast
->next
= type
->cast
;
34866 /* Set entry in modules->types array equal to the type */
34867 swig_module
.types
[i
] = type
;
34869 swig_module
.types
[i
] = 0;
34871 #ifdef SWIGRUNTIME_DEBUG
34872 printf("**** SWIG_InitializeModule: Cast List ******\n");
34873 for (i
= 0; i
< swig_module
.size
; ++i
) {
34875 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34876 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34877 while (cast
->type
) {
34878 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34882 printf("---- Total casts: %d\n",j
);
34884 printf("**** SWIG_InitializeModule: Cast List ******\n");
34888 /* This function will propagate the clientdata field of type to
34889 * any new swig_type_info structures that have been added into the list
34890 * of equivalent types. It is like calling
34891 * SWIG_TypeClientData(type, clientdata) a second time.
34894 SWIG_PropagateClientData(void) {
34896 swig_cast_info
*equiv
;
34897 static int init_run
= 0;
34899 if (init_run
) return;
34902 for (i
= 0; i
< swig_module
.size
; i
++) {
34903 if (swig_module
.types
[i
]->clientdata
) {
34904 equiv
= swig_module
.types
[i
]->cast
;
34906 if (!equiv
->converter
) {
34907 if (equiv
->type
&& !equiv
->type
->clientdata
)
34908 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34910 equiv
= equiv
->next
;
34930 /* Python-specific SWIG API */
34931 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34932 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34933 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34935 /* -----------------------------------------------------------------------------
34936 * global variable support code.
34937 * ----------------------------------------------------------------------------- */
34939 typedef struct swig_globalvar
{
34940 char *name
; /* Name of global variable */
34941 PyObject
*(*get_attr
)(void); /* Return the current value */
34942 int (*set_attr
)(PyObject
*); /* Set the value */
34943 struct swig_globalvar
*next
;
34946 typedef struct swig_varlinkobject
{
34948 swig_globalvar
*vars
;
34949 } swig_varlinkobject
;
34951 SWIGINTERN PyObject
*
34952 swig_varlink_repr(swig_varlinkobject
*v
) {
34954 return PyString_FromString("<Swig global variables>");
34958 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
34959 swig_globalvar
*var
;
34961 fprintf(fp
,"Swig global variables { ");
34962 for (var
= v
->vars
; var
; var
=var
->next
) {
34963 fprintf(fp
,"%s", var
->name
);
34964 if (var
->next
) fprintf(fp
,", ");
34966 fprintf(fp
," }\n");
34970 SWIGINTERN PyObject
*
34971 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34972 swig_globalvar
*var
= v
->vars
;
34974 if (strcmp(var
->name
,n
) == 0) {
34975 return (*var
->get_attr
)();
34979 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34984 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34985 swig_globalvar
*var
= v
->vars
;
34987 if (strcmp(var
->name
,n
) == 0) {
34988 return (*var
->set_attr
)(p
);
34992 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34996 SWIGINTERN PyTypeObject
*
34997 swig_varlink_type(void) {
34998 static char varlink__doc__
[] = "Swig var link object";
34999 static PyTypeObject varlink_type
35000 #if !defined(__cplusplus)
35002 static int type_init
= 0;
35007 PyObject_HEAD_INIT(&PyType_Type
)
35008 0, /* Number of items in variable part (ob_size) */
35009 (char *)"swigvarlink", /* Type name (tp_name) */
35010 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
35011 0, /* Itemsize (tp_itemsize) */
35012 0, /* Deallocator (tp_dealloc) */
35013 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35014 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35015 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35016 0, /* tp_compare */
35017 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35018 0, /* tp_as_number */
35019 0, /* tp_as_sequence */
35020 0, /* tp_as_mapping */
35024 0, /* tp_getattro */
35025 0, /* tp_setattro */
35026 0, /* tp_as_buffer */
35028 varlink__doc__
, /* tp_doc */
35029 #if PY_VERSION_HEX >= 0x02000000
35030 0, /* tp_traverse */
35033 #if PY_VERSION_HEX >= 0x02010000
35034 0, /* tp_richcompare */
35035 0, /* tp_weaklistoffset */
35037 #if PY_VERSION_HEX >= 0x02020000
35038 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35040 #if PY_VERSION_HEX >= 0x02030000
35043 #ifdef COUNT_ALLOCS
35044 0,0,0,0 /* tp_alloc -> tp_next */
35047 #if !defined(__cplusplus)
35048 varlink_type
= tmp
;
35052 return &varlink_type
;
35055 /* Create a variable linking object for use later */
35056 SWIGINTERN PyObject
*
35057 SWIG_Python_newvarlink(void) {
35058 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35062 return ((PyObject
*) result
);
35066 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35067 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35068 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35070 size_t size
= strlen(name
)+1;
35071 gv
->name
= (char *)malloc(size
);
35073 strncpy(gv
->name
,name
,size
);
35074 gv
->get_attr
= get_attr
;
35075 gv
->set_attr
= set_attr
;
35076 gv
->next
= v
->vars
;
35082 /* -----------------------------------------------------------------------------
35083 * constants/methods manipulation
35084 * ----------------------------------------------------------------------------- */
35086 /* Install Constants */
35088 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35091 for (i
= 0; constants
[i
].type
; ++i
) {
35092 switch(constants
[i
].type
) {
35094 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35096 case SWIG_PY_FLOAT
:
35097 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35099 case SWIG_PY_STRING
:
35100 if (constants
[i
].pvalue
) {
35101 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35103 Py_INCREF(Py_None
);
35107 case SWIG_PY_POINTER
:
35108 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35110 case SWIG_PY_BINARY
:
35111 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35118 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35124 /* -----------------------------------------------------------------------------*/
35125 /* Fix SwigMethods to carry the callback ptrs when needed */
35126 /* -----------------------------------------------------------------------------*/
35129 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35130 swig_const_info
*const_table
,
35131 swig_type_info
**types
,
35132 swig_type_info
**types_initial
) {
35134 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35135 char *c
= methods
[i
].ml_doc
;
35136 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35138 swig_const_info
*ci
= 0;
35139 char *name
= c
+ 10;
35140 for (j
= 0; const_table
[j
].type
; ++j
) {
35141 if (strncmp(const_table
[j
].name
, name
,
35142 strlen(const_table
[j
].name
)) == 0) {
35143 ci
= &(const_table
[j
]);
35148 size_t shift
= (ci
->ptype
) - types
;
35149 swig_type_info
*ty
= types_initial
[shift
];
35150 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35151 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35152 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35155 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35157 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35159 strncpy(buff
, "swig_ptr: ", 10);
35161 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35162 methods
[i
].ml_doc
= ndoc
;
35170 /* -----------------------------------------------------------------------------*
35171 * Initialize type list
35172 * -----------------------------------------------------------------------------*/
35178 /* -----------------------------------------------------------------------------*
35179 * Partial Init method
35180 * -----------------------------------------------------------------------------*/
35185 SWIGEXPORT
void SWIG_init(void) {
35186 static PyObject
*SWIG_globals
= 0;
35188 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35190 /* Fix SwigMethods to carry the callback ptrs when needed */
35191 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35193 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35194 d
= PyModule_GetDict(m
);
35196 SWIG_InitializeModule(0);
35197 SWIG_InstallConstants(d
,swig_const_table
);
35200 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35203 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35206 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35209 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35212 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35215 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35218 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35221 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35224 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35227 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35230 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35233 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35236 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35239 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35242 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35245 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35248 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35251 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35254 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35257 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35260 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35263 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35266 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35269 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35272 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35275 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35278 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35281 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35284 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35287 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35290 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35293 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35296 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35299 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35302 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35305 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35308 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35311 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35314 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35317 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35320 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35323 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35326 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35329 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35332 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35335 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35338 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35341 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35344 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35347 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35350 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35353 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35356 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35359 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35362 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35365 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35368 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35371 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35374 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35377 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35380 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35383 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35386 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35389 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35392 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35395 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35398 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35401 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35404 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35407 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35410 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35413 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35416 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35419 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35422 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35425 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35428 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35431 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35434 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35437 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35440 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35443 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35446 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35449 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35452 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35455 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35458 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35461 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35464 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35467 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35470 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35472 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35473 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35474 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35475 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35476 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35478 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35481 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35484 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35487 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35489 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35491 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35494 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35497 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35500 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35503 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35506 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35509 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35512 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35515 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35518 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35521 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35524 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35526 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35527 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35528 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35529 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35530 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35532 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35535 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35538 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35541 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35544 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35547 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35550 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35553 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35556 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35559 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35562 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35565 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35568 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35571 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35574 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35577 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35580 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35583 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35586 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35589 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35592 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35595 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35598 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35601 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35604 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35607 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35610 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35613 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35616 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35619 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35622 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35624 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35626 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35629 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35632 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35635 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35638 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35641 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35644 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35647 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35650 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35653 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35656 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35659 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35662 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35664 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35665 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35666 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35667 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35669 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35672 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35675 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35678 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35681 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35684 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35687 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35690 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35692 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35693 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35694 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35695 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35696 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35697 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35698 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35699 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35706 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35707 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35708 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35709 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35710 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35711 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35712 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35713 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35714 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35715 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35716 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35717 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35718 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35719 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35720 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35721 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35722 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35723 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35724 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35725 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35726 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35727 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35728 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35729 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35730 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35731 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35732 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35733 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35734 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35735 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35736 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35737 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35738 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35739 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35740 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35741 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35742 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35743 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35744 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35745 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35746 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35747 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35748 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35750 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35753 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
35756 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
35759 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
35762 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
35765 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
35768 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
35771 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
35774 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
35777 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
35779 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
35780 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
35782 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
35785 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
35788 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
35791 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
35794 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
35797 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
35800 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
35803 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
35806 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
35809 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
35812 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
35815 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
35818 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
35821 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
35824 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
35827 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
35830 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
35833 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
35836 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
35839 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
35842 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
35845 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
35848 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
35851 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
35854 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
35857 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
35860 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
35863 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
35866 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
35869 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
35872 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
35875 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
35878 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
35881 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
35884 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
35887 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
35890 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
35893 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
35896 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
35899 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
35902 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
35905 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
35908 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
35911 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
35914 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
35917 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
35920 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
35923 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
35926 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
35929 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
35932 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
35935 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
35938 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
35941 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
35944 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
35947 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
35950 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
35953 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
35956 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
35959 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
35962 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
35965 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
35968 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
35971 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
35974 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
35977 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
35980 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
35983 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
35986 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
35989 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
35992 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
35995 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
35998 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
36001 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
36004 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
36007 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
36010 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36013 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36016 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36019 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36022 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36025 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36028 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36031 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36034 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36037 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36040 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36043 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36046 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36049 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36052 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36055 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36058 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36061 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36064 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36067 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36070 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36073 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36076 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36079 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36082 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36085 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36088 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36091 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36094 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36097 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36100 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36103 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36106 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36109 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36112 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36115 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36118 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36121 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36124 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36127 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36130 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36133 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36136 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36139 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36142 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36145 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36148 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36151 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36154 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36157 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36160 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36163 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36166 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36169 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36172 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36175 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36178 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36181 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36184 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36187 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36190 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36193 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36196 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36199 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36202 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36205 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36208 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36211 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36214 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36217 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36220 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36223 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36226 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36229 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36232 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36235 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36238 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36241 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36244 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36246 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36248 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36251 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36254 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36257 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36260 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36263 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36266 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36269 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36272 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36275 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36278 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36281 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36284 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36287 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36290 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36293 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36296 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36299 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36302 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36305 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36307 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36309 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36312 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36315 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36318 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36321 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36324 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36327 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36330 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36333 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36336 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36339 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36342 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36345 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36346 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36347 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36348 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36350 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);