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_wxMetafileDataObject swig_types[93]
1528 #define SWIGTYPE_p_wxMimeTypesManager swig_types[94]
1529 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95]
1530 #define SWIGTYPE_p_wxMouseEvent swig_types[96]
1531 #define SWIGTYPE_p_wxMouseState swig_types[97]
1532 #define SWIGTYPE_p_wxMoveEvent swig_types[98]
1533 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[99]
1534 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1535 #define SWIGTYPE_p_wxNcPaintEvent swig_types[101]
1536 #define SWIGTYPE_p_wxNotifyEvent swig_types[102]
1537 #define SWIGTYPE_p_wxObject swig_types[103]
1538 #define SWIGTYPE_p_wxOutputStream swig_types[104]
1539 #define SWIGTYPE_p_wxPCXHandler swig_types[105]
1540 #define SWIGTYPE_p_wxPNGHandler swig_types[106]
1541 #define SWIGTYPE_p_wxPNMHandler swig_types[107]
1542 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
1543 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109]
1544 #define SWIGTYPE_p_wxPaperSize swig_types[110]
1545 #define SWIGTYPE_p_wxPoint swig_types[111]
1546 #define SWIGTYPE_p_wxProcessEvent swig_types[112]
1547 #define SWIGTYPE_p_wxPyApp swig_types[113]
1548 #define SWIGTYPE_p_wxPyArtProvider swig_types[114]
1549 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[115]
1550 #define SWIGTYPE_p_wxPyCommandEvent swig_types[116]
1551 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[117]
1552 #define SWIGTYPE_p_wxPyDropSource swig_types[118]
1553 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1554 #define SWIGTYPE_p_wxPyEvent swig_types[120]
1555 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[121]
1556 #define SWIGTYPE_p_wxPyImageHandler swig_types[122]
1557 #define SWIGTYPE_p_wxPyLog swig_types[123]
1558 #define SWIGTYPE_p_wxPyProcess swig_types[124]
1559 #define SWIGTYPE_p_wxPySizer swig_types[125]
1560 #define SWIGTYPE_p_wxPyTextDataObject swig_types[126]
1561 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[127]
1562 #define SWIGTYPE_p_wxPyTimer swig_types[128]
1563 #define SWIGTYPE_p_wxPyTipProvider swig_types[129]
1564 #define SWIGTYPE_p_wxPyValidator swig_types[130]
1565 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[131]
1566 #define SWIGTYPE_p_wxRect swig_types[132]
1567 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
1568 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
1569 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
1570 #define SWIGTYPE_p_wxShowEvent swig_types[136]
1571 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[137]
1572 #define SWIGTYPE_p_wxSize swig_types[138]
1573 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
1574 #define SWIGTYPE_p_wxSizer swig_types[140]
1575 #define SWIGTYPE_p_wxSizerItem swig_types[141]
1576 #define SWIGTYPE_p_wxSound swig_types[142]
1577 #define SWIGTYPE_p_wxStandardPaths swig_types[143]
1578 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
1579 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
1580 #define SWIGTYPE_p_wxStopWatch swig_types[146]
1581 #define SWIGTYPE_p_wxString swig_types[147]
1582 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
1583 #define SWIGTYPE_p_wxSystemOptions swig_types[149]
1584 #define SWIGTYPE_p_wxSystemSettings swig_types[150]
1585 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
1586 #define SWIGTYPE_p_wxTextCtrl swig_types[152]
1587 #define SWIGTYPE_p_wxTextDataObject swig_types[153]
1588 #define SWIGTYPE_p_wxTimeSpan swig_types[154]
1589 #define SWIGTYPE_p_wxTimer swig_types[155]
1590 #define SWIGTYPE_p_wxTimerEvent swig_types[156]
1591 #define SWIGTYPE_p_wxTimerRunner swig_types[157]
1592 #define SWIGTYPE_p_wxTipProvider swig_types[158]
1593 #define SWIGTYPE_p_wxToolTip swig_types[159]
1594 #define SWIGTYPE_p_wxURLDataObject swig_types[160]
1595 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[161]
1596 #define SWIGTYPE_p_wxValidator swig_types[162]
1597 #define SWIGTYPE_p_wxVideoMode swig_types[163]
1598 #define SWIGTYPE_p_wxWindow swig_types[164]
1599 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
1600 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[166]
1601 #define SWIGTYPE_p_wxWindowDisabler swig_types[167]
1602 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
1603 #define SWIGTYPE_ptrdiff_t swig_types[169]
1604 #define SWIGTYPE_std__ptrdiff_t swig_types[170]
1605 #define SWIGTYPE_unsigned_int swig_types[171]
1606 static swig_type_info
*swig_types
[173];
1607 static swig_module_info swig_module
= {swig_types
, 172, 0, 0, 0, 0};
1608 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1609 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1611 /* -------- TYPES TABLE (END) -------- */
1614 /*-----------------------------------------------
1615 @(target):= _misc_.so
1616 ------------------------------------------------*/
1617 #define SWIG_init init_misc_
1619 #define SWIG_name "_misc_"
1621 #include "wx/wxPython/wxPython.h"
1622 #include "wx/wxPython/pyclasses.h"
1623 #include "wx/wxPython/pyistream.h"
1625 static const wxString
wxPyEmptyString(wxEmptyString
);
1629 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1630 #define SWIG_From_int PyInt_FromLong
1638 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1641 if (value
< min_value
) {
1643 PyErr_Format(PyExc_OverflowError
,
1644 "value %ld is less than '%s' minimum %ld",
1645 value
, errmsg
, min_value
);
1648 } else if (value
> max_value
) {
1650 PyErr_Format(PyExc_OverflowError
,
1651 "value %ld is greater than '%s' maximum %ld",
1652 value
, errmsg
, max_value
);
1661 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1663 if (PyNumber_Check(obj
)) {
1664 if (val
) *val
= PyInt_AsLong(obj
);
1668 SWIG_type_error("number", obj
);
1674 #if INT_MAX != LONG_MAX
1676 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1678 const char* errmsg
= val
? "int" : (char*)0;
1680 if (SWIG_AsVal_long(obj
, &v
)) {
1681 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1682 if (val
) *val
= static_cast<int >(v
);
1691 SWIG_type_error(errmsg
, obj
);
1696 SWIGINTERNINLINE
int
1697 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1699 return SWIG_AsVal_long(obj
,(long*)val
);
1704 SWIGINTERNINLINE
int
1705 SWIG_As_int(PyObject
* obj
)
1708 if (!SWIG_AsVal_int(obj
, &v
)) {
1710 this is needed to make valgrind/purify happier.
1712 memset((void*)&v
, 0, sizeof(int));
1718 SWIGINTERNINLINE
int
1719 SWIG_Check_int(PyObject
* obj
)
1721 return SWIG_AsVal_int(obj
, (int*)0);
1724 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1726 #include <wx/stockitem.h>
1728 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1729 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1730 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1732 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1733 #define SWIG_From_long PyInt_FromLong
1737 SWIGINTERNINLINE
long
1738 SWIG_As_long(PyObject
* obj
)
1741 if (!SWIG_AsVal_long(obj
, &v
)) {
1743 this is needed to make valgrind/purify happier.
1745 memset((void*)&v
, 0, sizeof(long));
1751 SWIGINTERNINLINE
int
1752 SWIG_Check_long(PyObject
* obj
)
1754 return SWIG_AsVal_long(obj
, (long*)0);
1759 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1761 if (obj
== Py_True
) {
1762 if (val
) *val
= true;
1765 if (obj
== Py_False
) {
1766 if (val
) *val
= false;
1770 if (SWIG_AsVal_int(obj
, &res
)) {
1771 if (val
) *val
= res
? true : false;
1777 SWIG_type_error("bool", obj
);
1783 SWIGINTERNINLINE
bool
1784 SWIG_As_bool(PyObject
* obj
)
1787 if (!SWIG_AsVal_bool(obj
, &v
)) {
1789 this is needed to make valgrind/purify happier.
1791 memset((void*)&v
, 0, sizeof(bool));
1797 SWIGINTERNINLINE
int
1798 SWIG_Check_bool(PyObject
* obj
)
1800 return SWIG_AsVal_bool(obj
, (bool*)0);
1804 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1810 } else if (target
== Py_None
) {
1814 if (!PyTuple_Check(target
)) {
1816 target
= PyTuple_New(1);
1817 PyTuple_SetItem(target
, 0, o2
);
1819 o3
= PyTuple_New(1);
1820 PyTuple_SetItem(o3
, 0, o
);
1823 target
= PySequence_Concat(o2
, o3
);
1832 wxMemorySize
wxGetFreeMemory()
1833 { wxPyRaiseNotImplemented(); return 0; }
1837 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1840 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1841 SWIG_type_error("unsigned number", obj
);
1844 *val
= (unsigned long)v
;
1849 SWIGINTERNINLINE
unsigned long
1850 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(unsigned long));
1863 SWIGINTERNINLINE
int
1864 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1866 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1870 SWIGINTERNINLINE PyObject
*
1871 SWIG_From_unsigned_SS_long(unsigned long value
)
1873 return (value
> LONG_MAX
) ?
1874 PyLong_FromUnsignedLong(value
)
1875 : PyInt_FromLong(static_cast<long >(value
));
1879 void* wxGetXDisplay()
1882 return wxGetDisplay();
1889 wxWindow
* FindWindowAtPointer() {
1891 return wxFindWindowAtPointer(unused
);
1895 void wxWakeUpMainThread() {}
1898 bool wxThread_IsMain() {
1899 #ifdef WXP_WITH_THREAD
1900 return wxThread::IsMain();
1906 static void wxCaret_Destroy(wxCaret
*self
){
1910 #include <wx/snglinst.h>
1914 #include <wx/msw/private.h>
1915 #include <wx/dynload.h>
1920 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1931 // This one only partially works. Appears to be an undocumented
1932 // "standard" convention that not all widgets adhear to. For
1933 // example, for some widgets backgrounds or non-client areas may
1935 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1940 // This one works much better, nearly all widgets and their
1941 // children are captured correctly[**]. Prior to the big
1942 // background erase changes that Vadim did in 2004-2005 this
1943 // method failed badly on XP with Themes activated, most native
1944 // widgets draw only partially, if at all. Without themes it
1945 // worked just like on Win2k. After those changes this method
1948 // ** For example the radio buttons in a wxRadioBox are not its
1949 // children by default, but you can capture it via the panel
1950 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1951 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1952 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1953 PRF_ERASEBKGND
| PRF_OWNED
);
1959 // This one is only defined in the latest SDK and is only
1960 // available on XP. MSDN says it is similar to sending WM_PRINT
1961 // so I expect that it will work similar to the above. Since it
1962 // is avaialble only on XP, it can't be compiled like this and
1963 // will have to be loaded dynamically.
1964 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1969 // Use PrintWindow if available, or fallback to WM_PRINT
1970 // otherwise. Unfortunately using PrintWindow is even worse than
1971 // WM_PRINT. For most native widgets nothing is drawn to the dc
1972 // at all, with or without Themes.
1973 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1974 static bool s_triedToLoad
= false;
1975 static PrintWindow_t pfnPrintWindow
= NULL
;
1976 if ( !s_triedToLoad
)
1979 s_triedToLoad
= true;
1980 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1981 if ( dllUser32
.IsLoaded() )
1983 wxLogNull nolog
; // Don't report errors here
1984 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1989 //printf("Using PrintWindow\n");
1990 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1994 //printf("Using WM_PRINT\n");
1995 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1996 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1997 PRF_ERASEBKGND
| PRF_OWNED
);
2008 #include <wx/tipdlg.h>
2011 class wxPyTipProvider
: public wxTipProvider
{
2013 wxPyTipProvider(size_t currentTip
)
2014 : wxTipProvider(currentTip
) {}
2016 DEC_PYCALLBACK_STRING__pure(GetTip
);
2017 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2021 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2022 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2025 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
2027 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2029 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
2030 : wxTimer(owner
, id
)
2032 if (owner
== NULL
) SetOwner(this);
2036 void wxPyTimer::Notify() {
2038 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2039 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
2040 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
2041 wxPyEndBlockThreads(blocked
);
2045 void wxPyTimer::base_Notify() {
2051 SWIGINTERN PyObject
*
2052 SWIG_FromCharPtr(const char* cptr
)
2055 size_t size
= strlen(cptr
);
2056 if (size
> INT_MAX
) {
2057 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2058 SWIG_TypeQuery("char *"), 0);
2061 return PyString_FromStringAndSize(cptr
, size
);
2063 return PyString_FromString(cptr
);
2072 SWIGINTERNINLINE
int
2073 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2074 unsigned long max_value
,
2077 if (value
> max_value
) {
2079 PyErr_Format(PyExc_OverflowError
,
2080 "value %lu is greater than '%s' minimum %lu",
2081 value
, errmsg
, max_value
);
2089 #if UINT_MAX != ULONG_MAX
2091 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2093 const char* errmsg
= val
? "unsigned int" : (char*)0;
2095 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2096 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2097 if (val
) *val
= static_cast<unsigned int >(v
);
2104 SWIG_type_error(errmsg
, obj
);
2109 SWIGINTERNINLINE
unsigned int
2110 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2112 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2117 SWIGINTERNINLINE
unsigned int
2118 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2121 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2123 this is needed to make valgrind/purify happier.
2125 memset((void*)&v
, 0, sizeof(unsigned int));
2131 SWIGINTERNINLINE
int
2132 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2134 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2137 static wxString
wxLog_TimeStamp(){
2139 wxLog::TimeStamp(&msg
);
2142 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
2143 // Make somce wrappers that double any % signs so they are 'escaped'
2144 void wxPyLogFatalError(const wxString
& msg
)
2147 m
.Replace(wxT("%"), wxT("%%"));
2151 void wxPyLogError(const wxString
& msg
)
2154 m
.Replace(wxT("%"), wxT("%%"));
2158 void wxPyLogWarning(const wxString
& msg
)
2161 m
.Replace(wxT("%"), wxT("%%"));
2165 void wxPyLogMessage(const wxString
& msg
)
2168 m
.Replace(wxT("%"), wxT("%%"));
2172 void wxPyLogInfo(const wxString
& msg
)
2175 m
.Replace(wxT("%"), wxT("%%"));
2179 void wxPyLogDebug(const wxString
& msg
)
2182 m
.Replace(wxT("%"), wxT("%%"));
2186 void wxPyLogVerbose(const wxString
& msg
)
2189 m
.Replace(wxT("%"), wxT("%%"));
2193 void wxPyLogStatus(const wxString
& msg
)
2196 m
.Replace(wxT("%"), wxT("%%"));
2200 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2203 m
.Replace(wxT("%"), wxT("%%"));
2204 wxLogStatus(pFrame
, m
);
2207 void wxPyLogSysError(const wxString
& msg
)
2210 m
.Replace(wxT("%"), wxT("%%"));
2214 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2217 m
.Replace(wxT("%"), wxT("%%"));
2218 wxLogGeneric(level
, m
);
2221 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2224 m
.Replace(wxT("%"), wxT("%%"));
2225 wxLogTrace(mask
, m
);
2228 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2231 m
.Replace(wxT("%"), wxT("%%"));
2232 wxLogTrace(mask
, m
);
2237 // A wxLog class that can be derived from in wxPython
2238 class wxPyLog
: public wxLog
{
2240 wxPyLog() : wxLog() {}
2242 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2244 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2245 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2246 PyObject
* s
= wx2PyString(szString
);
2247 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2250 wxPyEndBlockThreads(blocked
);
2252 wxLog::DoLog(level
, szString
, t
);
2255 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2257 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2258 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2259 PyObject
* s
= wx2PyString(szString
);
2260 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2263 wxPyEndBlockThreads(blocked
);
2265 wxLog::DoLogString(szString
, t
);
2274 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2277 #include <wx/joystick.h>
2280 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2281 // A C++ stub class for wxJoystick for platforms that don't have it.
2282 class wxJoystick
: public wxObject
{
2284 wxJoystick(int joystick
= wxJOYSTICK1
) {
2285 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2286 PyErr_SetString(PyExc_NotImplementedError
,
2287 "wxJoystick is not available on this platform.");
2288 wxPyEndBlockThreads(blocked
);
2290 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2291 int GetZPosition() { return -1; }
2292 int GetButtonState() { return -1; }
2293 int GetPOVPosition() { return -1; }
2294 int GetPOVCTSPosition() { return -1; }
2295 int GetRudderPosition() { return -1; }
2296 int GetUPosition() { return -1; }
2297 int GetVPosition() { return -1; }
2298 int GetMovementThreshold() { return -1; }
2299 void SetMovementThreshold(int threshold
) {}
2301 bool IsOk(void) { return false; }
2302 int GetNumberJoysticks() { return -1; }
2303 int GetManufacturerId() { return -1; }
2304 int GetProductId() { return -1; }
2305 wxString
GetProductName() { return wxEmptyString
; }
2306 int GetXMin() { return -1; }
2307 int GetYMin() { return -1; }
2308 int GetZMin() { return -1; }
2309 int GetXMax() { return -1; }
2310 int GetYMax() { return -1; }
2311 int GetZMax() { return -1; }
2312 int GetNumberButtons() { return -1; }
2313 int GetNumberAxes() { return -1; }
2314 int GetMaxButtons() { return -1; }
2315 int GetMaxAxes() { return -1; }
2316 int GetPollingMin() { return -1; }
2317 int GetPollingMax() { return -1; }
2318 int GetRudderMin() { return -1; }
2319 int GetRudderMax() { return -1; }
2320 int GetUMin() { return -1; }
2321 int GetUMax() { return -1; }
2322 int GetVMin() { return -1; }
2323 int GetVMax() { return -1; }
2325 bool HasRudder() { return false; }
2326 bool HasZ() { return false; }
2327 bool HasU() { return false; }
2328 bool HasV() { return false; }
2329 bool HasPOV() { return false; }
2330 bool HasPOV4Dir() { return false; }
2331 bool HasPOVCTS() { return false; }
2333 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2334 bool ReleaseCapture() { return false; }
2339 #include <wx/sound.h>
2343 // A C++ stub class for wxWave for platforms that don't have it.
2344 class wxSound
: public wxObject
2348 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2349 PyErr_SetString(PyExc_NotImplementedError
,
2350 "wxSound is not available on this platform.");
2351 wxPyEndBlockThreads(blocked
);
2353 wxSound(const wxString
&/*, bool*/) {
2354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2355 PyErr_SetString(PyExc_NotImplementedError
,
2356 "wxSound is not available on this platform.");
2357 wxPyEndBlockThreads(blocked
);
2359 wxSound(int, const wxByte
*) {
2360 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2361 PyErr_SetString(PyExc_NotImplementedError
,
2362 "wxSound is not available on this platform.");
2363 wxPyEndBlockThreads(blocked
);
2368 bool Create(const wxString
&/*, bool*/) { return false; }
2369 bool Create(int, const wxByte
*) { return false; };
2370 bool IsOk() { return false; };
2371 bool Play(unsigned) const { return false; }
2372 static bool Play(const wxString
&, unsigned) { return false; }
2373 static void Stop() {}
2378 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2379 if (fileName
.Length() == 0)
2382 return new wxSound(fileName
);
2384 static wxSound
*new_wxSound(PyObject
*data
){
2385 unsigned char* buffer
; int size
;
2386 wxSound
*sound
= NULL
;
2388 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2389 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2391 sound
= new wxSound(size
, buffer
);
2393 wxPyEndBlockThreads(blocked
);
2396 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2398 unsigned char* buffer
;
2402 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2403 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2405 rv
= self
->Create(size
, buffer
);
2407 wxPyEndBlockThreads(blocked
);
2410 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2411 PyErr_SetString(PyExc_NotImplementedError
,
2412 "Create from data is not available on this platform.");
2413 wxPyEndBlockThreads(blocked
);
2418 #include <wx/mimetype.h>
2420 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2422 if (self
->GetMimeType(&str
))
2423 return wx2PyString(str
);
2427 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2429 if (self
->GetMimeTypes(arr
))
2430 return wxArrayString2PyList_helper(arr
);
2434 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2436 if (self
->GetExtensions(arr
))
2437 return wxArrayString2PyList_helper(arr
);
2441 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2443 if (self
->GetIcon(&loc
))
2444 return new wxIcon(loc
);
2448 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2450 if (self
->GetIcon(&loc
)) {
2451 wxString iconFile
= loc
.GetFileName();
2456 // Make a tuple and put the values in it
2457 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2458 PyObject
* tuple
= PyTuple_New(3);
2459 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2460 wxT("wxIcon"), true));
2461 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2462 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2463 wxPyEndBlockThreads(blocked
);
2469 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2471 if (self
->GetDescription(&str
))
2472 return wx2PyString(str
);
2476 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2478 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2479 return wx2PyString(str
);
2483 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2485 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2486 return wx2PyString(str
);
2490 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2491 wxArrayString verbs
;
2492 wxArrayString commands
;
2493 if (self
->GetAllCommands(&verbs
, &commands
,
2494 wxFileType::MessageParameters(filename
, mimetype
))) {
2495 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2496 PyObject
* tuple
= PyTuple_New(2);
2497 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2498 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2499 wxPyEndBlockThreads(blocked
);
2505 static wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2506 return wxFileType::ExpandCommand(command
,
2507 wxFileType::MessageParameters(filename
, mimetype
));
2509 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2511 self
->EnumAllFileTypes(arr
);
2512 return wxArrayString2PyList_helper(arr
);
2515 #include <wx/artprov.h>
2517 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2518 static const wxString
wxPyART_MENU(wxART_MENU
);
2519 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2520 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2521 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2522 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2523 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2524 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2525 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2526 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2527 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2528 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2529 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2530 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2531 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2532 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2533 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2534 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2535 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2536 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2537 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2538 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2539 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2540 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2541 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2542 static const wxString
wxPyART_HELP(wxART_HELP
);
2543 static const wxString
wxPyART_TIP(wxART_TIP
);
2544 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2545 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2546 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2547 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2548 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2549 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2550 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2551 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2552 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2553 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2554 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2555 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2556 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2557 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2558 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2559 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2560 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2561 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2562 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2563 static const wxString
wxPyART_COPY(wxART_COPY
);
2564 static const wxString
wxPyART_CUT(wxART_CUT
);
2565 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2566 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2567 static const wxString
wxPyART_NEW(wxART_NEW
);
2568 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2569 static const wxString
wxPyART_REDO(wxART_REDO
);
2570 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2571 static const wxString
wxPyART_FIND(wxART_FIND
);
2572 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2573 // Python aware wxArtProvider
2574 class wxPyArtProvider
: public wxArtProvider
{
2577 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2578 const wxArtClient
& client
,
2579 const wxSize
& size
) {
2580 wxBitmap rval
= wxNullBitmap
;
2581 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2582 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2583 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2587 s1
= wx2PyString(id
);
2588 s2
= wx2PyString(client
);
2589 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2594 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2599 wxPyEndBlockThreads(blocked
);
2606 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2610 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2611 PyObject
* ret
= PyTuple_New(3);
2613 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2614 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2615 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2620 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2625 cont
= self
->GetFirstGroup(value
, index
);
2626 return __EnumerationHelper(cont
, value
, index
);
2628 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2632 cont
= self
->GetNextGroup(value
, index
);
2633 return __EnumerationHelper(cont
, value
, index
);
2635 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2640 cont
= self
->GetFirstEntry(value
, index
);
2641 return __EnumerationHelper(cont
, value
, index
);
2643 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2647 cont
= self
->GetNextEntry(value
, index
);
2648 return __EnumerationHelper(cont
, value
, index
);
2650 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2652 self
->Read(key
, &rv
, defaultVal
);
2657 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2659 if (PyNumber_Check(obj
)) {
2660 if (val
) *val
= PyFloat_AsDouble(obj
);
2664 SWIG_type_error("number", obj
);
2670 SWIGINTERNINLINE
double
2671 SWIG_As_double(PyObject
* obj
)
2674 if (!SWIG_AsVal_double(obj
, &v
)) {
2676 this is needed to make valgrind/purify happier.
2678 memset((void*)&v
, 0, sizeof(double));
2684 SWIGINTERNINLINE
int
2685 SWIG_Check_double(PyObject
* obj
)
2687 return SWIG_AsVal_double(obj
, (double*)0);
2690 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2692 self
->Read(key
, &rv
, defaultVal
);
2696 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2697 #define SWIG_From_double PyFloat_FromDouble
2700 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2702 self
->Read(key
, &rv
, defaultVal
);
2706 #include <wx/datetime.h>
2708 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2709 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2711 #define LOCAL_TZ wxDateTime::Local
2713 static PyObject
*wxDateTime_GetAmPmStrings(){
2716 wxDateTime::GetAmPmStrings(&am
, &pm
);
2717 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2718 PyObject
* tup
= PyTuple_New(2);
2719 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2720 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2721 wxPyEndBlockThreads(blocked
);
2725 #if UINT_MAX < LONG_MAX
2726 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2727 #define SWIG_From_unsigned_SS_int SWIG_From_long
2730 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2731 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2735 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2736 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2737 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2738 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2739 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2740 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2741 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2742 return (*self
< *other
);
2744 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2745 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2746 return (*self
<= *other
);
2748 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2749 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2750 return (*self
> *other
);
2752 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2753 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2754 return (*self
>= *other
);
2756 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2757 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2758 return (*self
== *other
);
2760 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2761 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2762 return (*self
!= *other
);
2764 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2766 const wxChar
* _date
= date
;
2767 rv
= self
->ParseRfc822Date(_date
);
2768 if (rv
== NULL
) return -1;
2771 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2773 const wxChar
* _date
= date
;
2774 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2775 if (rv
== NULL
) return -1;
2778 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2780 const wxChar
* _datetime
= datetime
;
2781 rv
= self
->ParseDateTime(_datetime
);
2782 if (rv
== NULL
) return -1;
2783 return rv
- _datetime
;
2785 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2787 const wxChar
* _date
= date
;
2788 rv
= self
->ParseDate(_date
);
2789 if (rv
== NULL
) return -1;
2792 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2794 const wxChar
* _time
= time
;
2795 rv
= self
->ParseTime(_time
);
2796 if (rv
== NULL
) return -1;
2799 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2800 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2801 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2802 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2803 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2804 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2805 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2806 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2807 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2808 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2809 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2810 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2811 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2812 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2813 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2814 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2816 #include <wx/dataobj.h>
2818 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2819 size_t count
= self
->GetFormatCount(dir
);
2820 wxDataFormat
* formats
= new wxDataFormat
[count
];
2821 self
->GetAllFormats(formats
, dir
);
2823 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2824 PyObject
* list
= PyList_New(count
);
2825 for (size_t i
=0; i
<count
; i
++) {
2826 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2827 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2828 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
2830 wxPyEndBlockThreads(blocked
);
2834 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2835 PyObject
* rval
= NULL
;
2836 size_t size
= self
->GetDataSize(format
);
2837 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2839 char* buf
= new char[size
];
2840 if (self
->GetDataHere(format
, buf
))
2841 rval
= PyString_FromStringAndSize(buf
, size
);
2848 wxPyEndBlockThreads(blocked
);
2851 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2853 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2854 if (PyString_Check(data
)) {
2855 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2858 // raise a TypeError if not a string
2859 PyErr_SetString(PyExc_TypeError
, "String expected.");
2862 wxPyEndBlockThreads(blocked
);
2865 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2866 PyObject
* rval
= NULL
;
2867 size_t size
= self
->GetDataSize();
2868 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2870 char* buf
= new char[size
];
2871 if (self
->GetDataHere(buf
))
2872 rval
= PyString_FromStringAndSize(buf
, size
);
2879 wxPyEndBlockThreads(blocked
);
2882 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2884 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2885 if (PyString_Check(data
)) {
2886 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2889 // raise a TypeError if not a string
2890 PyErr_SetString(PyExc_TypeError
, "String expected.");
2893 wxPyEndBlockThreads(blocked
);
2896 // Create a new class for wxPython to use
2897 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2899 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2900 : wxDataObjectSimple(format
) {}
2902 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2903 bool GetDataHere(void *buf
) const;
2904 bool SetData(size_t len
, const void *buf
) const;
2908 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2910 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2911 // We need to get the data for this object and write it to buf. I think
2912 // the best way to do this for wxPython is to have the Python method
2913 // return either a string or None and then act appropriately with the
2917 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2918 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2920 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2922 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2924 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2928 wxPyEndBlockThreads(blocked
);
2932 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2933 // For this one we simply need to make a string from buf and len
2934 // and send it to the Python method.
2936 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2937 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2938 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2939 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2942 wxPyEndBlockThreads(blocked
);
2946 // Create a new class for wxPython to use
2947 class wxPyTextDataObject
: public wxTextDataObject
{
2949 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2950 : wxTextDataObject(text
) {}
2952 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2953 DEC_PYCALLBACK_STRING__const(GetText
);
2954 DEC_PYCALLBACK__STRING(SetText
);
2958 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2959 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2960 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2963 // Create a new class for wxPython to use
2964 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2966 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2967 : wxBitmapDataObject(bitmap
) {}
2969 wxBitmap
GetBitmap() const;
2970 void SetBitmap(const wxBitmap
& bitmap
);
2974 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2975 wxBitmap
* rval
= &wxNullBitmap
;
2976 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2977 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2980 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2982 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2987 wxPyEndBlockThreads(blocked
);
2991 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2992 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2993 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2994 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2995 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2998 wxPyEndBlockThreads(blocked
);
3001 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3002 return new wxCustomDataObject(wxDataFormat(formatName
));
3004 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3006 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3007 if (PyString_Check(data
)) {
3008 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3011 // raise a TypeError if not a string
3012 PyErr_SetString(PyExc_TypeError
, "String expected.");
3015 wxPyEndBlockThreads(blocked
);
3018 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3020 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3021 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3022 wxPyEndBlockThreads(blocked
);
3026 class wxMetafileDataObject
: public wxDataObjectSimple
3029 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3033 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3036 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3037 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3038 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3039 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3040 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3043 class wxPyTextDropTarget
: public wxTextDropTarget
{
3045 wxPyTextDropTarget() {}
3047 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3049 DEC_PYCALLBACK__(OnLeave
);
3050 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3051 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3052 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3053 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3058 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3059 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3060 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3061 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3062 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3063 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3067 class wxPyFileDropTarget
: public wxFileDropTarget
{
3069 wxPyFileDropTarget() {}
3071 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3073 DEC_PYCALLBACK__(OnLeave
);
3074 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3075 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3076 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3077 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3082 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3083 const wxArrayString
& filenames
) {
3085 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3086 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3087 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3088 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3091 wxPyEndBlockThreads(blocked
);
3097 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3098 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3099 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3100 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3101 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3106 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
3108 #include <wx/display.h>
3110 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
3111 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
3113 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3115 #include <wx/dynarray.h>
3116 #include <wx/vidmode.h>
3118 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
3119 #include "wx/arrimpl.cpp"
3120 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
3121 const wxVideoMode wxDefaultVideoMode
;
3126 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
3129 static size_t GetCount()
3130 { wxPyRaiseNotImplemented(); return 0; }
3132 static int GetFromPoint(const wxPoint
& pt
)
3133 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3134 static int GetFromWindow(wxWindow
*window
)
3135 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3137 virtual bool IsOk() const { return false; }
3138 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
3139 virtual wxString
GetName() const { return wxEmptyString
; }
3140 bool IsPrimary() const { return false; }
3142 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3143 { wxArrayVideoModes a
; return a
; }
3145 virtual wxVideoMode
GetCurrentMode() const
3146 { return wxDefaultVideoMode
; }
3148 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3155 static int wxDisplay_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3156 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
3157 PyObject
* pyList
= NULL
;
3158 wxArrayVideoModes arr
= self
->GetModes(mode
);
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 pyList
= PyList_New(0);
3161 for (int i
=0; i
< arr
.GetCount(); i
++) {
3162 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
3163 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
3164 PyList_Append(pyList
, pyObj
);
3167 wxPyEndBlockThreads(blocked
);
3171 #include <wx/stdpaths.h>
3173 static wxStandardPaths
*wxStandardPaths_Get(){
3174 return (wxStandardPaths
*) &wxStandardPaths::Get();
3179 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
*resultobj
= NULL
;
3181 wxSystemColour arg1
;
3183 PyObject
* obj0
= 0 ;
3185 (char *) "index", NULL
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3190 arg1
= static_cast<wxSystemColour
>(SWIG_As_int(obj0
));
3191 if (SWIG_arg_fail(1)) SWIG_fail
;
3194 if (!wxPyCheckForApp()) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 result
= wxSystemSettings::GetColour(arg1
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3202 wxColour
* resultptr
;
3203 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3212 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
= NULL
;
3216 PyObject
* obj0
= 0 ;
3218 (char *) "index", NULL
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3223 arg1
= static_cast<wxSystemFont
>(SWIG_As_int(obj0
));
3224 if (SWIG_arg_fail(1)) SWIG_fail
;
3227 if (!wxPyCheckForApp()) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= wxSystemSettings::GetFont(arg1
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3236 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
3237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3245 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
= NULL
;
3247 wxSystemMetric arg1
;
3248 wxWindow
*arg2
= (wxWindow
*) NULL
;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3253 (char *) "index",(char *) "win", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3258 arg1
= static_cast<wxSystemMetric
>(SWIG_As_int(obj0
));
3259 if (SWIG_arg_fail(1)) SWIG_fail
;
3262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3263 if (SWIG_arg_fail(2)) SWIG_fail
;
3266 if (!wxPyCheckForApp()) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3274 resultobj
= SWIG_From_int(static_cast<int >(result
));
3282 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
= NULL
;
3284 wxSystemFeature arg1
;
3286 PyObject
* obj0
= 0 ;
3288 (char *) "index", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3293 arg1
= static_cast<wxSystemFeature
>(SWIG_As_int(obj0
));
3294 if (SWIG_arg_fail(1)) SWIG_fail
;
3297 if (!wxPyCheckForApp()) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 result
= (bool)wxSystemSettings::HasFeature(arg1
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3313 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
= NULL
;
3315 wxSystemScreenType result
;
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3322 if (!wxPyCheckForApp()) SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 resultobj
= SWIG_From_int((result
));
3336 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
= NULL
;
3338 wxSystemScreenType arg1
;
3339 PyObject
* obj0
= 0 ;
3341 (char *) "screen", NULL
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3346 arg1
= static_cast<wxSystemScreenType
>(SWIG_As_int(obj0
));
3347 if (SWIG_arg_fail(1)) SWIG_fail
;
3350 if (!wxPyCheckForApp()) SWIG_fail
;
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 wxSystemSettings::SetScreenType(arg1
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3357 Py_INCREF(Py_None
); resultobj
= Py_None
;
3364 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3367 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3369 return Py_BuildValue((char *)"");
3371 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3372 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3377 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3378 PyObject
*pyobj
= NULL
;
3382 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3384 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3391 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
= NULL
;
3393 wxSystemOptions
*result
;
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 result
= (wxSystemOptions
*)new wxSystemOptions();
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3413 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
= NULL
;
3415 wxString
*arg1
= 0 ;
3416 wxString
*arg2
= 0 ;
3417 bool temp1
= false ;
3418 bool temp2
= false ;
3419 PyObject
* obj0
= 0 ;
3420 PyObject
* obj1
= 0 ;
3422 (char *) "name",(char *) "value", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3427 arg1
= wxString_in_helper(obj0
);
3428 if (arg1
== NULL
) SWIG_fail
;
3432 arg2
= wxString_in_helper(obj1
);
3433 if (arg2
== NULL
) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 Py_INCREF(Py_None
); resultobj
= Py_None
;
3466 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
= NULL
;
3468 wxString
*arg1
= 0 ;
3470 bool temp1
= false ;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj1
= 0 ;
3474 (char *) "name",(char *) "value", NULL
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3479 arg1
= wxString_in_helper(obj0
);
3480 if (arg1
== NULL
) SWIG_fail
;
3484 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3485 if (SWIG_arg_fail(2)) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3509 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
*resultobj
= NULL
;
3511 wxString
*arg1
= 0 ;
3513 bool temp1
= false ;
3514 PyObject
* obj0
= 0 ;
3516 (char *) "name", NULL
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3521 arg1
= wxString_in_helper(obj0
);
3522 if (arg1
== NULL
) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3553 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
= NULL
;
3555 wxString
*arg1
= 0 ;
3557 bool temp1
= false ;
3558 PyObject
* obj0
= 0 ;
3560 (char *) "name", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3565 arg1
= wxString_in_helper(obj0
);
3566 if (arg1
== NULL
) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_From_int(static_cast<int >(result
));
3593 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
= NULL
;
3595 wxString
*arg1
= 0 ;
3597 bool temp1
= false ;
3598 PyObject
* obj0
= 0 ;
3600 (char *) "name", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3605 arg1
= wxString_in_helper(obj0
);
3606 if (arg1
== NULL
) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3633 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
= NULL
;
3635 wxString
*arg1
= 0 ;
3637 bool temp1
= false ;
3638 PyObject
* obj0
= 0 ;
3640 (char *) "name", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3645 arg1
= wxString_in_helper(obj0
);
3646 if (arg1
== NULL
) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3673 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3676 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3678 return Py_BuildValue((char *)"");
3680 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3681 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3686 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3687 PyObject
*pyobj
= NULL
;
3691 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3693 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3700 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3701 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3706 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3707 PyObject
*pyobj
= NULL
;
3711 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3713 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3720 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3721 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3726 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3727 PyObject
*pyobj
= NULL
;
3731 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3733 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3740 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
= NULL
;
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (long)wxNewId();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3756 resultobj
= SWIG_From_long(static_cast<long >(result
));
3764 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
= NULL
;
3767 PyObject
* obj0
= 0 ;
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3774 arg1
= static_cast<long >(SWIG_As_long(obj0
));
3775 if (SWIG_arg_fail(1)) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
= NULL
;
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (long)wxGetCurrentId();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_From_long(static_cast<long >(result
));
3815 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
= NULL
;
3819 PyObject
* obj0
= 0 ;
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3826 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3827 if (SWIG_arg_fail(1)) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (bool)wxIsStockID(arg1
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3845 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
= NULL
;
3848 wxString
*arg2
= 0 ;
3850 bool temp2
= false ;
3851 PyObject
* obj0
= 0 ;
3852 PyObject
* obj1
= 0 ;
3854 (char *) "id",(char *) "label", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3859 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3860 if (SWIG_arg_fail(1)) SWIG_fail
;
3863 arg2
= wxString_in_helper(obj1
);
3864 if (arg2
== NULL
) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3891 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
= NULL
;
3894 bool arg2
= (bool) true ;
3895 wxString arg3
= (wxString
) wxPyEmptyString
;
3897 PyObject
* obj0
= 0 ;
3898 PyObject
* obj1
= 0 ;
3899 PyObject
* obj2
= 0 ;
3901 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3906 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3907 if (SWIG_arg_fail(1)) SWIG_fail
;
3911 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3912 if (SWIG_arg_fail(2)) SWIG_fail
;
3917 wxString
* sptr
= wxString_in_helper(obj2
);
3918 if (sptr
== NULL
) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3943 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
= NULL
;
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3951 if (!wxPyCheckForApp()) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
= NULL
;
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3973 if (!wxPyCheckForApp()) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
= NULL
;
3989 bool arg1
= (bool) true ;
3991 PyObject
* obj0
= 0 ;
3993 (char *) "resetTimer", NULL
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3999 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4000 if (SWIG_arg_fail(1)) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (long)wxGetElapsedTime(arg1
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_From_long(static_cast<long >(result
));
4019 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
= NULL
;
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (bool)wxIsBusy();
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4043 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
= NULL
;
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4071 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
= NULL
;
4073 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4074 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4076 bool temp1
= false ;
4077 PyObject
* obj0
= 0 ;
4079 (char *) "command", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
4085 arg1
= wxString_in_helper(obj0
);
4086 if (arg1
== NULL
) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (bool)wxShell((wxString
const &)*arg1
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4114 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
= NULL
;
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
= NULL
;
4137 int *arg1
= (int *) 0 ;
4138 int *arg2
= (int *) 0 ;
4148 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4149 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (int)wxGetOsVersion(arg1
,arg2
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= SWIG_From_int(static_cast<int >(result
));
4161 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4162 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4163 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4164 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4171 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
= NULL
;
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= wxGetOsDescription();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4199 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= NULL
;
4201 wxMemorySize result
;
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= wxGetFreeMemory();
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4215 wxMemorySize
* resultptr
;
4216 resultptr
= new wxMemorySize(static_cast<wxMemorySize
& >(result
));
4217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4225 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= NULL
;
4227 wxShutdownFlags arg1
;
4229 PyObject
* obj0
= 0 ;
4231 (char *) "wFlags", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4236 arg1
= static_cast<wxShutdownFlags
>(SWIG_As_int(obj0
));
4237 if (SWIG_arg_fail(1)) SWIG_fail
;
4240 if (!wxPyCheckForApp()) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (bool)wxShutdown(arg1
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4256 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
= NULL
;
4259 PyObject
* obj0
= 0 ;
4261 (char *) "secs", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4266 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4267 if (SWIG_arg_fail(1)) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 Py_INCREF(Py_None
); resultobj
= Py_None
;
4283 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
= NULL
;
4285 unsigned long arg1
;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "milliseconds", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4293 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4294 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 Py_INCREF(Py_None
); resultobj
= Py_None
;
4310 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
= NULL
;
4312 unsigned long arg1
;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "microseconds", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4320 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4321 if (SWIG_arg_fail(1)) SWIG_fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
= NULL
;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "enable", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4347 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4348 if (SWIG_arg_fail(1)) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 wxEnableTopLevelWindows(arg1
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 Py_INCREF(Py_None
); resultobj
= Py_None
;
4364 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
= NULL
;
4366 wxString
*arg1
= 0 ;
4368 bool temp1
= false ;
4369 PyObject
* obj0
= 0 ;
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4376 arg1
= wxString_in_helper(obj0
);
4377 if (arg1
== NULL
) SWIG_fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4408 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= NULL
;
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= wxGetEmailAddress();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4436 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
= NULL
;
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= wxGetHostName();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4464 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
= NULL
;
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= wxGetFullHostName();
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4492 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
= NULL
;
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= wxGetUserId();
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4520 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= NULL
;
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 result
= wxGetUserName();
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4548 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
= NULL
;
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= wxGetHomeDir();
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4576 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
= NULL
;
4578 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4579 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4581 bool temp1
= false ;
4582 PyObject
* obj0
= 0 ;
4584 (char *) "user", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4590 arg1
= wxString_in_helper(obj0
);
4591 if (arg1
== NULL
) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= wxGetUserHome((wxString
const &)*arg1
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4623 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
= NULL
;
4625 unsigned long result
;
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (unsigned long)wxGetProcessId();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
4647 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
= NULL
;
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 Py_INCREF(Py_None
); resultobj
= Py_None
;
4668 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= NULL
;
4670 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4671 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4672 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4673 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4674 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4675 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4676 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4677 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4678 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4679 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4680 int arg6
= (int) 0 ;
4681 wxWindow
*arg7
= (wxWindow
*) NULL
;
4682 int arg8
= (int) -1 ;
4683 int arg9
= (int) -1 ;
4685 bool temp1
= false ;
4686 bool temp2
= false ;
4687 bool temp3
= false ;
4688 bool temp4
= false ;
4689 bool temp5
= false ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 PyObject
* obj2
= 0 ;
4693 PyObject
* obj3
= 0 ;
4694 PyObject
* obj4
= 0 ;
4695 PyObject
* obj5
= 0 ;
4696 PyObject
* obj6
= 0 ;
4697 PyObject
* obj7
= 0 ;
4698 PyObject
* obj8
= 0 ;
4700 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4706 arg1
= wxString_in_helper(obj0
);
4707 if (arg1
== NULL
) SWIG_fail
;
4713 arg2
= wxString_in_helper(obj1
);
4714 if (arg2
== NULL
) SWIG_fail
;
4720 arg3
= wxString_in_helper(obj2
);
4721 if (arg3
== NULL
) SWIG_fail
;
4727 arg4
= wxString_in_helper(obj3
);
4728 if (arg4
== NULL
) SWIG_fail
;
4734 arg5
= wxString_in_helper(obj4
);
4735 if (arg5
== NULL
) SWIG_fail
;
4741 arg6
= static_cast<int >(SWIG_As_int(obj5
));
4742 if (SWIG_arg_fail(6)) SWIG_fail
;
4746 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4747 if (SWIG_arg_fail(7)) SWIG_fail
;
4751 arg8
= static_cast<int >(SWIG_As_int(obj7
));
4752 if (SWIG_arg_fail(8)) SWIG_fail
;
4757 arg9
= static_cast<int >(SWIG_As_int(obj8
));
4758 if (SWIG_arg_fail(9)) SWIG_fail
;
4762 if (!wxPyCheckForApp()) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4822 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
= NULL
;
4824 wxString
*arg1
= 0 ;
4825 wxString
*arg2
= 0 ;
4826 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4827 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4828 wxWindow
*arg4
= (wxWindow
*) NULL
;
4830 bool temp1
= false ;
4831 bool temp2
= false ;
4832 bool temp3
= false ;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4835 PyObject
* obj2
= 0 ;
4836 PyObject
* obj3
= 0 ;
4838 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4843 arg1
= wxString_in_helper(obj0
);
4844 if (arg1
== NULL
) SWIG_fail
;
4848 arg2
= wxString_in_helper(obj1
);
4849 if (arg2
== NULL
) SWIG_fail
;
4854 arg3
= wxString_in_helper(obj2
);
4855 if (arg3
== NULL
) SWIG_fail
;
4860 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4861 if (SWIG_arg_fail(4)) SWIG_fail
;
4864 if (!wxPyCheckForApp()) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4908 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
= NULL
;
4910 wxString
*arg1
= 0 ;
4911 wxString
*arg2
= 0 ;
4912 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4914 wxWindow
*arg4
= (wxWindow
*) NULL
;
4916 bool temp1
= false ;
4917 bool temp2
= false ;
4918 bool temp3
= false ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4921 PyObject
* obj2
= 0 ;
4922 PyObject
* obj3
= 0 ;
4924 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4929 arg1
= wxString_in_helper(obj0
);
4930 if (arg1
== NULL
) SWIG_fail
;
4934 arg2
= wxString_in_helper(obj1
);
4935 if (arg2
== NULL
) SWIG_fail
;
4940 arg3
= wxString_in_helper(obj2
);
4941 if (arg3
== NULL
) SWIG_fail
;
4946 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4947 if (SWIG_arg_fail(4)) SWIG_fail
;
4950 if (!wxPyCheckForApp()) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4994 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
= NULL
;
4996 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4997 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4998 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4999 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5000 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5001 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5002 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5003 wxWindow
*arg5
= (wxWindow
*) NULL
;
5005 bool temp1
= false ;
5006 bool temp2
= false ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5010 PyObject
* obj2
= 0 ;
5011 PyObject
* obj3
= 0 ;
5012 PyObject
* obj4
= 0 ;
5014 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5020 arg1
= wxString_in_helper(obj0
);
5021 if (arg1
== NULL
) SWIG_fail
;
5027 arg2
= wxString_in_helper(obj1
);
5028 if (arg2
== NULL
) SWIG_fail
;
5034 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5035 if (SWIG_arg_fail(3)) SWIG_fail
;
5041 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5045 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5046 if (SWIG_arg_fail(5)) SWIG_fail
;
5049 if (!wxPyCheckForApp()) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5085 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
= NULL
;
5087 wxString
*arg1
= 0 ;
5088 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5089 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5090 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5091 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5092 wxWindow
*arg4
= (wxWindow
*) NULL
;
5093 int arg5
= (int) -1 ;
5094 int arg6
= (int) -1 ;
5095 bool arg7
= (bool) true ;
5097 bool temp1
= false ;
5098 bool temp2
= false ;
5099 bool temp3
= false ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5102 PyObject
* obj2
= 0 ;
5103 PyObject
* obj3
= 0 ;
5104 PyObject
* obj4
= 0 ;
5105 PyObject
* obj5
= 0 ;
5106 PyObject
* obj6
= 0 ;
5108 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5113 arg1
= wxString_in_helper(obj0
);
5114 if (arg1
== NULL
) SWIG_fail
;
5119 arg2
= wxString_in_helper(obj1
);
5120 if (arg2
== NULL
) SWIG_fail
;
5126 arg3
= wxString_in_helper(obj2
);
5127 if (arg3
== NULL
) SWIG_fail
;
5132 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5133 if (SWIG_arg_fail(4)) SWIG_fail
;
5137 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5138 if (SWIG_arg_fail(5)) SWIG_fail
;
5143 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5144 if (SWIG_arg_fail(6)) SWIG_fail
;
5149 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
5150 if (SWIG_arg_fail(7)) SWIG_fail
;
5154 if (!wxPyCheckForApp()) SWIG_fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5198 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
= NULL
;
5200 wxString
*arg1
= 0 ;
5201 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5202 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5203 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5204 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5205 wxWindow
*arg4
= (wxWindow
*) NULL
;
5207 bool temp1
= false ;
5208 bool temp2
= false ;
5209 bool temp3
= false ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5212 PyObject
* obj2
= 0 ;
5213 PyObject
* obj3
= 0 ;
5215 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5220 arg1
= wxString_in_helper(obj0
);
5221 if (arg1
== NULL
) SWIG_fail
;
5226 arg2
= wxString_in_helper(obj1
);
5227 if (arg2
== NULL
) SWIG_fail
;
5233 arg3
= wxString_in_helper(obj2
);
5234 if (arg3
== NULL
) SWIG_fail
;
5239 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5240 if (SWIG_arg_fail(4)) SWIG_fail
;
5243 if (!wxPyCheckForApp()) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5287 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
= NULL
;
5289 wxString
*arg1
= 0 ;
5290 wxString
*arg2
= 0 ;
5292 wxString
*arg4
= (wxString
*) 0 ;
5293 wxWindow
*arg5
= (wxWindow
*) NULL
;
5294 int arg6
= (int) -1 ;
5295 int arg7
= (int) -1 ;
5296 bool arg8
= (bool) true ;
5297 int arg9
= (int) 150 ;
5298 int arg10
= (int) 200 ;
5300 bool temp1
= false ;
5301 bool temp2
= false ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5304 PyObject
* obj2
= 0 ;
5305 PyObject
* obj3
= 0 ;
5306 PyObject
* obj4
= 0 ;
5307 PyObject
* obj5
= 0 ;
5308 PyObject
* obj6
= 0 ;
5309 PyObject
* obj7
= 0 ;
5310 PyObject
* obj8
= 0 ;
5312 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5317 arg1
= wxString_in_helper(obj0
);
5318 if (arg1
== NULL
) SWIG_fail
;
5322 arg2
= wxString_in_helper(obj1
);
5323 if (arg2
== NULL
) SWIG_fail
;
5327 arg3
= PyList_Size(obj2
);
5328 arg4
= wxString_LIST_helper(obj2
);
5329 if (arg4
== NULL
) SWIG_fail
;
5332 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5333 if (SWIG_arg_fail(5)) SWIG_fail
;
5337 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5338 if (SWIG_arg_fail(6)) SWIG_fail
;
5343 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5344 if (SWIG_arg_fail(7)) SWIG_fail
;
5349 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5350 if (SWIG_arg_fail(8)) SWIG_fail
;
5355 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5356 if (SWIG_arg_fail(9)) SWIG_fail
;
5361 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5362 if (SWIG_arg_fail(10)) SWIG_fail
;
5366 if (!wxPyCheckForApp()) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5389 if (arg4
) delete [] arg4
;
5402 if (arg4
) delete [] arg4
;
5408 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
= NULL
;
5410 wxString
*arg1
= 0 ;
5411 wxString
*arg2
= 0 ;
5413 wxString
*arg4
= (wxString
*) 0 ;
5414 wxWindow
*arg5
= (wxWindow
*) NULL
;
5415 int arg6
= (int) -1 ;
5416 int arg7
= (int) -1 ;
5417 bool arg8
= (bool) true ;
5418 int arg9
= (int) 150 ;
5419 int arg10
= (int) 200 ;
5421 bool temp1
= false ;
5422 bool temp2
= false ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5426 PyObject
* obj3
= 0 ;
5427 PyObject
* obj4
= 0 ;
5428 PyObject
* obj5
= 0 ;
5429 PyObject
* obj6
= 0 ;
5430 PyObject
* obj7
= 0 ;
5431 PyObject
* obj8
= 0 ;
5433 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5438 arg1
= wxString_in_helper(obj0
);
5439 if (arg1
== NULL
) SWIG_fail
;
5443 arg2
= wxString_in_helper(obj1
);
5444 if (arg2
== NULL
) SWIG_fail
;
5448 arg3
= PyList_Size(obj2
);
5449 arg4
= wxString_LIST_helper(obj2
);
5450 if (arg4
== NULL
) SWIG_fail
;
5453 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5454 if (SWIG_arg_fail(5)) SWIG_fail
;
5458 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5459 if (SWIG_arg_fail(6)) SWIG_fail
;
5464 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5465 if (SWIG_arg_fail(7)) SWIG_fail
;
5470 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5471 if (SWIG_arg_fail(8)) SWIG_fail
;
5476 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5477 if (SWIG_arg_fail(9)) SWIG_fail
;
5482 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5483 if (SWIG_arg_fail(10)) SWIG_fail
;
5487 if (!wxPyCheckForApp()) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= SWIG_From_int(static_cast<int >(result
));
5506 if (arg4
) delete [] arg4
;
5519 if (arg4
) delete [] arg4
;
5525 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
= NULL
;
5527 wxString
*arg1
= 0 ;
5528 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5529 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5530 int arg3
= (int) wxOK
|wxCENTRE
;
5531 wxWindow
*arg4
= (wxWindow
*) NULL
;
5532 int arg5
= (int) -1 ;
5533 int arg6
= (int) -1 ;
5535 bool temp1
= false ;
5536 bool temp2
= false ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5539 PyObject
* obj2
= 0 ;
5540 PyObject
* obj3
= 0 ;
5541 PyObject
* obj4
= 0 ;
5542 PyObject
* obj5
= 0 ;
5544 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5549 arg1
= wxString_in_helper(obj0
);
5550 if (arg1
== NULL
) SWIG_fail
;
5555 arg2
= wxString_in_helper(obj1
);
5556 if (arg2
== NULL
) SWIG_fail
;
5562 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5563 if (SWIG_arg_fail(3)) SWIG_fail
;
5567 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5568 if (SWIG_arg_fail(4)) SWIG_fail
;
5572 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5573 if (SWIG_arg_fail(5)) SWIG_fail
;
5578 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5579 if (SWIG_arg_fail(6)) SWIG_fail
;
5583 if (!wxPyCheckForApp()) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_From_int(static_cast<int >(result
));
5615 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
= NULL
;
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5624 if (!wxPyCheckForApp()) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (bool)wxColourDisplay();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5640 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
= NULL
;
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5649 if (!wxPyCheckForApp()) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (int)wxDisplayDepth();
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_From_int(static_cast<int >(result
));
5665 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
= NULL
;
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5674 if (!wxPyCheckForApp()) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (int)wxGetDisplayDepth();
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= SWIG_From_int(static_cast<int >(result
));
5690 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
= NULL
;
5692 int *arg1
= (int *) 0 ;
5693 int *arg2
= (int *) 0 ;
5702 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5703 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5706 if (!wxPyCheckForApp()) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 wxDisplaySize(arg1
,arg2
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 Py_INCREF(Py_None
); resultobj
= Py_None
;
5714 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5715 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5716 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5717 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5724 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
= NULL
;
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5733 if (!wxPyCheckForApp()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= wxGetDisplaySize();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5742 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5751 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
= NULL
;
5753 int *arg1
= (int *) 0 ;
5754 int *arg2
= (int *) 0 ;
5763 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5764 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5767 if (!wxPyCheckForApp()) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 wxDisplaySizeMM(arg1
,arg2
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5776 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5777 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5778 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5785 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
= NULL
;
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5794 if (!wxPyCheckForApp()) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= wxGetDisplaySizeMM();
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5803 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5812 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
= NULL
;
5814 int *arg1
= (int *) 0 ;
5815 int *arg2
= (int *) 0 ;
5816 int *arg3
= (int *) 0 ;
5817 int *arg4
= (int *) 0 ;
5830 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5831 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5832 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5833 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5836 if (!wxPyCheckForApp()) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 Py_INCREF(Py_None
); resultobj
= Py_None
;
5844 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5845 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5846 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5847 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5848 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5849 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5850 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5851 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5858 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= NULL
;
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5867 if (!wxPyCheckForApp()) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= wxGetClientDisplayRect();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5876 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
5877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5885 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
= NULL
;
5887 wxCursor
*arg1
= 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "cursor", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5896 if (SWIG_arg_fail(1)) SWIG_fail
;
5898 SWIG_null_ref("wxCursor");
5900 if (SWIG_arg_fail(1)) SWIG_fail
;
5903 if (!wxPyCheckForApp()) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
= NULL
;
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5926 if (!wxPyCheckForApp()) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (void *)wxGetXDisplay();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5940 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
= NULL
;
5942 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "cursor", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5951 if (SWIG_arg_fail(1)) SWIG_fail
;
5954 if (!wxPyCheckForApp()) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 wxBeginBusyCursor(arg1
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 Py_INCREF(Py_None
); resultobj
= Py_None
;
5968 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
= NULL
;
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
5977 if (!wxPyCheckForApp()) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= wxGetMousePosition();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5985 wxPoint
* resultptr
;
5986 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5995 static PyObject
*_wrap_FindWindowAtPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
= NULL
;
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FindWindowAtPointer",kwnames
)) goto fail
;
6004 if (!wxPyCheckForApp()) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 result
= (wxWindow
*)FindWindowAtPointer();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= wxPyMake_wxObject(result
, 0);
6020 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
= NULL
;
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
6029 if (!wxPyCheckForApp()) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (wxWindow
*)wxGetActiveWindow();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= wxPyMake_wxObject(result
, 0);
6045 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
= NULL
;
6050 PyObject
* obj0
= 0 ;
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6058 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6061 if (!wxPyCheckForApp()) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= wxPyMake_wxObject(result
, 0);
6077 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
= NULL
;
6082 PyObject
* obj0
= 0 ;
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6090 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6093 if (!wxPyCheckForApp()) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= wxPyMake_wxObject(result
, 0);
6109 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
= NULL
;
6111 wxWindow
*arg1
= (wxWindow
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "win", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6120 if (SWIG_arg_fail(1)) SWIG_fail
;
6122 if (!wxPyCheckForApp()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= wxPyMake_wxObject(result
, 0);
6138 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= NULL
;
6140 wxString
*arg1
= 0 ;
6142 bool temp1
= false ;
6143 PyObject
* obj0
= 0 ;
6145 (char *) "url", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6150 arg1
= wxString_in_helper(obj0
);
6151 if (arg1
== NULL
) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6178 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
= NULL
;
6182 PyObject
* obj0
= 0 ;
6184 (char *) "key", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6189 arg1
= static_cast<wxKeyCode
>(SWIG_As_int(obj0
));
6190 if (SWIG_arg_fail(1)) SWIG_fail
;
6193 if (!wxPyCheckForApp()) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (bool)wxGetKeyState(arg1
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6209 static PyObject
*_wrap_new_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
= NULL
;
6211 wxMouseState
*result
;
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MouseState",kwnames
)) goto fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (wxMouseState
*)new wxMouseState();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseState
, 1);
6231 static PyObject
*_wrap_delete_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
= NULL
;
6233 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MouseState",kwnames
,&obj0
)) goto fail
;
6240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_MouseState_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
= NULL
;
6258 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetX",kwnames
,&obj0
)) goto fail
;
6266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6267 if (SWIG_arg_fail(1)) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 result
= (int)(arg1
)->GetX();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_From_int(static_cast<int >(result
));
6284 static PyObject
*_wrap_MouseState_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
= NULL
;
6286 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6290 (char *) "self", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetY",kwnames
,&obj0
)) goto fail
;
6294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (int)(arg1
)->GetY();
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= SWIG_From_int(static_cast<int >(result
));
6312 static PyObject
*_wrap_MouseState_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
= NULL
;
6314 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6318 (char *) "self", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_LeftDown",kwnames
,&obj0
)) goto fail
;
6322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6323 if (SWIG_arg_fail(1)) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (bool)(arg1
)->LeftDown();
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6340 static PyObject
*_wrap_MouseState_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
= NULL
;
6342 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6346 (char *) "self", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MiddleDown",kwnames
,&obj0
)) goto fail
;
6350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (bool)(arg1
)->MiddleDown();
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6368 static PyObject
*_wrap_MouseState_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
= NULL
;
6370 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6372 PyObject
* obj0
= 0 ;
6374 (char *) "self", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_RightDown",kwnames
,&obj0
)) goto fail
;
6378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6379 if (SWIG_arg_fail(1)) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= (bool)(arg1
)->RightDown();
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6396 static PyObject
*_wrap_MouseState_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
= NULL
;
6398 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6400 PyObject
* obj0
= 0 ;
6402 (char *) "self", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ControlDown",kwnames
,&obj0
)) goto fail
;
6406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (bool)(arg1
)->ControlDown();
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6424 static PyObject
*_wrap_MouseState_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
= NULL
;
6426 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "self", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ShiftDown",kwnames
,&obj0
)) goto fail
;
6434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6435 if (SWIG_arg_fail(1)) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= (bool)(arg1
)->ShiftDown();
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6452 static PyObject
*_wrap_MouseState_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
= NULL
;
6454 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6458 (char *) "self", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_AltDown",kwnames
,&obj0
)) goto fail
;
6462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (bool)(arg1
)->AltDown();
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6480 static PyObject
*_wrap_MouseState_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= NULL
;
6482 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6486 (char *) "self", NULL
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MetaDown",kwnames
,&obj0
)) goto fail
;
6490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6491 if (SWIG_arg_fail(1)) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)(arg1
)->MetaDown();
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6508 static PyObject
*_wrap_MouseState_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
= NULL
;
6510 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "self", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_CmdDown",kwnames
,&obj0
)) goto fail
;
6518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6519 if (SWIG_arg_fail(1)) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (bool)(arg1
)->CmdDown();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6536 static PyObject
*_wrap_MouseState_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
= NULL
;
6538 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6543 (char *) "self",(char *) "x", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
6547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail
;
6550 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6551 if (SWIG_arg_fail(2)) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 Py_INCREF(Py_None
); resultobj
= Py_None
;
6567 static PyObject
*_wrap_MouseState_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
= NULL
;
6569 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6574 (char *) "self",(char *) "y", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
6578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail
;
6581 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6582 if (SWIG_arg_fail(2)) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 Py_INCREF(Py_None
); resultobj
= Py_None
;
6598 static PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
= NULL
;
6600 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6605 (char *) "self",(char *) "down", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6610 if (SWIG_arg_fail(1)) SWIG_fail
;
6612 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6613 if (SWIG_arg_fail(2)) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 (arg1
)->SetLeftDown(arg2
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 Py_INCREF(Py_None
); resultobj
= Py_None
;
6629 static PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
= NULL
;
6631 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6633 PyObject
* obj0
= 0 ;
6634 PyObject
* obj1
= 0 ;
6636 (char *) "self",(char *) "down", NULL
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6641 if (SWIG_arg_fail(1)) SWIG_fail
;
6643 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6644 if (SWIG_arg_fail(2)) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 (arg1
)->SetMiddleDown(arg2
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 Py_INCREF(Py_None
); resultobj
= Py_None
;
6660 static PyObject
*_wrap_MouseState_SetRightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
= NULL
;
6662 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6667 (char *) "self",(char *) "down", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6672 if (SWIG_arg_fail(1)) SWIG_fail
;
6674 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6675 if (SWIG_arg_fail(2)) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 (arg1
)->SetRightDown(arg2
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 Py_INCREF(Py_None
); resultobj
= Py_None
;
6691 static PyObject
*_wrap_MouseState_SetControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
= NULL
;
6693 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6698 (char *) "self",(char *) "down", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6703 if (SWIG_arg_fail(1)) SWIG_fail
;
6705 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6706 if (SWIG_arg_fail(2)) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 (arg1
)->SetControlDown(arg2
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6722 static PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
= NULL
;
6724 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6729 (char *) "self",(char *) "down", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6734 if (SWIG_arg_fail(1)) SWIG_fail
;
6736 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6737 if (SWIG_arg_fail(2)) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 (arg1
)->SetShiftDown(arg2
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 Py_INCREF(Py_None
); resultobj
= Py_None
;
6753 static PyObject
*_wrap_MouseState_SetAltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
= NULL
;
6755 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6760 (char *) "self",(char *) "down", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6765 if (SWIG_arg_fail(1)) SWIG_fail
;
6767 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6768 if (SWIG_arg_fail(2)) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 (arg1
)->SetAltDown(arg2
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 Py_INCREF(Py_None
); resultobj
= Py_None
;
6784 static PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
= NULL
;
6786 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6791 (char *) "self",(char *) "down", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6796 if (SWIG_arg_fail(1)) SWIG_fail
;
6798 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6799 if (SWIG_arg_fail(2)) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 (arg1
)->SetMetaDown(arg2
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 Py_INCREF(Py_None
); resultobj
= Py_None
;
6815 static PyObject
* MouseState_swigregister(PyObject
*, PyObject
*args
) {
6817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6818 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState
, obj
);
6820 return Py_BuildValue((char *)"");
6822 static PyObject
*_wrap_GetMouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
= NULL
;
6824 wxMouseState result
;
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMouseState",kwnames
)) goto fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= wxGetMouseState();
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6838 wxMouseState
* resultptr
;
6839 resultptr
= new wxMouseState(static_cast<wxMouseState
& >(result
));
6840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMouseState
, 1);
6848 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
= NULL
;
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6856 if (!wxPyCheckForApp()) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 wxWakeUpMainThread();
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 Py_INCREF(Py_None
); resultobj
= Py_None
;
6870 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
= NULL
;
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6878 if (!wxPyCheckForApp()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= NULL
;
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6900 if (!wxPyCheckForApp()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 Py_INCREF(Py_None
); resultobj
= Py_None
;
6914 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
= NULL
;
6916 wxMutexGuiLocker
*result
;
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6937 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
= NULL
;
6939 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6942 (char *) "self", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6947 if (SWIG_arg_fail(1)) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 Py_INCREF(Py_None
); resultobj
= Py_None
;
6962 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6965 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6967 return Py_BuildValue((char *)"");
6969 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
= NULL
;
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 result
= (bool)wxThread_IsMain();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6993 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
= NULL
;
6995 wxString
*arg1
= 0 ;
6997 bool temp1
= false ;
6998 PyObject
* obj0
= 0 ;
7000 (char *) "tip", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
7005 arg1
= wxString_in_helper(obj0
);
7006 if (arg1
== NULL
) SWIG_fail
;
7010 if (!wxPyCheckForApp()) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= wxPyMake_wxObject(result
, 1);
7034 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
= NULL
;
7036 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7037 wxString
*arg2
= 0 ;
7038 bool temp2
= false ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7042 (char *) "self",(char *) "tip", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7047 if (SWIG_arg_fail(1)) SWIG_fail
;
7049 arg2
= wxString_in_helper(obj1
);
7050 if (arg2
== NULL
) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 (arg1
)->SetTip((wxString
const &)*arg2
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7075 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
= NULL
;
7077 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7081 (char *) "self", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7086 if (SWIG_arg_fail(1)) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (arg1
)->GetTip();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7107 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
= NULL
;
7109 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7113 (char *) "self", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7118 if (SWIG_arg_fail(1)) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= (wxWindow
*)(arg1
)->GetWindow();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7127 resultobj
= wxPyMake_wxObject(result
, 0);
7135 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
= NULL
;
7138 PyObject
* obj0
= 0 ;
7140 (char *) "flag", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7145 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7146 if (SWIG_arg_fail(1)) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 wxToolTip::Enable(arg1
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 Py_INCREF(Py_None
); resultobj
= Py_None
;
7162 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
= NULL
;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "milliseconds", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7172 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7173 if (SWIG_arg_fail(1)) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 wxToolTip::SetDelay(arg1
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 Py_INCREF(Py_None
); resultobj
= Py_None
;
7189 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7192 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7194 return Py_BuildValue((char *)"");
7196 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
= NULL
;
7198 wxWindow
*arg1
= (wxWindow
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "window",(char *) "size", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail
;
7213 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7216 if (!wxPyCheckForApp()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7230 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= NULL
;
7232 wxCaret
*arg1
= (wxCaret
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7235 (char *) "self", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 wxCaret_Destroy(arg1
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 Py_INCREF(Py_None
); resultobj
= Py_None
;
7255 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
= NULL
;
7257 wxCaret
*arg1
= (wxCaret
*) 0 ;
7259 PyObject
* obj0
= 0 ;
7261 (char *) "self", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (bool)(arg1
)->IsOk();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7283 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
= NULL
;
7285 wxCaret
*arg1
= (wxCaret
*) 0 ;
7287 PyObject
* obj0
= 0 ;
7289 (char *) "self", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7294 if (SWIG_arg_fail(1)) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (bool)(arg1
)->IsVisible();
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7311 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
= NULL
;
7313 wxCaret
*arg1
= (wxCaret
*) 0 ;
7315 PyObject
* obj0
= 0 ;
7317 (char *) "self", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7322 if (SWIG_arg_fail(1)) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (arg1
)->GetPosition();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7331 wxPoint
* resultptr
;
7332 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7341 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
= NULL
;
7343 wxCaret
*arg1
= (wxCaret
*) 0 ;
7344 int *arg2
= (int *) 0 ;
7345 int *arg3
= (int *) 0 ;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7356 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7359 if (SWIG_arg_fail(1)) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 (arg1
)->GetPosition(arg2
,arg3
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 Py_INCREF(Py_None
); resultobj
= Py_None
;
7368 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7369 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7370 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7371 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7378 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
= NULL
;
7380 wxCaret
*arg1
= (wxCaret
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7384 (char *) "self", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7389 if (SWIG_arg_fail(1)) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= (arg1
)->GetSize();
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7399 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7408 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
= NULL
;
7410 wxCaret
*arg1
= (wxCaret
*) 0 ;
7411 int *arg2
= (int *) 0 ;
7412 int *arg3
= (int *) 0 ;
7417 PyObject
* obj0
= 0 ;
7419 (char *) "self", NULL
7422 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7423 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7426 if (SWIG_arg_fail(1)) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 (arg1
)->GetSize(arg2
,arg3
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 Py_INCREF(Py_None
); resultobj
= Py_None
;
7435 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7436 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7437 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7438 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7445 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
= NULL
;
7447 wxCaret
*arg1
= (wxCaret
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7451 (char *) "self", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7456 if (SWIG_arg_fail(1)) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (wxWindow
*)(arg1
)->GetWindow();
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= wxPyMake_wxObject(result
, 0);
7473 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
= NULL
;
7475 wxCaret
*arg1
= (wxCaret
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7479 PyObject
* obj1
= 0 ;
7480 PyObject
* obj2
= 0 ;
7482 (char *) "self",(char *) "x",(char *) "y", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7487 if (SWIG_arg_fail(1)) SWIG_fail
;
7489 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7490 if (SWIG_arg_fail(2)) SWIG_fail
;
7493 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7494 if (SWIG_arg_fail(3)) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 (arg1
)->Move(arg2
,arg3
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 Py_INCREF(Py_None
); resultobj
= Py_None
;
7510 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
= NULL
;
7512 wxCaret
*arg1
= (wxCaret
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7516 PyObject
* obj1
= 0 ;
7518 (char *) "self",(char *) "pt", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7523 if (SWIG_arg_fail(1)) SWIG_fail
;
7526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 (arg1
)->Move((wxPoint
const &)*arg2
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 Py_INCREF(Py_None
); resultobj
= Py_None
;
7542 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
= NULL
;
7544 wxCaret
*arg1
= (wxCaret
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7548 PyObject
* obj1
= 0 ;
7549 PyObject
* obj2
= 0 ;
7551 (char *) "self",(char *) "width",(char *) "height", NULL
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7556 if (SWIG_arg_fail(1)) SWIG_fail
;
7558 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7559 if (SWIG_arg_fail(2)) SWIG_fail
;
7562 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7563 if (SWIG_arg_fail(3)) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 (arg1
)->SetSize(arg2
,arg3
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 Py_INCREF(Py_None
); resultobj
= Py_None
;
7579 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
= NULL
;
7581 wxCaret
*arg1
= (wxCaret
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7587 (char *) "self",(char *) "size", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail
;
7595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 (arg1
)->SetSize((wxSize
const &)*arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 Py_INCREF(Py_None
); resultobj
= Py_None
;
7611 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
= NULL
;
7613 wxCaret
*arg1
= (wxCaret
*) 0 ;
7614 int arg2
= (int) true ;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7618 (char *) "self",(char *) "show", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail
;
7626 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7627 if (SWIG_arg_fail(2)) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 Py_INCREF(Py_None
); resultobj
= Py_None
;
7644 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
= NULL
;
7646 wxCaret
*arg1
= (wxCaret
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "self", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7654 if (SWIG_arg_fail(1)) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 Py_INCREF(Py_None
); resultobj
= Py_None
;
7669 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
= NULL
;
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 result
= (int)wxCaret::GetBlinkTime();
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_From_int(static_cast<int >(result
));
7693 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= NULL
;
7696 PyObject
* obj0
= 0 ;
7698 (char *) "milliseconds", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7703 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7704 if (SWIG_arg_fail(1)) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 wxCaret::SetBlinkTime(arg1
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7723 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7725 return Py_BuildValue((char *)"");
7727 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
= NULL
;
7729 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7730 wxBusyCursor
*result
;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "cursor", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7739 if (SWIG_arg_fail(1)) SWIG_fail
;
7742 if (!wxPyCheckForApp()) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7756 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= NULL
;
7758 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "self", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7766 if (SWIG_arg_fail(1)) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 Py_INCREF(Py_None
); resultobj
= Py_None
;
7781 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7784 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7786 return Py_BuildValue((char *)"");
7788 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
= NULL
;
7790 wxWindow
*arg1
= (wxWindow
*) NULL
;
7791 wxWindowDisabler
*result
;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "winToSkip", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7800 if (SWIG_arg_fail(1)) SWIG_fail
;
7803 if (!wxPyCheckForApp()) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7817 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
= NULL
;
7819 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7820 PyObject
* obj0
= 0 ;
7822 (char *) "self", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 Py_INCREF(Py_None
); resultobj
= Py_None
;
7842 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7845 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7847 return Py_BuildValue((char *)"");
7849 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
= NULL
;
7851 wxString
*arg1
= 0 ;
7853 bool temp1
= false ;
7854 PyObject
* obj0
= 0 ;
7856 (char *) "message", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7861 arg1
= wxString_in_helper(obj0
);
7862 if (arg1
== NULL
) SWIG_fail
;
7866 if (!wxPyCheckForApp()) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7888 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
= NULL
;
7890 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 Py_INCREF(Py_None
); resultobj
= Py_None
;
7913 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7916 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7918 return Py_BuildValue((char *)"");
7920 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
= NULL
;
7922 wxStopWatch
*result
;
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 result
= (wxStopWatch
*)new wxStopWatch();
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7942 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
= NULL
;
7944 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7945 long arg2
= (long) 0 ;
7946 PyObject
* obj0
= 0 ;
7947 PyObject
* obj1
= 0 ;
7949 (char *) "self",(char *) "t0", NULL
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7954 if (SWIG_arg_fail(1)) SWIG_fail
;
7957 arg2
= static_cast<long >(SWIG_As_long(obj1
));
7958 if (SWIG_arg_fail(2)) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->Start(arg2
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 Py_INCREF(Py_None
); resultobj
= Py_None
;
7975 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
= NULL
;
7977 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7978 PyObject
* obj0
= 0 ;
7980 (char *) "self", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7985 if (SWIG_arg_fail(1)) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 Py_INCREF(Py_None
); resultobj
= Py_None
;
8000 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
= NULL
;
8002 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8005 (char *) "self", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8010 if (SWIG_arg_fail(1)) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 Py_INCREF(Py_None
); resultobj
= Py_None
;
8025 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
= NULL
;
8027 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8029 PyObject
* obj0
= 0 ;
8031 (char *) "self", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8036 if (SWIG_arg_fail(1)) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_From_long(static_cast<long >(result
));
8053 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8056 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8058 return Py_BuildValue((char *)"");
8060 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
= NULL
;
8062 int arg1
= (int) 9 ;
8063 int arg2
= (int) wxID_FILE1
;
8064 wxFileHistory
*result
;
8065 PyObject
* obj0
= 0 ;
8066 PyObject
* obj1
= 0 ;
8068 (char *) "maxFiles",(char *) "idBase", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8074 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8075 if (SWIG_arg_fail(1)) SWIG_fail
;
8080 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8081 if (SWIG_arg_fail(2)) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8098 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
= NULL
;
8100 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8101 PyObject
* obj0
= 0 ;
8103 (char *) "self", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8108 if (SWIG_arg_fail(1)) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 Py_INCREF(Py_None
); resultobj
= Py_None
;
8123 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
= NULL
;
8125 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8126 wxString
*arg2
= 0 ;
8127 bool temp2
= false ;
8128 PyObject
* obj0
= 0 ;
8129 PyObject
* obj1
= 0 ;
8131 (char *) "self",(char *) "file", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8136 if (SWIG_arg_fail(1)) SWIG_fail
;
8138 arg2
= wxString_in_helper(obj1
);
8139 if (arg2
== NULL
) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 Py_INCREF(Py_None
); resultobj
= Py_None
;
8164 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
= NULL
;
8166 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "i", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8176 if (SWIG_arg_fail(1)) SWIG_fail
;
8178 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8179 if (SWIG_arg_fail(2)) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 (arg1
)->RemoveFileFromHistory(arg2
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 Py_INCREF(Py_None
); resultobj
= Py_None
;
8195 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
= NULL
;
8197 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8199 PyObject
* obj0
= 0 ;
8201 (char *) "self", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8206 if (SWIG_arg_fail(1)) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_From_int(static_cast<int >(result
));
8223 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
= NULL
;
8225 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8226 wxMenu
*arg2
= (wxMenu
*) 0 ;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8230 (char *) "self",(char *) "menu", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8235 if (SWIG_arg_fail(1)) SWIG_fail
;
8236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8237 if (SWIG_arg_fail(2)) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 (arg1
)->UseMenu(arg2
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 Py_INCREF(Py_None
); resultobj
= Py_None
;
8252 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
= NULL
;
8254 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8255 wxMenu
*arg2
= (wxMenu
*) 0 ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8259 (char *) "self",(char *) "menu", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8264 if (SWIG_arg_fail(1)) SWIG_fail
;
8265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8266 if (SWIG_arg_fail(2)) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 (arg1
)->RemoveMenu(arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 Py_INCREF(Py_None
); resultobj
= Py_None
;
8281 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
= NULL
;
8283 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8284 wxConfigBase
*arg2
= 0 ;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8288 (char *) "self",(char *) "config", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8293 if (SWIG_arg_fail(1)) SWIG_fail
;
8295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8296 if (SWIG_arg_fail(2)) SWIG_fail
;
8298 SWIG_null_ref("wxConfigBase");
8300 if (SWIG_arg_fail(2)) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 (arg1
)->Load(*arg2
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
= NULL
;
8318 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8319 wxConfigBase
*arg2
= 0 ;
8320 PyObject
* obj0
= 0 ;
8321 PyObject
* obj1
= 0 ;
8323 (char *) "self",(char *) "config", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
8327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8328 if (SWIG_arg_fail(1)) SWIG_fail
;
8330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8331 if (SWIG_arg_fail(2)) SWIG_fail
;
8333 SWIG_null_ref("wxConfigBase");
8335 if (SWIG_arg_fail(2)) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 (arg1
)->Save(*arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8351 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
= NULL
;
8353 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8356 (char *) "self", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8361 if (SWIG_arg_fail(1)) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 (arg1
)->AddFilesToMenu();
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 Py_INCREF(Py_None
); resultobj
= Py_None
;
8376 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
= NULL
;
8378 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8379 wxMenu
*arg2
= (wxMenu
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj1
= 0 ;
8383 (char *) "self",(char *) "menu", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8388 if (SWIG_arg_fail(1)) SWIG_fail
;
8389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8390 if (SWIG_arg_fail(2)) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 (arg1
)->AddFilesToMenu(arg2
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 Py_INCREF(Py_None
); resultobj
= Py_None
;
8405 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
= NULL
;
8407 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8411 PyObject
* obj1
= 0 ;
8413 (char *) "self",(char *) "i", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8418 if (SWIG_arg_fail(1)) SWIG_fail
;
8420 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8421 if (SWIG_arg_fail(2)) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8443 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
= NULL
;
8445 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8447 PyObject
* obj0
= 0 ;
8449 (char *) "self", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8454 if (SWIG_arg_fail(1)) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_From_int(static_cast<int >(result
));
8471 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8474 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8476 return Py_BuildValue((char *)"");
8478 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
= NULL
;
8480 wxString
*arg1
= 0 ;
8481 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8482 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8483 wxSingleInstanceChecker
*result
;
8484 bool temp1
= false ;
8485 bool temp2
= false ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8489 (char *) "name",(char *) "path", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8494 arg1
= wxString_in_helper(obj0
);
8495 if (arg1
== NULL
) SWIG_fail
;
8500 arg2
= wxString_in_helper(obj1
);
8501 if (arg2
== NULL
) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8535 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
= NULL
;
8537 wxSingleInstanceChecker
*result
;
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8557 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
= NULL
;
8559 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8560 PyObject
* obj0
= 0 ;
8562 (char *) "self", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
8566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8567 if (SWIG_arg_fail(1)) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8582 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
= NULL
;
8584 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8585 wxString
*arg2
= 0 ;
8586 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8587 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8589 bool temp2
= false ;
8590 bool temp3
= false ;
8591 PyObject
* obj0
= 0 ;
8592 PyObject
* obj1
= 0 ;
8593 PyObject
* obj2
= 0 ;
8595 (char *) "self",(char *) "name",(char *) "path", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8600 if (SWIG_arg_fail(1)) SWIG_fail
;
8602 arg2
= wxString_in_helper(obj1
);
8603 if (arg2
== NULL
) SWIG_fail
;
8608 arg3
= wxString_in_helper(obj2
);
8609 if (arg3
== NULL
) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8645 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
= NULL
;
8647 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8651 (char *) "self", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8656 if (SWIG_arg_fail(1)) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8673 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8676 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8678 return Py_BuildValue((char *)"");
8680 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
= NULL
;
8682 wxWindow
*arg1
= (wxWindow
*) 0 ;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8688 (char *) "window",(char *) "dc", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8693 if (SWIG_arg_fail(1)) SWIG_fail
;
8695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8696 if (SWIG_arg_fail(2)) SWIG_fail
;
8698 SWIG_null_ref("wxDC");
8700 if (SWIG_arg_fail(2)) SWIG_fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8718 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
= NULL
;
8720 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8728 if (SWIG_arg_fail(1)) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
= NULL
;
8745 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8747 PyObject
* obj0
= 0 ;
8749 (char *) "self", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8754 if (SWIG_arg_fail(1)) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 result
= (arg1
)->GetTip();
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8775 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
= NULL
;
8777 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8781 (char *) "self", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8786 if (SWIG_arg_fail(1)) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 result
= (size_t)(arg1
)->GetCurrentTip();
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8803 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= NULL
;
8805 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8806 wxString
*arg2
= 0 ;
8808 bool temp2
= false ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8812 (char *) "self",(char *) "tip", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8817 if (SWIG_arg_fail(1)) SWIG_fail
;
8819 arg2
= wxString_in_helper(obj1
);
8820 if (arg2
== NULL
) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8851 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8854 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8856 return Py_BuildValue((char *)"");
8858 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
= NULL
;
8861 wxPyTipProvider
*result
;
8862 PyObject
* obj0
= 0 ;
8864 (char *) "currentTip", NULL
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8869 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8870 if (SWIG_arg_fail(1)) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8886 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
= NULL
;
8888 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8889 PyObject
*arg2
= (PyObject
*) 0 ;
8890 PyObject
*arg3
= (PyObject
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 PyObject
* obj2
= 0 ;
8895 (char *) "self",(char *) "self",(char *) "_class", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8900 if (SWIG_arg_fail(1)) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 Py_INCREF(Py_None
); resultobj
= Py_None
;
8917 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8920 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8922 return Py_BuildValue((char *)"");
8924 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
= NULL
;
8926 wxWindow
*arg1
= (wxWindow
*) 0 ;
8927 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8928 bool arg3
= (bool) true ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 PyObject
* obj2
= 0 ;
8934 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8939 if (SWIG_arg_fail(1)) SWIG_fail
;
8940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8941 if (SWIG_arg_fail(2)) SWIG_fail
;
8944 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8945 if (SWIG_arg_fail(3)) SWIG_fail
;
8949 if (!wxPyCheckForApp()) SWIG_fail
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8965 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
= NULL
;
8967 wxString
*arg1
= 0 ;
8969 wxTipProvider
*result
;
8970 bool temp1
= false ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8974 (char *) "filename",(char *) "currentTip", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 arg1
= wxString_in_helper(obj0
);
8980 if (arg1
== NULL
) SWIG_fail
;
8984 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8985 if (SWIG_arg_fail(2)) SWIG_fail
;
8988 if (!wxPyCheckForApp()) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9010 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
= NULL
;
9012 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9013 int arg2
= (int) -1 ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9018 (char *) "owner",(char *) "id", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9024 if (SWIG_arg_fail(1)) SWIG_fail
;
9028 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9029 if (SWIG_arg_fail(2)) SWIG_fail
;
9033 if (!wxPyCheckForApp()) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9047 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
= NULL
;
9049 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9050 PyObject
* obj0
= 0 ;
9052 (char *) "self", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9057 if (SWIG_arg_fail(1)) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 Py_INCREF(Py_None
); resultobj
= Py_None
;
9072 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
= NULL
;
9074 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9075 PyObject
*arg2
= (PyObject
*) 0 ;
9076 PyObject
*arg3
= (PyObject
*) 0 ;
9077 int arg4
= (int) 1 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9080 PyObject
* obj2
= 0 ;
9081 PyObject
* obj3
= 0 ;
9083 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9088 if (SWIG_arg_fail(1)) SWIG_fail
;
9093 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9094 if (SWIG_arg_fail(4)) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 Py_INCREF(Py_None
); resultobj
= Py_None
;
9111 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
= NULL
;
9113 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9114 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9115 int arg3
= (int) -1 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 PyObject
* obj2
= 0 ;
9120 (char *) "self",(char *) "owner",(char *) "id", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9125 if (SWIG_arg_fail(1)) SWIG_fail
;
9126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9127 if (SWIG_arg_fail(2)) SWIG_fail
;
9130 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9131 if (SWIG_arg_fail(3)) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 (arg1
)->SetOwner(arg2
,arg3
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 Py_INCREF(Py_None
); resultobj
= Py_None
;
9148 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
= NULL
;
9150 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9151 wxEvtHandler
*result
;
9152 PyObject
* obj0
= 0 ;
9154 (char *) "self", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9159 if (SWIG_arg_fail(1)) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= wxPyMake_wxObject(result
, 0);
9176 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
= NULL
;
9178 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9179 int arg2
= (int) -1 ;
9180 bool arg3
= (bool) false ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 PyObject
* obj2
= 0 ;
9186 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9191 if (SWIG_arg_fail(1)) SWIG_fail
;
9194 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9195 if (SWIG_arg_fail(2)) SWIG_fail
;
9200 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9201 if (SWIG_arg_fail(3)) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9220 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
= NULL
;
9222 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9225 (char *) "self", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9230 if (SWIG_arg_fail(1)) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 Py_INCREF(Py_None
); resultobj
= Py_None
;
9245 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
= NULL
;
9247 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9251 (char *) "self", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9256 if (SWIG_arg_fail(1)) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9273 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
= NULL
;
9275 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9279 (char *) "self", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_From_int(static_cast<int >(result
));
9301 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
= NULL
;
9303 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9329 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
= NULL
;
9331 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9335 (char *) "self", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9340 if (SWIG_arg_fail(1)) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_From_int(static_cast<int >(result
));
9357 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9360 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9362 return Py_BuildValue((char *)"");
9364 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
= NULL
;
9366 int arg1
= (int) 0 ;
9367 int arg2
= (int) 0 ;
9368 wxTimerEvent
*result
;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9372 (char *) "timerid",(char *) "interval", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9378 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9379 if (SWIG_arg_fail(1)) SWIG_fail
;
9384 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9385 if (SWIG_arg_fail(2)) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9402 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
= NULL
;
9404 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9408 (char *) "self", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9413 if (SWIG_arg_fail(1)) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= SWIG_From_int(static_cast<int >(result
));
9430 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9433 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9435 return Py_BuildValue((char *)"");
9437 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9438 PyObject
*resultobj
= NULL
;
9440 wxTimerRunner
*result
;
9441 PyObject
* obj0
= 0 ;
9443 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9446 if (SWIG_arg_fail(1)) SWIG_fail
;
9448 SWIG_null_ref("wxTimer");
9450 if (SWIG_arg_fail(1)) SWIG_fail
;
9453 if (!wxPyCheckForApp()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9467 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9468 PyObject
*resultobj
= NULL
;
9472 wxTimerRunner
*result
;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9475 PyObject
* obj2
= 0 ;
9477 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9480 if (SWIG_arg_fail(1)) SWIG_fail
;
9482 SWIG_null_ref("wxTimer");
9484 if (SWIG_arg_fail(1)) SWIG_fail
;
9487 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9488 if (SWIG_arg_fail(2)) SWIG_fail
;
9491 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9492 if (SWIG_arg_fail(3)) SWIG_fail
;
9495 if (!wxPyCheckForApp()) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9509 static PyObject
*_wrap_new_TimerRunner__SWIG_2(PyObject
*, PyObject
*args
) {
9510 PyObject
*resultobj
= NULL
;
9513 wxTimerRunner
*result
;
9514 PyObject
* obj0
= 0 ;
9515 PyObject
* obj1
= 0 ;
9517 if(!PyArg_ParseTuple(args
,(char *)"OO:new_TimerRunner",&obj0
,&obj1
)) goto fail
;
9519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail
;
9522 SWIG_null_ref("wxTimer");
9524 if (SWIG_arg_fail(1)) SWIG_fail
;
9527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9528 if (SWIG_arg_fail(2)) SWIG_fail
;
9531 if (!wxPyCheckForApp()) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9545 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9550 argc
= PyObject_Length(args
);
9551 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9552 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9558 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9566 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9573 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9581 _v
= SWIG_Check_int(argv
[1]);
9583 return _wrap_new_TimerRunner__SWIG_2(self
,args
);
9591 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9599 _v
= SWIG_Check_int(argv
[1]);
9601 _v
= SWIG_Check_bool(argv
[2]);
9603 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9609 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9614 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
= NULL
;
9616 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 Py_INCREF(Py_None
); resultobj
= Py_None
;
9639 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
= NULL
;
9641 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9643 bool arg3
= (bool) false ;
9644 PyObject
* obj0
= 0 ;
9645 PyObject
* obj1
= 0 ;
9646 PyObject
* obj2
= 0 ;
9648 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9653 if (SWIG_arg_fail(1)) SWIG_fail
;
9655 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9656 if (SWIG_arg_fail(2)) SWIG_fail
;
9660 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9661 if (SWIG_arg_fail(3)) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 (arg1
)->Start(arg2
,arg3
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 Py_INCREF(Py_None
); resultobj
= Py_None
;
9678 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9681 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9683 return Py_BuildValue((char *)"");
9685 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= NULL
;
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (wxLog
*)new wxLog();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9707 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= NULL
;
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (bool)wxLog::IsEnabled();
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9731 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
= NULL
;
9733 bool arg1
= (bool) true ;
9735 PyObject
* obj0
= 0 ;
9737 (char *) "doIt", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9743 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9744 if (SWIG_arg_fail(1)) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (bool)wxLog::EnableLogging(arg1
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9763 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
= NULL
;
9766 wxChar
*arg2
= (wxChar
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9772 (char *) "level",(char *) "szString",(char *) "t", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9777 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9778 if (SWIG_arg_fail(1)) SWIG_fail
;
9780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9781 if (SWIG_arg_fail(2)) SWIG_fail
;
9783 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9784 if (SWIG_arg_fail(3)) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 Py_INCREF(Py_None
); resultobj
= Py_None
;
9800 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
= NULL
;
9802 wxLog
*arg1
= (wxLog
*) 0 ;
9803 PyObject
* obj0
= 0 ;
9805 (char *) "self", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 Py_INCREF(Py_None
); resultobj
= Py_None
;
9825 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
= NULL
;
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 wxLog::FlushActive();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 Py_INCREF(Py_None
); resultobj
= Py_None
;
9846 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
= NULL
;
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (wxLog
*)wxLog::GetActiveTarget();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9868 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
= NULL
;
9870 wxLog
*arg1
= (wxLog
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9874 (char *) "pLogger", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9879 if (SWIG_arg_fail(1)) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9894 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
= NULL
;
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 Py_INCREF(Py_None
); resultobj
= Py_None
;
9915 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
= NULL
;
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 Py_INCREF(Py_None
); resultobj
= Py_None
;
9936 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
= NULL
;
9938 bool arg1
= (bool) true ;
9939 PyObject
* obj0
= 0 ;
9941 (char *) "bVerbose", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9947 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9948 if (SWIG_arg_fail(1)) SWIG_fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 wxLog::SetVerbose(arg1
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 Py_INCREF(Py_None
); resultobj
= Py_None
;
9965 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
= NULL
;
9968 PyObject
* obj0
= 0 ;
9970 (char *) "logLevel", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9975 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9976 if (SWIG_arg_fail(1)) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 wxLog::SetLogLevel(arg1
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 Py_INCREF(Py_None
); resultobj
= Py_None
;
9992 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
= NULL
;
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 wxLog::DontCreateOnDemand();
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 Py_INCREF(Py_None
); resultobj
= Py_None
;
10013 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
= NULL
;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "ulMask", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
10023 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
10024 if (SWIG_arg_fail(1)) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 wxLog::SetTraceMask(arg1
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 Py_INCREF(Py_None
); resultobj
= Py_None
;
10040 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
= NULL
;
10042 wxString
*arg1
= 0 ;
10043 bool temp1
= false ;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "str", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
10051 arg1
= wxString_in_helper(obj0
);
10052 if (arg1
== NULL
) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 wxLog::AddTraceMask((wxString
const &)*arg1
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10077 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= NULL
;
10079 wxString
*arg1
= 0 ;
10080 bool temp1
= false ;
10081 PyObject
* obj0
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "str", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10088 arg1
= wxString_in_helper(obj0
);
10089 if (arg1
== NULL
) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 Py_INCREF(Py_None
); resultobj
= Py_None
;
10114 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
= NULL
;
10116 char *kwnames
[] = {
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 wxLog::ClearTraceMasks();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 Py_INCREF(Py_None
); resultobj
= Py_None
;
10135 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
= NULL
;
10137 wxArrayString
*result
;
10138 char *kwnames
[] = {
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10147 result
= (wxArrayString
*) &_result_ref
;
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= wxArrayString2PyList_helper(*result
);
10162 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
= NULL
;
10164 wxChar
*arg1
= (wxChar
*) 0 ;
10165 PyObject
* obj0
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "ts", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10172 if (SWIG_arg_fail(1)) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 wxLog::SetTimestamp((wxChar
const *)arg1
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 Py_INCREF(Py_None
); resultobj
= Py_None
;
10187 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
= NULL
;
10190 char *kwnames
[] = {
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (bool)wxLog::GetVerbose();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10211 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
= NULL
;
10213 wxTraceMask result
;
10214 char *kwnames
[] = {
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (wxTraceMask
)wxLog::GetTraceMask();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10235 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
= NULL
;
10237 wxChar
*arg1
= (wxChar
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "mask", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10246 if (SWIG_arg_fail(1)) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
= NULL
;
10266 char *kwnames
[] = {
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (wxLogLevel
)wxLog::GetLogLevel();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10287 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
= NULL
;
10290 char *kwnames
[] = {
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (wxChar
*)wxLog::GetTimestamp();
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10309 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
= NULL
;
10312 char *kwnames
[] = {
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= wxLog_TimeStamp();
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10337 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
= NULL
;
10339 wxLog
*arg1
= (wxLog
*) 0 ;
10340 PyObject
* obj0
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10347 if (SWIG_arg_fail(1)) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 wxLog_Destroy(arg1
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 Py_INCREF(Py_None
); resultobj
= Py_None
;
10362 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10365 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10367 return Py_BuildValue((char *)"");
10369 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
= NULL
;
10371 wxLogStderr
*result
;
10372 char *kwnames
[] = {
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= (wxLogStderr
*)new wxLogStderr();
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10391 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10394 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10396 return Py_BuildValue((char *)"");
10398 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
= NULL
;
10400 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10401 wxLogTextCtrl
*result
;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "pTextCtrl", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10409 if (SWIG_arg_fail(1)) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10424 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10427 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10429 return Py_BuildValue((char *)"");
10431 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
= NULL
;
10434 char *kwnames
[] = {
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (wxLogGui
*)new wxLogGui();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10453 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10456 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10458 return Py_BuildValue((char *)"");
10460 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
= NULL
;
10462 wxFrame
*arg1
= (wxFrame
*) 0 ;
10463 wxString
*arg2
= 0 ;
10464 bool arg3
= (bool) true ;
10465 bool arg4
= (bool) true ;
10466 wxLogWindow
*result
;
10467 bool temp2
= false ;
10468 PyObject
* obj0
= 0 ;
10469 PyObject
* obj1
= 0 ;
10470 PyObject
* obj2
= 0 ;
10471 PyObject
* obj3
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10478 if (SWIG_arg_fail(1)) SWIG_fail
;
10480 arg2
= wxString_in_helper(obj1
);
10481 if (arg2
== NULL
) SWIG_fail
;
10486 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10487 if (SWIG_arg_fail(3)) SWIG_fail
;
10492 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10493 if (SWIG_arg_fail(4)) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10518 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
= NULL
;
10520 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10521 bool arg2
= (bool) true ;
10522 PyObject
* obj0
= 0 ;
10523 PyObject
* obj1
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self",(char *) "bShow", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10530 if (SWIG_arg_fail(1)) SWIG_fail
;
10533 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10534 if (SWIG_arg_fail(2)) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 (arg1
)->Show(arg2
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10551 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
= NULL
;
10553 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10555 PyObject
* obj0
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10562 if (SWIG_arg_fail(1)) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= wxPyMake_wxObject(result
, 0);
10579 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= NULL
;
10581 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10583 PyObject
* obj0
= 0 ;
10584 char *kwnames
[] = {
10585 (char *) "self", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10590 if (SWIG_arg_fail(1)) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10605 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
= NULL
;
10607 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10616 if (SWIG_arg_fail(1)) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10633 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
= NULL
;
10635 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10637 PyObject
* obj0
= 0 ;
10638 PyObject
* obj1
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self",(char *) "bDoPass", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10645 if (SWIG_arg_fail(1)) SWIG_fail
;
10647 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10648 if (SWIG_arg_fail(2)) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->PassMessages(arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10667 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10669 return Py_BuildValue((char *)"");
10671 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
= NULL
;
10673 wxLog
*arg1
= (wxLog
*) 0 ;
10674 wxLogChain
*result
;
10675 PyObject
* obj0
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "logger", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10682 if (SWIG_arg_fail(1)) SWIG_fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= (wxLogChain
*)new wxLogChain(arg1
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10697 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
= NULL
;
10699 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10700 wxLog
*arg2
= (wxLog
*) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self",(char *) "logger", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10709 if (SWIG_arg_fail(1)) SWIG_fail
;
10710 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10711 if (SWIG_arg_fail(2)) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 (arg1
)->SetLog(arg2
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 Py_INCREF(Py_None
); resultobj
= Py_None
;
10726 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
= NULL
;
10728 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self",(char *) "bDoPass", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10741 if (SWIG_arg_fail(2)) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->PassMessages(arg2
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 Py_INCREF(Py_None
); resultobj
= Py_None
;
10757 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
= NULL
;
10759 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10768 if (SWIG_arg_fail(1)) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (bool)(arg1
)->IsPassingMessages();
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10785 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
= NULL
;
10787 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10796 if (SWIG_arg_fail(1)) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (wxLog
*)(arg1
)->GetOldLog();
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10811 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10814 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10816 return Py_BuildValue((char *)"");
10818 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
= NULL
;
10820 wxLogBuffer
*result
;
10821 char *kwnames
[] = {
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (wxLogBuffer
*)new wxLogBuffer();
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10840 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
= NULL
;
10842 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10851 if (SWIG_arg_fail(1)) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10856 result
= (wxString
*) &_result_ref
;
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10866 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10875 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
= NULL
;
10877 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10885 if (SWIG_arg_fail(1)) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 Py_INCREF(Py_None
); resultobj
= Py_None
;
10900 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10903 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10905 return Py_BuildValue((char *)"");
10907 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
= NULL
;
10909 unsigned long result
;
10910 char *kwnames
[] = {
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 result
= (unsigned long)wxSysErrorCode();
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10923 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10931 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
= NULL
;
10933 unsigned long arg1
= (unsigned long) 0 ;
10935 PyObject
* obj0
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "nErrCode", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10943 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10944 if (SWIG_arg_fail(1)) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= wxSysErrorMsg(arg1
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10967 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
= NULL
;
10969 wxString
*arg1
= 0 ;
10970 bool temp1
= false ;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "msg", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10978 arg1
= wxString_in_helper(obj0
);
10979 if (arg1
== NULL
) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 wxPyLogFatalError((wxString
const &)*arg1
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
11004 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
= NULL
;
11006 wxString
*arg1
= 0 ;
11007 bool temp1
= false ;
11008 PyObject
* obj0
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "msg", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
11015 arg1
= wxString_in_helper(obj0
);
11016 if (arg1
== NULL
) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 wxPyLogError((wxString
const &)*arg1
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 Py_INCREF(Py_None
); resultobj
= Py_None
;
11041 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= NULL
;
11043 wxString
*arg1
= 0 ;
11044 bool temp1
= false ;
11045 PyObject
* obj0
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "msg", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
11052 arg1
= wxString_in_helper(obj0
);
11053 if (arg1
== NULL
) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 wxPyLogWarning((wxString
const &)*arg1
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 Py_INCREF(Py_None
); resultobj
= Py_None
;
11078 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
= NULL
;
11080 wxString
*arg1
= 0 ;
11081 bool temp1
= false ;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "msg", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11089 arg1
= wxString_in_helper(obj0
);
11090 if (arg1
== NULL
) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 wxPyLogMessage((wxString
const &)*arg1
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 Py_INCREF(Py_None
); resultobj
= Py_None
;
11115 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
= NULL
;
11117 wxString
*arg1
= 0 ;
11118 bool temp1
= false ;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "msg", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11126 arg1
= wxString_in_helper(obj0
);
11127 if (arg1
== NULL
) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 wxPyLogInfo((wxString
const &)*arg1
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 Py_INCREF(Py_None
); resultobj
= Py_None
;
11152 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
= NULL
;
11154 wxString
*arg1
= 0 ;
11155 bool temp1
= false ;
11156 PyObject
* obj0
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "msg", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11163 arg1
= wxString_in_helper(obj0
);
11164 if (arg1
== NULL
) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 wxPyLogDebug((wxString
const &)*arg1
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 Py_INCREF(Py_None
); resultobj
= Py_None
;
11189 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
= NULL
;
11191 wxString
*arg1
= 0 ;
11192 bool temp1
= false ;
11193 PyObject
* obj0
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "msg", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11200 arg1
= wxString_in_helper(obj0
);
11201 if (arg1
== NULL
) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 wxPyLogVerbose((wxString
const &)*arg1
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 Py_INCREF(Py_None
); resultobj
= Py_None
;
11226 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= NULL
;
11228 wxString
*arg1
= 0 ;
11229 bool temp1
= false ;
11230 PyObject
* obj0
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "msg", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11237 arg1
= wxString_in_helper(obj0
);
11238 if (arg1
== NULL
) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 wxPyLogStatus((wxString
const &)*arg1
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 Py_INCREF(Py_None
); resultobj
= Py_None
;
11263 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
= NULL
;
11265 wxFrame
*arg1
= (wxFrame
*) 0 ;
11266 wxString
*arg2
= 0 ;
11267 bool temp2
= false ;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "pFrame",(char *) "msg", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11276 if (SWIG_arg_fail(1)) SWIG_fail
;
11278 arg2
= wxString_in_helper(obj1
);
11279 if (arg2
== NULL
) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11304 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
= NULL
;
11306 wxString
*arg1
= 0 ;
11307 bool temp1
= false ;
11308 PyObject
* obj0
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "msg", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11315 arg1
= wxString_in_helper(obj0
);
11316 if (arg1
== NULL
) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 wxPyLogSysError((wxString
const &)*arg1
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 Py_INCREF(Py_None
); resultobj
= Py_None
;
11341 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
= NULL
;
11343 unsigned long arg1
;
11344 wxString
*arg2
= 0 ;
11345 bool temp2
= false ;
11346 PyObject
* obj0
= 0 ;
11347 PyObject
* obj1
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "level",(char *) "msg", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11354 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11355 if (SWIG_arg_fail(1)) SWIG_fail
;
11358 arg2
= wxString_in_helper(obj1
);
11359 if (arg2
== NULL
) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 Py_INCREF(Py_None
); resultobj
= Py_None
;
11384 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11385 PyObject
*resultobj
= NULL
;
11386 unsigned long arg1
;
11387 wxString
*arg2
= 0 ;
11388 bool temp2
= false ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11392 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11394 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11395 if (SWIG_arg_fail(1)) SWIG_fail
;
11398 arg2
= wxString_in_helper(obj1
);
11399 if (arg2
== NULL
) SWIG_fail
;
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 Py_INCREF(Py_None
); resultobj
= Py_None
;
11424 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11425 PyObject
*resultobj
= NULL
;
11426 wxString
*arg1
= 0 ;
11427 wxString
*arg2
= 0 ;
11428 bool temp1
= false ;
11429 bool temp2
= false ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11433 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11435 arg1
= wxString_in_helper(obj0
);
11436 if (arg1
== NULL
) SWIG_fail
;
11440 arg2
= wxString_in_helper(obj1
);
11441 if (arg2
== NULL
) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 Py_INCREF(Py_None
); resultobj
= Py_None
;
11474 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11479 argc
= PyObject_Length(args
);
11480 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11481 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11486 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11490 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11493 return _wrap_LogTrace__SWIG_1(self
,args
);
11499 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11502 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11505 return _wrap_LogTrace__SWIG_0(self
,args
);
11510 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11515 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
= NULL
;
11517 wxString
*arg1
= 0 ;
11518 wxString
*arg2
= 0 ;
11519 bool temp1
= false ;
11520 bool temp2
= false ;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "title",(char *) "text", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11529 arg1
= wxString_in_helper(obj0
);
11530 if (arg1
== NULL
) SWIG_fail
;
11534 arg2
= wxString_in_helper(obj1
);
11535 if (arg2
== NULL
) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 Py_INCREF(Py_None
); resultobj
= Py_None
;
11568 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
= NULL
;
11571 char *kwnames
[] = {
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (wxLogNull
*)new wxLogNull();
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11590 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11591 PyObject
*resultobj
= NULL
;
11592 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self", NULL
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 Py_INCREF(Py_None
); resultobj
= Py_None
;
11615 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11618 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11620 return Py_BuildValue((char *)"");
11622 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
= NULL
;
11625 char *kwnames
[] = {
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 result
= (wxPyLog
*)new wxPyLog();
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11644 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
= NULL
;
11646 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11647 PyObject
*arg2
= (PyObject
*) 0 ;
11648 PyObject
*arg3
= (PyObject
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 PyObject
* obj2
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "self",(char *) "self",(char *) "_class", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11658 if (SWIG_arg_fail(1)) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 Py_INCREF(Py_None
); resultobj
= Py_None
;
11675 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11680 return Py_BuildValue((char *)"");
11682 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= NULL
;
11685 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11686 int arg3
= (int) wxKILL_NOCHILDREN
;
11687 wxKillError result
;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 PyObject
* obj2
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11697 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11698 if (SWIG_arg_fail(1)) SWIG_fail
;
11702 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11703 if (SWIG_arg_fail(2)) SWIG_fail
;
11708 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11709 if (SWIG_arg_fail(3)) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_From_int((result
));
11726 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
= NULL
;
11730 PyObject
* obj0
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "pid", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11737 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11738 if (SWIG_arg_fail(1)) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (bool)wxPyProcess::Exists(arg1
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11756 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
= NULL
;
11758 wxString
*arg1
= 0 ;
11759 int arg2
= (int) wxEXEC_ASYNC
;
11760 wxPyProcess
*result
;
11761 bool temp1
= false ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "cmd",(char *) "flags", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11770 arg1
= wxString_in_helper(obj0
);
11771 if (arg1
== NULL
) SWIG_fail
;
11776 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11777 if (SWIG_arg_fail(2)) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11802 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
= NULL
;
11804 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11805 int arg2
= (int) -1 ;
11806 wxPyProcess
*result
;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "parent",(char *) "id", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11816 if (SWIG_arg_fail(1)) SWIG_fail
;
11820 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11821 if (SWIG_arg_fail(2)) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11838 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
= NULL
;
11840 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11841 PyObject
*arg2
= (PyObject
*) 0 ;
11842 PyObject
*arg3
= (PyObject
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 PyObject
* obj2
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self",(char *) "self",(char *) "_class", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11852 if (SWIG_arg_fail(1)) SWIG_fail
;
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 Py_INCREF(Py_None
); resultobj
= Py_None
;
11869 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
= NULL
;
11871 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 PyObject
* obj2
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "self",(char *) "pid",(char *) "status", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11883 if (SWIG_arg_fail(1)) SWIG_fail
;
11885 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11886 if (SWIG_arg_fail(2)) SWIG_fail
;
11889 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11890 if (SWIG_arg_fail(3)) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->base_OnTerminate(arg2
,arg3
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
= NULL
;
11908 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11916 if (SWIG_arg_fail(1)) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 (arg1
)->Redirect();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 Py_INCREF(Py_None
); resultobj
= Py_None
;
11931 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
= NULL
;
11933 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11935 PyObject
* obj0
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11942 if (SWIG_arg_fail(1)) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (bool)(arg1
)->IsRedirected();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11959 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
= NULL
;
11961 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11962 PyObject
* obj0
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11969 if (SWIG_arg_fail(1)) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11984 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
= NULL
;
11986 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11987 wxInputStream
*result
;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (wxInputStream
*)(arg1
)->GetInputStream();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12004 wxPyInputStream
* _ptr
= NULL
;
12007 _ptr
= new wxPyInputStream(result
);
12009 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12017 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
= NULL
;
12019 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12020 wxInputStream
*result
;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",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 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 wxPyInputStream
* _ptr
= NULL
;
12040 _ptr
= new wxPyInputStream(result
);
12042 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12050 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
= NULL
;
12052 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12053 wxOutputStream
*result
;
12054 PyObject
* obj0
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12076 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
= NULL
;
12078 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->CloseOutput();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 Py_INCREF(Py_None
); resultobj
= Py_None
;
12101 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
= NULL
;
12103 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12129 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= NULL
;
12131 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12140 if (SWIG_arg_fail(1)) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12157 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
= NULL
;
12159 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12161 PyObject
* obj0
= 0 ;
12162 char *kwnames
[] = {
12163 (char *) "self", NULL
12166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12168 if (SWIG_arg_fail(1)) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12185 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12188 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12190 return Py_BuildValue((char *)"");
12192 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
= NULL
;
12194 int arg1
= (int) 0 ;
12195 int arg2
= (int) 0 ;
12196 int arg3
= (int) 0 ;
12197 wxProcessEvent
*result
;
12198 PyObject
* obj0
= 0 ;
12199 PyObject
* obj1
= 0 ;
12200 PyObject
* obj2
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12208 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12209 if (SWIG_arg_fail(1)) SWIG_fail
;
12214 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12215 if (SWIG_arg_fail(2)) SWIG_fail
;
12220 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12221 if (SWIG_arg_fail(3)) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12238 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
= NULL
;
12240 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12249 if (SWIG_arg_fail(1)) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (int)(arg1
)->GetPid();
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_From_int(static_cast<int >(result
));
12266 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
= NULL
;
12268 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12277 if (SWIG_arg_fail(1)) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (int)(arg1
)->GetExitCode();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_From_int(static_cast<int >(result
));
12294 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
= NULL
;
12296 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self",(char *) "m_pid", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12306 if (SWIG_arg_fail(1)) SWIG_fail
;
12308 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12309 if (SWIG_arg_fail(2)) SWIG_fail
;
12311 if (arg1
) (arg1
)->m_pid
= arg2
;
12313 Py_INCREF(Py_None
); resultobj
= Py_None
;
12320 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
= NULL
;
12322 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12324 PyObject
* obj0
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail
;
12332 result
= (int) ((arg1
)->m_pid
);
12335 resultobj
= SWIG_From_int(static_cast<int >(result
));
12343 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
= NULL
;
12345 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self",(char *) "m_exitcode", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12355 if (SWIG_arg_fail(1)) SWIG_fail
;
12357 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12358 if (SWIG_arg_fail(2)) SWIG_fail
;
12360 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12362 Py_INCREF(Py_None
); resultobj
= Py_None
;
12369 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
= NULL
;
12371 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12373 PyObject
* obj0
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12380 if (SWIG_arg_fail(1)) SWIG_fail
;
12381 result
= (int) ((arg1
)->m_exitcode
);
12384 resultobj
= SWIG_From_int(static_cast<int >(result
));
12392 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12395 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12397 return Py_BuildValue((char *)"");
12399 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
= NULL
;
12401 wxString
*arg1
= 0 ;
12402 int arg2
= (int) wxEXEC_ASYNC
;
12403 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12405 bool temp1
= false ;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 PyObject
* obj2
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "command",(char *) "flags",(char *) "process", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12415 arg1
= wxString_in_helper(obj0
);
12416 if (arg1
== NULL
) SWIG_fail
;
12421 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12422 if (SWIG_arg_fail(2)) SWIG_fail
;
12426 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12427 if (SWIG_arg_fail(3)) SWIG_fail
;
12430 if (!wxPyCheckForApp()) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= SWIG_From_long(static_cast<long >(result
));
12454 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
= NULL
;
12457 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12458 wxKillError
*arg3
= (wxKillError
*) 0 ;
12459 int arg4
= (int) wxKILL_NOCHILDREN
;
12461 wxKillError temp3
;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 PyObject
* obj2
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12474 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12475 if (SWIG_arg_fail(1)) SWIG_fail
;
12479 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12480 if (SWIG_arg_fail(2)) SWIG_fail
;
12485 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12486 if (SWIG_arg_fail(4)) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= SWIG_From_int(static_cast<int >(result
));
12501 o
= PyInt_FromLong((long) (*arg3
));
12502 resultobj
= t_output_helper(resultobj
, o
);
12510 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
= NULL
;
12512 int arg1
= (int) wxJOYSTICK1
;
12513 wxJoystick
*result
;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "joystick", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12522 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12523 if (SWIG_arg_fail(1)) SWIG_fail
;
12527 if (!wxPyCheckForApp()) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (wxJoystick
*)new wxJoystick(arg1
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12541 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
= NULL
;
12543 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12544 PyObject
* obj0
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12551 if (SWIG_arg_fail(1)) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 Py_INCREF(Py_None
); resultobj
= Py_None
;
12566 static PyObject
*_wrap_Joystick_GetPosition(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_GetPosition",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
= (arg1
)->GetPosition();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12586 wxPoint
* resultptr
;
12587 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12596 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
= NULL
;
12598 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12607 if (SWIG_arg_fail(1)) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= (int)(arg1
)->GetZPosition();
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= SWIG_From_int(static_cast<int >(result
));
12624 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
= NULL
;
12626 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
12634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (int)(arg1
)->GetButtonState();
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= SWIG_From_int(static_cast<int >(result
));
12652 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
= NULL
;
12654 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12656 PyObject
* obj0
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
12662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12663 if (SWIG_arg_fail(1)) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (int)(arg1
)->GetPOVPosition();
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_From_int(static_cast<int >(result
));
12680 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
= NULL
;
12682 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= (int)(arg1
)->GetPOVCTSPosition();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_From_int(static_cast<int >(result
));
12708 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
= NULL
;
12710 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
12718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12719 if (SWIG_arg_fail(1)) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (int)(arg1
)->GetRudderPosition();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= SWIG_From_int(static_cast<int >(result
));
12736 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
= NULL
;
12738 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12740 PyObject
* obj0
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
12746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12747 if (SWIG_arg_fail(1)) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (int)(arg1
)->GetUPosition();
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_From_int(static_cast<int >(result
));
12764 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
= NULL
;
12766 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (int)(arg1
)->GetVPosition();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_From_int(static_cast<int >(result
));
12792 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
= NULL
;
12794 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (int)(arg1
)->GetMovementThreshold();
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_From_int(static_cast<int >(result
));
12820 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
= NULL
;
12822 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self",(char *) "threshold", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12835 if (SWIG_arg_fail(2)) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 (arg1
)->SetMovementThreshold(arg2
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 Py_INCREF(Py_None
); resultobj
= Py_None
;
12851 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
= NULL
;
12853 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12862 if (SWIG_arg_fail(1)) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (bool)(arg1
)->IsOk();
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12879 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
= NULL
;
12881 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12890 if (SWIG_arg_fail(1)) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (int)(arg1
)->GetNumberJoysticks();
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= SWIG_From_int(static_cast<int >(result
));
12907 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
= NULL
;
12909 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12918 if (SWIG_arg_fail(1)) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (int)(arg1
)->GetManufacturerId();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_From_int(static_cast<int >(result
));
12935 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= NULL
;
12937 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12939 PyObject
* obj0
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (int)(arg1
)->GetProductId();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_From_int(static_cast<int >(result
));
12963 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
= NULL
;
12965 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12974 if (SWIG_arg_fail(1)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (arg1
)->GetProductName();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12995 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
= NULL
;
12997 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
13005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13006 if (SWIG_arg_fail(1)) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 result
= (int)(arg1
)->GetXMin();
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_From_int(static_cast<int >(result
));
13023 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
= NULL
;
13025 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
13033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (int)(arg1
)->GetYMin();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_From_int(static_cast<int >(result
));
13051 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
= NULL
;
13053 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
13061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13062 if (SWIG_arg_fail(1)) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (int)(arg1
)->GetZMin();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_From_int(static_cast<int >(result
));
13079 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= NULL
;
13081 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
13089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13090 if (SWIG_arg_fail(1)) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (int)(arg1
)->GetXMax();
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_From_int(static_cast<int >(result
));
13107 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
= NULL
;
13109 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
13117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13118 if (SWIG_arg_fail(1)) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= (int)(arg1
)->GetYMax();
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_From_int(static_cast<int >(result
));
13135 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= NULL
;
13137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13139 PyObject
* obj0
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
13145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13146 if (SWIG_arg_fail(1)) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (int)(arg1
)->GetZMax();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_From_int(static_cast<int >(result
));
13163 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
= NULL
;
13165 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13167 PyObject
* obj0
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "self", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
13173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13174 if (SWIG_arg_fail(1)) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 result
= (int)(arg1
)->GetNumberButtons();
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= SWIG_From_int(static_cast<int >(result
));
13191 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
= NULL
;
13193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
13201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13202 if (SWIG_arg_fail(1)) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (int)(arg1
)->GetNumberAxes();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_From_int(static_cast<int >(result
));
13219 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
= NULL
;
13221 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
13229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13230 if (SWIG_arg_fail(1)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (int)(arg1
)->GetMaxButtons();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_From_int(static_cast<int >(result
));
13247 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
= NULL
;
13249 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
13257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13258 if (SWIG_arg_fail(1)) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (int)(arg1
)->GetMaxAxes();
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_From_int(static_cast<int >(result
));
13275 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
= NULL
;
13277 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
13285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13286 if (SWIG_arg_fail(1)) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (int)(arg1
)->GetPollingMin();
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_From_int(static_cast<int >(result
));
13303 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
= NULL
;
13305 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
13313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13314 if (SWIG_arg_fail(1)) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (int)(arg1
)->GetPollingMax();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_From_int(static_cast<int >(result
));
13331 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
= NULL
;
13333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
13341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13342 if (SWIG_arg_fail(1)) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (int)(arg1
)->GetRudderMin();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_From_int(static_cast<int >(result
));
13359 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
= NULL
;
13361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
13369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13370 if (SWIG_arg_fail(1)) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (int)(arg1
)->GetRudderMax();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_From_int(static_cast<int >(result
));
13387 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
= NULL
;
13389 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
13397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13398 if (SWIG_arg_fail(1)) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= (int)(arg1
)->GetUMin();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_From_int(static_cast<int >(result
));
13415 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
= NULL
;
13417 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
13425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13426 if (SWIG_arg_fail(1)) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (int)(arg1
)->GetUMax();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= SWIG_From_int(static_cast<int >(result
));
13443 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
= NULL
;
13445 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
13453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13454 if (SWIG_arg_fail(1)) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (int)(arg1
)->GetVMin();
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_From_int(static_cast<int >(result
));
13471 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
= NULL
;
13473 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
13481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13482 if (SWIG_arg_fail(1)) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (int)(arg1
)->GetVMax();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= SWIG_From_int(static_cast<int >(result
));
13499 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
= NULL
;
13501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13503 PyObject
* obj0
= 0 ;
13504 char *kwnames
[] = {
13505 (char *) "self", NULL
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
13509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13510 if (SWIG_arg_fail(1)) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (bool)(arg1
)->HasRudder();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13527 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
= NULL
;
13529 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
13537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13538 if (SWIG_arg_fail(1)) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (bool)(arg1
)->HasZ();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13555 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
= NULL
;
13557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
13565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13566 if (SWIG_arg_fail(1)) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (bool)(arg1
)->HasU();
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13583 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
= NULL
;
13585 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "self", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
13593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13594 if (SWIG_arg_fail(1)) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (bool)(arg1
)->HasV();
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13611 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
= NULL
;
13613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
13621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13622 if (SWIG_arg_fail(1)) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (bool)(arg1
)->HasPOV();
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13639 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
= NULL
;
13641 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
13649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13650 if (SWIG_arg_fail(1)) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 result
= (bool)(arg1
)->HasPOV4Dir();
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13667 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
= NULL
;
13669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13671 PyObject
* obj0
= 0 ;
13672 char *kwnames
[] = {
13673 (char *) "self", NULL
13676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
13677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13678 if (SWIG_arg_fail(1)) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (bool)(arg1
)->HasPOVCTS();
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13695 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
= NULL
;
13697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13698 wxWindow
*arg2
= (wxWindow
*) 0 ;
13699 int arg3
= (int) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 PyObject
* obj2
= 0 ;
13704 char *kwnames
[] = {
13705 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13710 if (SWIG_arg_fail(1)) SWIG_fail
;
13711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13712 if (SWIG_arg_fail(2)) SWIG_fail
;
13715 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13716 if (SWIG_arg_fail(3)) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13735 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
= NULL
;
13737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13746 if (SWIG_arg_fail(1)) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (bool)(arg1
)->ReleaseCapture();
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13763 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13766 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13768 return Py_BuildValue((char *)"");
13770 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
= NULL
;
13772 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13773 int arg2
= (int) 0 ;
13774 int arg3
= (int) wxJOYSTICK1
;
13775 int arg4
= (int) 0 ;
13776 wxJoystickEvent
*result
;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 PyObject
* obj2
= 0 ;
13780 PyObject
* obj3
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13788 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13789 if (SWIG_arg_fail(1)) SWIG_fail
;
13794 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13795 if (SWIG_arg_fail(2)) SWIG_fail
;
13800 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13801 if (SWIG_arg_fail(3)) SWIG_fail
;
13806 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13807 if (SWIG_arg_fail(4)) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13824 static PyObject
*_wrap_JoystickEvent_GetPosition(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_GetPosition",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
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13844 wxPoint
* resultptr
;
13845 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13854 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
= NULL
;
13856 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13865 if (SWIG_arg_fail(1)) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_From_int(static_cast<int >(result
));
13882 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
= NULL
;
13884 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13886 PyObject
* obj0
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "self", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13893 if (SWIG_arg_fail(1)) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_From_int(static_cast<int >(result
));
13910 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
= NULL
;
13912 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13914 PyObject
* obj0
= 0 ;
13915 char *kwnames
[] = {
13916 (char *) "self", NULL
13919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13921 if (SWIG_arg_fail(1)) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_From_int(static_cast<int >(result
));
13938 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= NULL
;
13940 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13949 if (SWIG_arg_fail(1)) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_From_int(static_cast<int >(result
));
13966 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
= NULL
;
13968 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 char *kwnames
[] = {
13973 (char *) "self",(char *) "stick", NULL
13976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13978 if (SWIG_arg_fail(1)) SWIG_fail
;
13980 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13981 if (SWIG_arg_fail(2)) SWIG_fail
;
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 (arg1
)->SetJoystick(arg2
);
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 Py_INCREF(Py_None
); resultobj
= Py_None
;
13997 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
= NULL
;
13999 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 PyObject
* obj1
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self",(char *) "state", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
14008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14009 if (SWIG_arg_fail(1)) SWIG_fail
;
14011 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14012 if (SWIG_arg_fail(2)) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 (arg1
)->SetButtonState(arg2
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 Py_INCREF(Py_None
); resultobj
= Py_None
;
14028 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
= NULL
;
14030 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self",(char *) "change", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
14039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14040 if (SWIG_arg_fail(1)) SWIG_fail
;
14042 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14043 if (SWIG_arg_fail(2)) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->SetButtonChange(arg2
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14059 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
= NULL
;
14061 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14062 wxPoint
*arg2
= 0 ;
14064 PyObject
* obj0
= 0 ;
14065 PyObject
* obj1
= 0 ;
14066 char *kwnames
[] = {
14067 (char *) "self",(char *) "pos", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14072 if (SWIG_arg_fail(1)) SWIG_fail
;
14075 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 Py_INCREF(Py_None
); resultobj
= Py_None
;
14091 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
= NULL
;
14093 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14095 PyObject
* obj0
= 0 ;
14096 PyObject
* obj1
= 0 ;
14097 char *kwnames
[] = {
14098 (char *) "self",(char *) "zPos", NULL
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14106 if (SWIG_arg_fail(2)) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 (arg1
)->SetZPosition(arg2
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 Py_INCREF(Py_None
); resultobj
= Py_None
;
14122 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
= NULL
;
14124 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14133 if (SWIG_arg_fail(1)) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14150 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
= NULL
;
14152 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14154 PyObject
* obj0
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
14160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14161 if (SWIG_arg_fail(1)) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14178 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
= NULL
;
14180 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14182 PyObject
* obj0
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
14188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14189 if (SWIG_arg_fail(1)) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14206 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
= NULL
;
14208 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14209 int arg2
= (int) wxJOY_BUTTON_ANY
;
14211 PyObject
* obj0
= 0 ;
14212 PyObject
* obj1
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self",(char *) "but", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14219 if (SWIG_arg_fail(1)) SWIG_fail
;
14222 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14223 if (SWIG_arg_fail(2)) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14242 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
= NULL
;
14244 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14245 int arg2
= (int) wxJOY_BUTTON_ANY
;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self",(char *) "but", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14255 if (SWIG_arg_fail(1)) SWIG_fail
;
14258 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14259 if (SWIG_arg_fail(2)) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14278 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
= NULL
;
14280 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14281 int arg2
= (int) wxJOY_BUTTON_ANY
;
14283 PyObject
* obj0
= 0 ;
14284 PyObject
* obj1
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self",(char *) "but", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14291 if (SWIG_arg_fail(1)) SWIG_fail
;
14294 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14295 if (SWIG_arg_fail(2)) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14314 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14317 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14319 return Py_BuildValue((char *)"");
14321 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
= NULL
;
14323 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14324 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14326 bool temp1
= false ;
14327 PyObject
* obj0
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "fileName", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14335 arg1
= wxString_in_helper(obj0
);
14336 if (arg1
== NULL
) SWIG_fail
;
14341 if (!wxPyCheckForApp()) SWIG_fail
;
14342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14343 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14363 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
= NULL
;
14365 PyObject
*arg1
= (PyObject
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "data", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14375 if (!wxPyCheckForApp()) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (wxSound
*)new_wxSound(arg1
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14389 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
= NULL
;
14391 wxSound
*arg1
= (wxSound
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14399 if (SWIG_arg_fail(1)) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 Py_INCREF(Py_None
); resultobj
= Py_None
;
14414 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
= NULL
;
14416 wxSound
*arg1
= (wxSound
*) 0 ;
14417 wxString
*arg2
= 0 ;
14419 bool temp2
= false ;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self",(char *) "fileName", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14428 if (SWIG_arg_fail(1)) SWIG_fail
;
14430 arg2
= wxString_in_helper(obj1
);
14431 if (arg2
== NULL
) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14458 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
= NULL
;
14460 wxSound
*arg1
= (wxSound
*) 0 ;
14461 PyObject
*arg2
= (PyObject
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "data", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14471 if (SWIG_arg_fail(1)) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14489 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
= NULL
;
14491 wxSound
*arg1
= (wxSound
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14500 if (SWIG_arg_fail(1)) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (bool)(arg1
)->IsOk();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14517 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
= NULL
;
14519 wxSound
*arg1
= (wxSound
*) 0 ;
14520 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14522 PyObject
* obj0
= 0 ;
14523 PyObject
* obj1
= 0 ;
14524 char *kwnames
[] = {
14525 (char *) "self",(char *) "flags", NULL
14528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14530 if (SWIG_arg_fail(1)) SWIG_fail
;
14533 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14534 if (SWIG_arg_fail(2)) SWIG_fail
;
14538 if (!wxPyCheckForApp()) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14554 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
= NULL
;
14556 wxString
*arg1
= 0 ;
14557 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14559 bool temp1
= false ;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "filename",(char *) "flags", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14568 arg1
= wxString_in_helper(obj0
);
14569 if (arg1
== NULL
) SWIG_fail
;
14574 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14575 if (SWIG_arg_fail(2)) SWIG_fail
;
14579 if (!wxPyCheckForApp()) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14603 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
= NULL
;
14605 char *kwnames
[] = {
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14611 if (!wxPyCheckForApp()) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 Py_INCREF(Py_None
); resultobj
= Py_None
;
14625 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14628 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14630 return Py_BuildValue((char *)"");
14632 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
= NULL
;
14634 wxString
*arg1
= 0 ;
14635 wxString
*arg2
= 0 ;
14636 wxString
*arg3
= 0 ;
14637 wxString
*arg4
= 0 ;
14638 wxFileTypeInfo
*result
;
14639 bool temp1
= false ;
14640 bool temp2
= false ;
14641 bool temp3
= false ;
14642 bool temp4
= false ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 PyObject
* obj2
= 0 ;
14646 PyObject
* obj3
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14653 arg1
= wxString_in_helper(obj0
);
14654 if (arg1
== NULL
) SWIG_fail
;
14658 arg2
= wxString_in_helper(obj1
);
14659 if (arg2
== NULL
) SWIG_fail
;
14663 arg3
= wxString_in_helper(obj2
);
14664 if (arg3
== NULL
) SWIG_fail
;
14668 arg4
= wxString_in_helper(obj3
);
14669 if (arg4
== NULL
) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14718 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
= NULL
;
14720 wxArrayString
*arg1
= 0 ;
14721 wxFileTypeInfo
*result
;
14722 bool temp1
= false ;
14723 PyObject
* obj0
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "sArray", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14730 if (! PySequence_Check(obj0
)) {
14731 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14734 arg1
= new wxArrayString
;
14736 int i
, len
=PySequence_Length(obj0
);
14737 for (i
=0; i
<len
; i
++) {
14738 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14739 wxString
* s
= wxString_in_helper(item
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14755 if (temp1
) delete arg1
;
14760 if (temp1
) delete arg1
;
14766 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
= NULL
;
14768 wxFileTypeInfo
*result
;
14769 char *kwnames
[] = {
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14788 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
= NULL
;
14790 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14799 if (SWIG_arg_fail(1)) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14816 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
= NULL
;
14818 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14819 wxString
*arg2
= 0 ;
14820 int arg3
= (int) 0 ;
14821 bool temp2
= false ;
14822 PyObject
* obj0
= 0 ;
14823 PyObject
* obj1
= 0 ;
14824 PyObject
* obj2
= 0 ;
14825 char *kwnames
[] = {
14826 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14831 if (SWIG_arg_fail(1)) SWIG_fail
;
14833 arg2
= wxString_in_helper(obj1
);
14834 if (arg2
== NULL
) SWIG_fail
;
14839 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14840 if (SWIG_arg_fail(3)) SWIG_fail
;
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14850 Py_INCREF(Py_None
); resultobj
= Py_None
;
14865 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= NULL
;
14867 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14868 wxString
*arg2
= 0 ;
14869 bool temp2
= false ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "shortDesc", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail
;
14880 arg2
= wxString_in_helper(obj1
);
14881 if (arg2
== NULL
) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 Py_INCREF(Py_None
); resultobj
= Py_None
;
14906 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
= NULL
;
14908 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14917 if (SWIG_arg_fail(1)) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14922 result
= (wxString
*) &_result_ref
;
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14932 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14941 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
= NULL
;
14943 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14952 if (SWIG_arg_fail(1)) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14957 result
= (wxString
*) &_result_ref
;
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14967 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14976 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
= NULL
;
14978 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14980 PyObject
* obj0
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14987 if (SWIG_arg_fail(1)) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14992 result
= (wxString
*) &_result_ref
;
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15002 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15011 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
= NULL
;
15013 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
15021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15022 if (SWIG_arg_fail(1)) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
15027 result
= (wxString
*) &_result_ref
;
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15037 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15046 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
= NULL
;
15048 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
15056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15057 if (SWIG_arg_fail(1)) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15062 result
= (wxString
*) &_result_ref
;
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15072 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15081 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
= NULL
;
15083 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15084 wxArrayString
*result
;
15085 PyObject
* obj0
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15097 result
= (wxArrayString
*) &_result_ref
;
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= wxArrayString2PyList_helper(*result
);
15112 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
= NULL
;
15114 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_From_int(static_cast<int >(result
));
15140 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
= NULL
;
15142 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
15150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15151 if (SWIG_arg_fail(1)) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15156 result
= (wxString
*) &_result_ref
;
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15166 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15175 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
= NULL
;
15177 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15186 if (SWIG_arg_fail(1)) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= SWIG_From_int(static_cast<int >(result
));
15203 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15206 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15208 return Py_BuildValue((char *)"");
15210 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
= NULL
;
15212 wxFileTypeInfo
*arg1
= 0 ;
15213 wxFileType
*result
;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "ftInfo", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail
;
15223 if (arg1
== NULL
) {
15224 SWIG_null_ref("wxFileTypeInfo");
15226 if (SWIG_arg_fail(1)) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15242 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
= NULL
;
15244 wxFileType
*arg1
= (wxFileType
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 Py_INCREF(Py_None
); resultobj
= Py_None
;
15267 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
= NULL
;
15269 wxFileType
*arg1
= (wxFileType
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15278 if (SWIG_arg_fail(1)) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= result
;
15293 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
= NULL
;
15295 wxFileType
*arg1
= (wxFileType
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15304 if (SWIG_arg_fail(1)) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= result
;
15319 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
= NULL
;
15321 wxFileType
*arg1
= (wxFileType
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= result
;
15345 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
= NULL
;
15347 wxFileType
*arg1
= (wxFileType
*) 0 ;
15349 PyObject
* obj0
= 0 ;
15350 char *kwnames
[] = {
15351 (char *) "self", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15356 if (SWIG_arg_fail(1)) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15371 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
= NULL
;
15373 wxFileType
*arg1
= (wxFileType
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15382 if (SWIG_arg_fail(1)) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= result
;
15397 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
= NULL
;
15399 wxFileType
*arg1
= (wxFileType
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 char *kwnames
[] = {
15403 (char *) "self", NULL
15406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15408 if (SWIG_arg_fail(1)) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= result
;
15423 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
= NULL
;
15425 wxFileType
*arg1
= (wxFileType
*) 0 ;
15426 wxString
*arg2
= 0 ;
15427 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15428 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15430 bool temp2
= false ;
15431 bool temp3
= false ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail
;
15443 arg2
= wxString_in_helper(obj1
);
15444 if (arg2
== NULL
) SWIG_fail
;
15449 arg3
= wxString_in_helper(obj2
);
15450 if (arg3
== NULL
) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= result
;
15484 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
= NULL
;
15486 wxFileType
*arg1
= (wxFileType
*) 0 ;
15487 wxString
*arg2
= 0 ;
15488 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15489 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15491 bool temp2
= false ;
15492 bool temp3
= false ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 PyObject
* obj2
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15502 if (SWIG_arg_fail(1)) SWIG_fail
;
15504 arg2
= wxString_in_helper(obj1
);
15505 if (arg2
== NULL
) SWIG_fail
;
15510 arg3
= wxString_in_helper(obj2
);
15511 if (arg3
== NULL
) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= result
;
15545 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
= NULL
;
15547 wxFileType
*arg1
= (wxFileType
*) 0 ;
15548 wxString
*arg2
= 0 ;
15549 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15550 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15552 bool temp2
= false ;
15553 bool temp3
= false ;
15554 PyObject
* obj0
= 0 ;
15555 PyObject
* obj1
= 0 ;
15556 PyObject
* obj2
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15563 if (SWIG_arg_fail(1)) SWIG_fail
;
15565 arg2
= wxString_in_helper(obj1
);
15566 if (arg2
== NULL
) SWIG_fail
;
15571 arg3
= wxString_in_helper(obj2
);
15572 if (arg3
== NULL
) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= result
;
15606 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
= NULL
;
15608 wxFileType
*arg1
= (wxFileType
*) 0 ;
15609 wxString
*arg2
= 0 ;
15610 wxString
*arg3
= 0 ;
15611 bool arg4
= (bool) true ;
15613 bool temp2
= false ;
15614 bool temp3
= false ;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 PyObject
* obj2
= 0 ;
15618 PyObject
* obj3
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail
;
15627 arg2
= wxString_in_helper(obj1
);
15628 if (arg2
== NULL
) SWIG_fail
;
15632 arg3
= wxString_in_helper(obj2
);
15633 if (arg3
== NULL
) SWIG_fail
;
15638 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15639 if (SWIG_arg_fail(4)) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15674 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
= NULL
;
15676 wxFileType
*arg1
= (wxFileType
*) 0 ;
15677 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15678 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15679 int arg3
= (int) 0 ;
15681 bool temp2
= false ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 PyObject
* obj2
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self",(char *) "cmd",(char *) "index", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15691 if (SWIG_arg_fail(1)) SWIG_fail
;
15694 arg2
= wxString_in_helper(obj1
);
15695 if (arg2
== NULL
) SWIG_fail
;
15701 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15702 if (SWIG_arg_fail(3)) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15729 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
= NULL
;
15731 wxFileType
*arg1
= (wxFileType
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15740 if (SWIG_arg_fail(1)) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (bool)(arg1
)->Unassociate();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15757 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
= NULL
;
15759 wxString
*arg1
= 0 ;
15760 wxString
*arg2
= 0 ;
15761 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15762 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15764 bool temp1
= false ;
15765 bool temp2
= false ;
15766 bool temp3
= false ;
15767 PyObject
* obj0
= 0 ;
15768 PyObject
* obj1
= 0 ;
15769 PyObject
* obj2
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15776 arg1
= wxString_in_helper(obj0
);
15777 if (arg1
== NULL
) SWIG_fail
;
15781 arg2
= wxString_in_helper(obj1
);
15782 if (arg2
== NULL
) SWIG_fail
;
15787 arg3
= wxString_in_helper(obj2
);
15788 if (arg3
== NULL
) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15836 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15839 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15841 return Py_BuildValue((char *)"");
15843 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15844 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15849 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15850 PyObject
*pyobj
= NULL
;
15852 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15857 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
= NULL
;
15859 wxString
*arg1
= 0 ;
15860 wxString
*arg2
= 0 ;
15862 bool temp1
= false ;
15863 bool temp2
= false ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "mimeType",(char *) "wildcard", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15872 arg1
= wxString_in_helper(obj0
);
15873 if (arg1
== NULL
) SWIG_fail
;
15877 arg2
= wxString_in_helper(obj1
);
15878 if (arg2
== NULL
) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15913 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
= NULL
;
15915 wxMimeTypesManager
*result
;
15916 char *kwnames
[] = {
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15935 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
= NULL
;
15937 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15938 int arg2
= (int) wxMAILCAP_ALL
;
15939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15941 bool temp3
= false ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 PyObject
* obj2
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15951 if (SWIG_arg_fail(1)) SWIG_fail
;
15954 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15955 if (SWIG_arg_fail(2)) SWIG_fail
;
15960 arg3
= wxString_in_helper(obj2
);
15961 if (arg3
== NULL
) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 Py_INCREF(Py_None
); resultobj
= Py_None
;
15987 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
= NULL
;
15989 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15997 if (SWIG_arg_fail(1)) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 (arg1
)->ClearData();
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 Py_INCREF(Py_None
); resultobj
= Py_None
;
16012 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
= NULL
;
16014 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16015 wxString
*arg2
= 0 ;
16016 wxFileType
*result
;
16017 bool temp2
= false ;
16018 PyObject
* obj0
= 0 ;
16019 PyObject
* obj1
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self",(char *) "ext", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
16025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16026 if (SWIG_arg_fail(1)) SWIG_fail
;
16028 arg2
= wxString_in_helper(obj1
);
16029 if (arg2
== NULL
) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16054 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
= NULL
;
16056 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16057 wxString
*arg2
= 0 ;
16058 wxFileType
*result
;
16059 bool temp2
= false ;
16060 PyObject
* obj0
= 0 ;
16061 PyObject
* obj1
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "self",(char *) "mimeType", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16068 if (SWIG_arg_fail(1)) SWIG_fail
;
16070 arg2
= wxString_in_helper(obj1
);
16071 if (arg2
== NULL
) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16096 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
= NULL
;
16098 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16099 wxString
*arg2
= 0 ;
16100 bool arg3
= (bool) false ;
16102 bool temp2
= false ;
16103 PyObject
* obj0
= 0 ;
16104 PyObject
* obj1
= 0 ;
16105 PyObject
* obj2
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16112 if (SWIG_arg_fail(1)) SWIG_fail
;
16114 arg2
= wxString_in_helper(obj1
);
16115 if (arg2
== NULL
) SWIG_fail
;
16120 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16121 if (SWIG_arg_fail(3)) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16148 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
= NULL
;
16150 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16151 wxString
*arg2
= 0 ;
16153 bool temp2
= false ;
16154 PyObject
* obj0
= 0 ;
16155 PyObject
* obj1
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self",(char *) "filename", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
16161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16162 if (SWIG_arg_fail(1)) SWIG_fail
;
16164 arg2
= wxString_in_helper(obj1
);
16165 if (arg2
== NULL
) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16192 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
= NULL
;
16194 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16203 if (SWIG_arg_fail(1)) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= result
;
16218 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
= NULL
;
16220 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16221 wxFileTypeInfo
*arg2
= 0 ;
16222 PyObject
* obj0
= 0 ;
16223 PyObject
* obj1
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self",(char *) "ft", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16230 if (SWIG_arg_fail(1)) SWIG_fail
;
16232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16233 if (SWIG_arg_fail(2)) SWIG_fail
;
16234 if (arg2
== NULL
) {
16235 SWIG_null_ref("wxFileTypeInfo");
16237 if (SWIG_arg_fail(2)) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16246 Py_INCREF(Py_None
); resultobj
= Py_None
;
16253 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
= NULL
;
16255 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16256 wxFileTypeInfo
*arg2
= 0 ;
16257 wxFileType
*result
;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self",(char *) "ftInfo", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16269 if (SWIG_arg_fail(2)) SWIG_fail
;
16270 if (arg2
== NULL
) {
16271 SWIG_null_ref("wxFileTypeInfo");
16273 if (SWIG_arg_fail(2)) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16289 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
= NULL
;
16291 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16292 wxFileType
*arg2
= (wxFileType
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self",(char *) "ft", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16302 if (SWIG_arg_fail(1)) SWIG_fail
;
16303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16304 if (SWIG_arg_fail(2)) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (bool)(arg1
)->Unassociate(arg2
);
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16321 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
= NULL
;
16323 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16331 if (SWIG_arg_fail(1)) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 Py_INCREF(Py_None
); resultobj
= Py_None
;
16346 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16349 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16351 return Py_BuildValue((char *)"");
16353 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16354 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16359 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16360 PyObject
*pyobj
= NULL
;
16364 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16366 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16373 static int _wrap_ART_MENU_set(PyObject
*) {
16374 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16379 static PyObject
*_wrap_ART_MENU_get(void) {
16380 PyObject
*pyobj
= NULL
;
16384 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16386 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16393 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16394 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16399 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16400 PyObject
*pyobj
= NULL
;
16404 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16406 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16413 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16414 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16419 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16420 PyObject
*pyobj
= NULL
;
16424 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16426 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16433 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16434 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16439 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16440 PyObject
*pyobj
= NULL
;
16444 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16446 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16453 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16454 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16459 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16460 PyObject
*pyobj
= NULL
;
16464 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16466 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16473 static int _wrap_ART_BUTTON_set(PyObject
*) {
16474 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16479 static PyObject
*_wrap_ART_BUTTON_get(void) {
16480 PyObject
*pyobj
= NULL
;
16484 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16486 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16493 static int _wrap_ART_OTHER_set(PyObject
*) {
16494 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16499 static PyObject
*_wrap_ART_OTHER_get(void) {
16500 PyObject
*pyobj
= NULL
;
16504 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16506 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16513 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16514 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16519 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16520 PyObject
*pyobj
= NULL
;
16524 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16526 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16533 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16534 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16539 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16540 PyObject
*pyobj
= NULL
;
16544 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16546 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16553 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16554 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16559 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16560 PyObject
*pyobj
= NULL
;
16564 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16566 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16573 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16574 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16579 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16580 PyObject
*pyobj
= NULL
;
16584 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16586 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16593 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16594 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16599 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16600 PyObject
*pyobj
= NULL
;
16604 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16606 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16613 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16614 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16619 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16620 PyObject
*pyobj
= NULL
;
16624 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16626 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16633 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16634 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16639 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16640 PyObject
*pyobj
= NULL
;
16644 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16646 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16653 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16654 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16659 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16660 PyObject
*pyobj
= NULL
;
16664 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16666 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16673 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16674 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16679 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16680 PyObject
*pyobj
= NULL
;
16684 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16686 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16693 static int _wrap_ART_GO_UP_set(PyObject
*) {
16694 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16699 static PyObject
*_wrap_ART_GO_UP_get(void) {
16700 PyObject
*pyobj
= NULL
;
16704 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16706 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16713 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16714 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16719 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16720 PyObject
*pyobj
= NULL
;
16724 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16726 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16733 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16734 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16739 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16740 PyObject
*pyobj
= NULL
;
16744 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16746 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16753 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16754 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16759 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16760 PyObject
*pyobj
= NULL
;
16764 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16766 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16773 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16774 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16779 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16780 PyObject
*pyobj
= NULL
;
16784 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16786 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16793 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16794 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16799 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16800 PyObject
*pyobj
= NULL
;
16804 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16806 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16813 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16814 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16819 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16820 PyObject
*pyobj
= NULL
;
16824 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16826 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16833 static int _wrap_ART_PRINT_set(PyObject
*) {
16834 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16839 static PyObject
*_wrap_ART_PRINT_get(void) {
16840 PyObject
*pyobj
= NULL
;
16844 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16846 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16853 static int _wrap_ART_HELP_set(PyObject
*) {
16854 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16859 static PyObject
*_wrap_ART_HELP_get(void) {
16860 PyObject
*pyobj
= NULL
;
16864 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16866 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16873 static int _wrap_ART_TIP_set(PyObject
*) {
16874 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16879 static PyObject
*_wrap_ART_TIP_get(void) {
16880 PyObject
*pyobj
= NULL
;
16884 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16886 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16893 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16894 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16899 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16900 PyObject
*pyobj
= NULL
;
16904 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16906 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16913 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16914 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16919 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16920 PyObject
*pyobj
= NULL
;
16924 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16926 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16933 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16934 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16939 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16940 PyObject
*pyobj
= NULL
;
16944 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16946 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16953 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16954 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16959 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16960 PyObject
*pyobj
= NULL
;
16964 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16966 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16973 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16974 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16979 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16980 PyObject
*pyobj
= NULL
;
16984 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16986 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16993 static int _wrap_ART_CDROM_set(PyObject
*) {
16994 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16999 static PyObject
*_wrap_ART_CDROM_get(void) {
17000 PyObject
*pyobj
= NULL
;
17004 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17006 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17013 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
17014 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
17019 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
17020 PyObject
*pyobj
= NULL
;
17024 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17026 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17033 static int _wrap_ART_FOLDER_set(PyObject
*) {
17034 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
17039 static PyObject
*_wrap_ART_FOLDER_get(void) {
17040 PyObject
*pyobj
= NULL
;
17044 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17046 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17053 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
17054 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17059 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17060 PyObject
*pyobj
= NULL
;
17064 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17066 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17073 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17074 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17079 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17080 PyObject
*pyobj
= NULL
;
17084 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17086 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17093 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17094 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17099 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17100 PyObject
*pyobj
= NULL
;
17104 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17106 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17113 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17114 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17119 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17120 PyObject
*pyobj
= NULL
;
17124 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17126 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17133 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17134 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17139 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17140 PyObject
*pyobj
= NULL
;
17144 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17146 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17153 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17154 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17159 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17160 PyObject
*pyobj
= NULL
;
17164 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17166 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17173 static int _wrap_ART_ERROR_set(PyObject
*) {
17174 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17179 static PyObject
*_wrap_ART_ERROR_get(void) {
17180 PyObject
*pyobj
= NULL
;
17184 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17186 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17193 static int _wrap_ART_QUESTION_set(PyObject
*) {
17194 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17199 static PyObject
*_wrap_ART_QUESTION_get(void) {
17200 PyObject
*pyobj
= NULL
;
17204 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17206 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17213 static int _wrap_ART_WARNING_set(PyObject
*) {
17214 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17219 static PyObject
*_wrap_ART_WARNING_get(void) {
17220 PyObject
*pyobj
= NULL
;
17224 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17226 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17233 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17234 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17239 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17240 PyObject
*pyobj
= NULL
;
17244 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17246 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17253 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17254 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17259 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17260 PyObject
*pyobj
= NULL
;
17264 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17266 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17273 static int _wrap_ART_COPY_set(PyObject
*) {
17274 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17279 static PyObject
*_wrap_ART_COPY_get(void) {
17280 PyObject
*pyobj
= NULL
;
17284 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17286 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17293 static int _wrap_ART_CUT_set(PyObject
*) {
17294 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17299 static PyObject
*_wrap_ART_CUT_get(void) {
17300 PyObject
*pyobj
= NULL
;
17304 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17306 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17313 static int _wrap_ART_PASTE_set(PyObject
*) {
17314 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17319 static PyObject
*_wrap_ART_PASTE_get(void) {
17320 PyObject
*pyobj
= NULL
;
17324 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17326 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17333 static int _wrap_ART_DELETE_set(PyObject
*) {
17334 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17339 static PyObject
*_wrap_ART_DELETE_get(void) {
17340 PyObject
*pyobj
= NULL
;
17344 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17346 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17353 static int _wrap_ART_NEW_set(PyObject
*) {
17354 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17359 static PyObject
*_wrap_ART_NEW_get(void) {
17360 PyObject
*pyobj
= NULL
;
17364 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17366 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17373 static int _wrap_ART_UNDO_set(PyObject
*) {
17374 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17379 static PyObject
*_wrap_ART_UNDO_get(void) {
17380 PyObject
*pyobj
= NULL
;
17384 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17386 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17393 static int _wrap_ART_REDO_set(PyObject
*) {
17394 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17399 static PyObject
*_wrap_ART_REDO_get(void) {
17400 PyObject
*pyobj
= NULL
;
17404 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17406 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17413 static int _wrap_ART_QUIT_set(PyObject
*) {
17414 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17419 static PyObject
*_wrap_ART_QUIT_get(void) {
17420 PyObject
*pyobj
= NULL
;
17424 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17426 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17433 static int _wrap_ART_FIND_set(PyObject
*) {
17434 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17439 static PyObject
*_wrap_ART_FIND_get(void) {
17440 PyObject
*pyobj
= NULL
;
17444 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17446 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17453 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17454 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17459 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17460 PyObject
*pyobj
= NULL
;
17464 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17466 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17473 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
= NULL
;
17475 wxPyArtProvider
*result
;
17476 char *kwnames
[] = {
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17482 if (!wxPyCheckForApp()) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17496 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
= NULL
;
17498 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17499 PyObject
*arg2
= (PyObject
*) 0 ;
17500 PyObject
*arg3
= (PyObject
*) 0 ;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 PyObject
* obj2
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self",(char *) "self",(char *) "_class", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17510 if (SWIG_arg_fail(1)) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 Py_INCREF(Py_None
); resultobj
= Py_None
;
17527 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= NULL
;
17529 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17530 PyObject
* obj0
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "provider", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17537 if (SWIG_arg_fail(1)) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 wxPyArtProvider::PushProvider(arg1
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 Py_INCREF(Py_None
); resultobj
= Py_None
;
17552 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
= NULL
;
17555 char *kwnames
[] = {
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= (bool)wxPyArtProvider::PopProvider();
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17576 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
= NULL
;
17578 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17580 PyObject
* obj0
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "provider", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
17586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17587 if (SWIG_arg_fail(1)) SWIG_fail
;
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17604 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
= NULL
;
17606 wxString
*arg1
= 0 ;
17607 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17608 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17609 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17610 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17612 bool temp1
= false ;
17613 bool temp2
= false ;
17615 PyObject
* obj0
= 0 ;
17616 PyObject
* obj1
= 0 ;
17617 PyObject
* obj2
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "id",(char *) "client",(char *) "size", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17624 arg1
= wxString_in_helper(obj0
);
17625 if (arg1
== NULL
) SWIG_fail
;
17630 arg2
= wxString_in_helper(obj1
);
17631 if (arg2
== NULL
) SWIG_fail
;
17638 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17642 if (!wxPyCheckForApp()) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 wxBitmap
* resultptr
;
17651 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17676 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
= NULL
;
17678 wxString
*arg1
= 0 ;
17679 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17680 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17681 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17682 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17684 bool temp1
= false ;
17685 bool temp2
= false ;
17687 PyObject
* obj0
= 0 ;
17688 PyObject
* obj1
= 0 ;
17689 PyObject
* obj2
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "id",(char *) "client",(char *) "size", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17696 arg1
= wxString_in_helper(obj0
);
17697 if (arg1
== NULL
) SWIG_fail
;
17702 arg2
= wxString_in_helper(obj1
);
17703 if (arg2
== NULL
) SWIG_fail
;
17710 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17714 if (!wxPyCheckForApp()) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17722 wxIcon
* resultptr
;
17723 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17748 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
= NULL
;
17750 wxString
*arg1
= 0 ;
17751 bool arg2
= (bool) false ;
17753 bool temp1
= false ;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "client",(char *) "platform_dependent", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17762 arg1
= wxString_in_helper(obj0
);
17763 if (arg1
== NULL
) SWIG_fail
;
17768 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17769 if (SWIG_arg_fail(2)) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 wxSize
* resultptr
;
17781 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17798 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
= NULL
;
17800 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17808 if (SWIG_arg_fail(1)) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 wxPyArtProvider_Destroy(arg1
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 Py_INCREF(Py_None
); resultobj
= Py_None
;
17823 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17826 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17828 return Py_BuildValue((char *)"");
17830 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
= NULL
;
17832 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17833 PyObject
* obj0
= 0 ;
17834 char *kwnames
[] = {
17835 (char *) "self", NULL
17838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17840 if (SWIG_arg_fail(1)) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 Py_INCREF(Py_None
); resultobj
= Py_None
;
17855 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
= NULL
;
17857 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17858 wxConfigBase
*result
;
17859 PyObject
* obj0
= 0 ;
17860 char *kwnames
[] = {
17861 (char *) "config", NULL
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17866 if (SWIG_arg_fail(1)) SWIG_fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17881 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
= NULL
;
17883 bool arg1
= (bool) true ;
17884 wxConfigBase
*result
;
17885 PyObject
* obj0
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "createOnDemand", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17893 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17894 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17911 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
= NULL
;
17913 wxConfigBase
*result
;
17914 char *kwnames
[] = {
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (wxConfigBase
*)wxConfigBase::Create();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17933 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
= NULL
;
17935 char *kwnames
[] = {
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 wxConfigBase::DontCreateOnDemand();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 Py_INCREF(Py_None
); resultobj
= Py_None
;
17954 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
= NULL
;
17956 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17957 wxString
*arg2
= 0 ;
17958 bool temp2
= false ;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "path", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17967 if (SWIG_arg_fail(1)) SWIG_fail
;
17969 arg2
= wxString_in_helper(obj1
);
17970 if (arg2
== NULL
) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 (arg1
)->SetPath((wxString
const &)*arg2
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
= NULL
;
17997 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
18005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18006 if (SWIG_arg_fail(1)) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
18011 result
= (wxString
*) &_result_ref
;
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18030 static PyObject
*_wrap_ConfigBase_GetFirstGroup(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_GetFirstGroup",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_GetFirstGroup(arg1
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= result
;
18056 static PyObject
*_wrap_ConfigBase_GetNextGroup(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_GetNextGroup",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_GetNextGroup(arg1
,arg2
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= result
;
18088 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
= NULL
;
18090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18099 if (SWIG_arg_fail(1)) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= result
;
18114 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
= NULL
;
18116 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self",(char *) "index", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail
;
18129 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18130 if (SWIG_arg_fail(2)) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= result
;
18146 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
= NULL
;
18148 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18149 bool arg2
= (bool) false ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self",(char *) "recursive", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18159 if (SWIG_arg_fail(1)) SWIG_fail
;
18162 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18163 if (SWIG_arg_fail(2)) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18182 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
= NULL
;
18184 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18185 bool arg2
= (bool) false ;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self",(char *) "recursive", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18195 if (SWIG_arg_fail(1)) SWIG_fail
;
18198 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18199 if (SWIG_arg_fail(2)) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18218 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
= NULL
;
18220 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18221 wxString
*arg2
= 0 ;
18223 bool temp2
= false ;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "name", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18232 if (SWIG_arg_fail(1)) SWIG_fail
;
18234 arg2
= wxString_in_helper(obj1
);
18235 if (arg2
== NULL
) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18262 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
= NULL
;
18264 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18265 wxString
*arg2
= 0 ;
18267 bool temp2
= false ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "name", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18276 if (SWIG_arg_fail(1)) SWIG_fail
;
18278 arg2
= wxString_in_helper(obj1
);
18279 if (arg2
== NULL
) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18306 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
= NULL
;
18308 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18309 wxString
*arg2
= 0 ;
18311 bool temp2
= false ;
18312 PyObject
* obj0
= 0 ;
18313 PyObject
* obj1
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self",(char *) "name", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18320 if (SWIG_arg_fail(1)) SWIG_fail
;
18322 arg2
= wxString_in_helper(obj1
);
18323 if (arg2
== NULL
) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18350 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
= NULL
;
18352 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18353 wxString
*arg2
= 0 ;
18354 wxConfigBase::EntryType result
;
18355 bool temp2
= false ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self",(char *) "name", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18364 if (SWIG_arg_fail(1)) SWIG_fail
;
18366 arg2
= wxString_in_helper(obj1
);
18367 if (arg2
== NULL
) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= SWIG_From_int((result
));
18392 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
= NULL
;
18394 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18395 wxString
*arg2
= 0 ;
18396 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18397 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18399 bool temp2
= false ;
18400 bool temp3
= false ;
18401 PyObject
* obj0
= 0 ;
18402 PyObject
* obj1
= 0 ;
18403 PyObject
* obj2
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail
;
18412 arg2
= wxString_in_helper(obj1
);
18413 if (arg2
== NULL
) SWIG_fail
;
18418 arg3
= wxString_in_helper(obj2
);
18419 if (arg3
== NULL
) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18459 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
= NULL
;
18461 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18462 wxString
*arg2
= 0 ;
18463 long arg3
= (long) 0 ;
18465 bool temp2
= false ;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18468 PyObject
* obj2
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail
;
18477 arg2
= wxString_in_helper(obj1
);
18478 if (arg2
== NULL
) SWIG_fail
;
18483 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18484 if (SWIG_arg_fail(3)) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_From_long(static_cast<long >(result
));
18511 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
= NULL
;
18513 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18514 wxString
*arg2
= 0 ;
18515 double arg3
= (double) 0.0 ;
18517 bool temp2
= false ;
18518 PyObject
* obj0
= 0 ;
18519 PyObject
* obj1
= 0 ;
18520 PyObject
* obj2
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18527 if (SWIG_arg_fail(1)) SWIG_fail
;
18529 arg2
= wxString_in_helper(obj1
);
18530 if (arg2
== NULL
) SWIG_fail
;
18535 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18536 if (SWIG_arg_fail(3)) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18547 resultobj
= SWIG_From_double(static_cast<double >(result
));
18563 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
= NULL
;
18565 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18566 wxString
*arg2
= 0 ;
18567 bool arg3
= (bool) false ;
18569 bool temp2
= false ;
18570 PyObject
* obj0
= 0 ;
18571 PyObject
* obj1
= 0 ;
18572 PyObject
* obj2
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18579 if (SWIG_arg_fail(1)) SWIG_fail
;
18581 arg2
= wxString_in_helper(obj1
);
18582 if (arg2
== NULL
) SWIG_fail
;
18587 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18588 if (SWIG_arg_fail(3)) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18615 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
= NULL
;
18617 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18618 wxString
*arg2
= 0 ;
18619 wxString
*arg3
= 0 ;
18621 bool temp2
= false ;
18622 bool temp3
= false ;
18623 PyObject
* obj0
= 0 ;
18624 PyObject
* obj1
= 0 ;
18625 PyObject
* obj2
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self",(char *) "key",(char *) "value", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18632 if (SWIG_arg_fail(1)) SWIG_fail
;
18634 arg2
= wxString_in_helper(obj1
);
18635 if (arg2
== NULL
) SWIG_fail
;
18639 arg3
= wxString_in_helper(obj2
);
18640 if (arg3
== NULL
) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18675 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
= NULL
;
18677 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18678 wxString
*arg2
= 0 ;
18681 bool temp2
= false ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 PyObject
* obj2
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "key",(char *) "value", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18691 if (SWIG_arg_fail(1)) SWIG_fail
;
18693 arg2
= wxString_in_helper(obj1
);
18694 if (arg2
== NULL
) SWIG_fail
;
18698 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18699 if (SWIG_arg_fail(3)) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18725 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
= NULL
;
18727 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18728 wxString
*arg2
= 0 ;
18731 bool temp2
= false ;
18732 PyObject
* obj0
= 0 ;
18733 PyObject
* obj1
= 0 ;
18734 PyObject
* obj2
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "key",(char *) "value", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18741 if (SWIG_arg_fail(1)) SWIG_fail
;
18743 arg2
= wxString_in_helper(obj1
);
18744 if (arg2
== NULL
) SWIG_fail
;
18748 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18749 if (SWIG_arg_fail(3)) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18775 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= NULL
;
18777 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18778 wxString
*arg2
= 0 ;
18781 bool temp2
= false ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 PyObject
* obj2
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "self",(char *) "key",(char *) "value", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18791 if (SWIG_arg_fail(1)) SWIG_fail
;
18793 arg2
= wxString_in_helper(obj1
);
18794 if (arg2
== NULL
) SWIG_fail
;
18798 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18799 if (SWIG_arg_fail(3)) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18825 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
= NULL
;
18827 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18828 bool arg2
= (bool) false ;
18830 PyObject
* obj0
= 0 ;
18831 PyObject
* obj1
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self",(char *) "currentOnly", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18838 if (SWIG_arg_fail(1)) SWIG_fail
;
18841 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18842 if (SWIG_arg_fail(2)) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 result
= (bool)(arg1
)->Flush(arg2
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18861 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
= NULL
;
18863 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18864 wxString
*arg2
= 0 ;
18865 wxString
*arg3
= 0 ;
18867 bool temp2
= false ;
18868 bool temp3
= false ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 PyObject
* obj2
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail
;
18880 arg2
= wxString_in_helper(obj1
);
18881 if (arg2
== NULL
) SWIG_fail
;
18885 arg3
= wxString_in_helper(obj2
);
18886 if (arg3
== NULL
) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18921 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
= NULL
;
18923 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18924 wxString
*arg2
= 0 ;
18925 wxString
*arg3
= 0 ;
18927 bool temp2
= false ;
18928 bool temp3
= false ;
18929 PyObject
* obj0
= 0 ;
18930 PyObject
* obj1
= 0 ;
18931 PyObject
* obj2
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18938 if (SWIG_arg_fail(1)) SWIG_fail
;
18940 arg2
= wxString_in_helper(obj1
);
18941 if (arg2
== NULL
) SWIG_fail
;
18945 arg3
= wxString_in_helper(obj2
);
18946 if (arg3
== NULL
) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18981 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
= NULL
;
18983 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18984 wxString
*arg2
= 0 ;
18985 bool arg3
= (bool) true ;
18987 bool temp2
= false ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 PyObject
* obj2
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18997 if (SWIG_arg_fail(1)) SWIG_fail
;
18999 arg2
= wxString_in_helper(obj1
);
19000 if (arg2
== NULL
) SWIG_fail
;
19005 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19006 if (SWIG_arg_fail(3)) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19033 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
= NULL
;
19035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19036 wxString
*arg2
= 0 ;
19038 bool temp2
= false ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "key", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail
;
19049 arg2
= wxString_in_helper(obj1
);
19050 if (arg2
== NULL
) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19077 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
= NULL
;
19079 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19081 PyObject
* obj0
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19088 if (SWIG_arg_fail(1)) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= (bool)(arg1
)->DeleteAll();
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19105 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
= NULL
;
19107 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19108 bool arg2
= (bool) true ;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj1
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self",(char *) "doIt", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19117 if (SWIG_arg_fail(1)) SWIG_fail
;
19120 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19121 if (SWIG_arg_fail(2)) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 (arg1
)->SetExpandEnvVars(arg2
);
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 Py_INCREF(Py_None
); resultobj
= Py_None
;
19138 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
= NULL
;
19140 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19149 if (SWIG_arg_fail(1)) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19166 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
= NULL
;
19168 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19169 bool arg2
= (bool) true ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "doIt", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19178 if (SWIG_arg_fail(1)) SWIG_fail
;
19181 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19182 if (SWIG_arg_fail(2)) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 (arg1
)->SetRecordDefaults(arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 Py_INCREF(Py_None
); resultobj
= Py_None
;
19199 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= NULL
;
19201 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19210 if (SWIG_arg_fail(1)) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19227 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
= NULL
;
19229 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19230 wxString
*arg2
= 0 ;
19232 bool temp2
= false ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self",(char *) "str", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19241 if (SWIG_arg_fail(1)) SWIG_fail
;
19243 arg2
= wxString_in_helper(obj1
);
19244 if (arg2
== NULL
) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19275 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
= NULL
;
19277 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "self", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19286 if (SWIG_arg_fail(1)) SWIG_fail
;
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19307 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
= NULL
;
19309 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19311 PyObject
* obj0
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19318 if (SWIG_arg_fail(1)) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19339 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
= NULL
;
19341 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19342 wxString
*arg2
= 0 ;
19343 bool temp2
= false ;
19344 PyObject
* obj0
= 0 ;
19345 PyObject
* obj1
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "self",(char *) "appName", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19352 if (SWIG_arg_fail(1)) SWIG_fail
;
19354 arg2
= wxString_in_helper(obj1
);
19355 if (arg2
== NULL
) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->SetAppName((wxString
const &)*arg2
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 Py_INCREF(Py_None
); resultobj
= Py_None
;
19380 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
= NULL
;
19382 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19383 wxString
*arg2
= 0 ;
19384 bool temp2
= false ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self",(char *) "vendorName", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19393 if (SWIG_arg_fail(1)) SWIG_fail
;
19395 arg2
= wxString_in_helper(obj1
);
19396 if (arg2
== NULL
) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
= NULL
;
19423 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "style", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19433 if (SWIG_arg_fail(1)) SWIG_fail
;
19435 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19436 if (SWIG_arg_fail(2)) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 (arg1
)->SetStyle(arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 Py_INCREF(Py_None
); resultobj
= Py_None
;
19452 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
= NULL
;
19454 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19463 if (SWIG_arg_fail(1)) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_From_long(static_cast<long >(result
));
19480 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19483 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19485 return Py_BuildValue((char *)"");
19487 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
= NULL
;
19489 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19490 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19491 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19492 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19495 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19496 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19497 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19499 bool temp1
= false ;
19500 bool temp2
= false ;
19501 bool temp3
= false ;
19502 bool temp4
= false ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 PyObject
* obj2
= 0 ;
19506 PyObject
* obj3
= 0 ;
19507 PyObject
* obj4
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19515 arg1
= wxString_in_helper(obj0
);
19516 if (arg1
== NULL
) SWIG_fail
;
19522 arg2
= wxString_in_helper(obj1
);
19523 if (arg2
== NULL
) SWIG_fail
;
19529 arg3
= wxString_in_helper(obj2
);
19530 if (arg3
== NULL
) SWIG_fail
;
19536 arg4
= wxString_in_helper(obj3
);
19537 if (arg4
== NULL
) SWIG_fail
;
19543 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19544 if (SWIG_arg_fail(5)) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19593 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
= NULL
;
19595 wxConfig
*arg1
= (wxConfig
*) 0 ;
19596 PyObject
* obj0
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19603 if (SWIG_arg_fail(1)) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 Py_INCREF(Py_None
); resultobj
= Py_None
;
19618 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19621 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19623 return Py_BuildValue((char *)"");
19625 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
= NULL
;
19627 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19628 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19629 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19630 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19631 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19632 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19633 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19634 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19635 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19636 wxFileConfig
*result
;
19637 bool temp1
= false ;
19638 bool temp2
= false ;
19639 bool temp3
= false ;
19640 bool temp4
= false ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 PyObject
* obj2
= 0 ;
19644 PyObject
* obj3
= 0 ;
19645 PyObject
* obj4
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19653 arg1
= wxString_in_helper(obj0
);
19654 if (arg1
== NULL
) SWIG_fail
;
19660 arg2
= wxString_in_helper(obj1
);
19661 if (arg2
== NULL
) SWIG_fail
;
19667 arg3
= wxString_in_helper(obj2
);
19668 if (arg3
== NULL
) SWIG_fail
;
19674 arg4
= wxString_in_helper(obj3
);
19675 if (arg4
== NULL
) SWIG_fail
;
19681 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19682 if (SWIG_arg_fail(5)) SWIG_fail
;
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19731 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
= NULL
;
19733 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19741 if (SWIG_arg_fail(1)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 Py_INCREF(Py_None
); resultobj
= Py_None
;
19756 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19759 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19761 return Py_BuildValue((char *)"");
19763 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
= NULL
;
19765 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19766 wxString
*arg2
= 0 ;
19767 wxConfigPathChanger
*result
;
19768 bool temp2
= false ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "config",(char *) "entry", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19777 if (SWIG_arg_fail(1)) SWIG_fail
;
19779 arg2
= wxString_in_helper(obj1
);
19780 if (arg2
== NULL
) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19805 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
= NULL
;
19807 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19815 if (SWIG_arg_fail(1)) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 Py_INCREF(Py_None
); resultobj
= Py_None
;
19830 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
= NULL
;
19832 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19841 if (SWIG_arg_fail(1)) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19846 result
= (wxString
*) &_result_ref
;
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19856 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19865 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19868 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19870 return Py_BuildValue((char *)"");
19872 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
= NULL
;
19874 wxString
*arg1
= 0 ;
19876 bool temp1
= false ;
19877 PyObject
* obj0
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "sz", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19884 arg1
= wxString_in_helper(obj0
);
19885 if (arg1
== NULL
) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19916 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19917 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19922 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19923 PyObject
*pyobj
= NULL
;
19927 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19929 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19936 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19937 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19942 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19943 PyObject
*pyobj
= NULL
;
19947 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19949 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19956 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
= NULL
;
19958 wxDateTime::Country arg1
;
19959 PyObject
* obj0
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "country", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19966 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
19967 if (SWIG_arg_fail(1)) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 wxDateTime::SetCountry(arg1
);
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 Py_INCREF(Py_None
); resultobj
= Py_None
;
19983 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
= NULL
;
19985 wxDateTime::Country result
;
19986 char *kwnames
[] = {
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= SWIG_From_int((result
));
20005 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
= NULL
;
20007 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "country", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
20017 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20018 if (SWIG_arg_fail(1)) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20037 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
= NULL
;
20039 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20041 PyObject
* obj0
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "cal", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
20049 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20050 if (SWIG_arg_fail(1)) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 result
= (int)wxDateTime::GetCurrentYear(arg1
);
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_From_int(static_cast<int >(result
));
20069 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
= NULL
;
20073 PyObject
* obj0
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "year", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20080 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20081 if (SWIG_arg_fail(1)) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= SWIG_From_int(static_cast<int >(result
));
20099 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
= NULL
;
20101 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20102 wxDateTime::Month result
;
20103 PyObject
* obj0
= 0 ;
20104 char *kwnames
[] = {
20105 (char *) "cal", NULL
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20111 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20112 if (SWIG_arg_fail(1)) SWIG_fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= SWIG_From_int((result
));
20129 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
= NULL
;
20131 int arg1
= (int) wxDateTime::Inv_Year
;
20132 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20134 PyObject
* obj0
= 0 ;
20135 PyObject
* obj1
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "year",(char *) "cal", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20143 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20144 if (SWIG_arg_fail(1)) SWIG_fail
;
20149 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20150 if (SWIG_arg_fail(2)) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20169 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= NULL
;
20171 int arg1
= (int) wxDateTime::Inv_Year
;
20173 PyObject
* obj0
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "year", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20181 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20182 if (SWIG_arg_fail(1)) SWIG_fail
;
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 result
= (int)wxDateTime::GetCentury(arg1
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= SWIG_From_int(static_cast<int >(result
));
20201 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
= NULL
;
20204 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "year",(char *) "cal", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20214 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20215 if (SWIG_arg_fail(1)) SWIG_fail
;
20219 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20220 if (SWIG_arg_fail(2)) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_From_int(static_cast<int >(result
));
20239 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
= NULL
;
20241 wxDateTime::Month arg1
;
20242 int arg2
= (int) wxDateTime::Inv_Year
;
20243 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20247 PyObject
* obj2
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "month",(char *) "year",(char *) "cal", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20254 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20255 if (SWIG_arg_fail(1)) SWIG_fail
;
20259 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20260 if (SWIG_arg_fail(2)) SWIG_fail
;
20265 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20266 if (SWIG_arg_fail(3)) SWIG_fail
;
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_From_int(static_cast<int >(result
));
20285 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
= NULL
;
20287 wxDateTime::Month arg1
;
20288 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20290 PyObject
* obj0
= 0 ;
20291 PyObject
* obj1
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "month",(char *) "flags", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20298 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20299 if (SWIG_arg_fail(1)) SWIG_fail
;
20303 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20304 if (SWIG_arg_fail(2)) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20327 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
= NULL
;
20329 wxDateTime::WeekDay arg1
;
20330 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20332 PyObject
* obj0
= 0 ;
20333 PyObject
* obj1
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "weekday",(char *) "flags", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20340 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20341 if (SWIG_arg_fail(1)) SWIG_fail
;
20345 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20346 if (SWIG_arg_fail(2)) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20369 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
= NULL
;
20372 char *kwnames
[] = {
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= result
;
20391 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
= NULL
;
20393 int arg1
= (int) wxDateTime::Inv_Year
;
20394 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20396 PyObject
* obj0
= 0 ;
20397 PyObject
* obj1
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "year",(char *) "country", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20405 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20406 if (SWIG_arg_fail(1)) SWIG_fail
;
20411 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20412 if (SWIG_arg_fail(2)) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20431 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
= NULL
;
20433 int arg1
= (int) wxDateTime::Inv_Year
;
20434 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "year",(char *) "country", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20445 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20446 if (SWIG_arg_fail(1)) SWIG_fail
;
20451 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20452 if (SWIG_arg_fail(2)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 wxDateTime
* resultptr
;
20464 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20473 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
= NULL
;
20475 int arg1
= (int) wxDateTime::Inv_Year
;
20476 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "year",(char *) "country", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20487 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20488 if (SWIG_arg_fail(1)) SWIG_fail
;
20493 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20494 if (SWIG_arg_fail(2)) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20505 wxDateTime
* resultptr
;
20506 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20515 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
= NULL
;
20518 char *kwnames
[] = {
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= wxDateTime::Now();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20531 wxDateTime
* resultptr
;
20532 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20541 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
= NULL
;
20544 char *kwnames
[] = {
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= wxDateTime::UNow();
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20557 wxDateTime
* resultptr
;
20558 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20567 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
= NULL
;
20570 char *kwnames
[] = {
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 result
= wxDateTime::Today();
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20583 wxDateTime
* resultptr
;
20584 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20593 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
= NULL
;
20595 wxDateTime
*result
;
20596 char *kwnames
[] = {
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= (wxDateTime
*)new wxDateTime();
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20615 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
= NULL
;
20618 wxDateTime
*result
;
20619 PyObject
* obj0
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "timet", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20626 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20627 if (SWIG_arg_fail(1)) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (wxDateTime
*)new wxDateTime(arg1
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20643 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
= NULL
;
20646 wxDateTime
*result
;
20647 PyObject
* obj0
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "jdn", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20654 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20655 if (SWIG_arg_fail(1)) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 result
= (wxDateTime
*)new wxDateTime(arg1
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20671 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
= NULL
;
20674 int arg2
= (int) 0 ;
20675 int arg3
= (int) 0 ;
20676 int arg4
= (int) 0 ;
20677 wxDateTime
*result
;
20678 PyObject
* obj0
= 0 ;
20679 PyObject
* obj1
= 0 ;
20680 PyObject
* obj2
= 0 ;
20681 PyObject
* obj3
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20688 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20689 if (SWIG_arg_fail(1)) SWIG_fail
;
20693 arg2
= static_cast<int >(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
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20723 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
= NULL
;
20726 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20727 int arg3
= (int) wxDateTime::Inv_Year
;
20728 int arg4
= (int) 0 ;
20729 int arg5
= (int) 0 ;
20730 int arg6
= (int) 0 ;
20731 int arg7
= (int) 0 ;
20732 wxDateTime
*result
;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 PyObject
* obj2
= 0 ;
20736 PyObject
* obj3
= 0 ;
20737 PyObject
* obj4
= 0 ;
20738 PyObject
* obj5
= 0 ;
20739 PyObject
* obj6
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20746 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20747 if (SWIG_arg_fail(1)) SWIG_fail
;
20751 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20752 if (SWIG_arg_fail(2)) SWIG_fail
;
20757 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20758 if (SWIG_arg_fail(3)) SWIG_fail
;
20763 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20764 if (SWIG_arg_fail(4)) SWIG_fail
;
20769 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20770 if (SWIG_arg_fail(5)) SWIG_fail
;
20775 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20776 if (SWIG_arg_fail(6)) SWIG_fail
;
20781 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20782 if (SWIG_arg_fail(7)) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20799 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
= NULL
;
20801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20802 PyObject
* obj0
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20809 if (SWIG_arg_fail(1)) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20817 Py_INCREF(Py_None
); resultobj
= Py_None
;
20824 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
= NULL
;
20826 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20827 wxDateTime
*result
;
20828 PyObject
* obj0
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20835 if (SWIG_arg_fail(1)) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20840 result
= (wxDateTime
*) &_result_ref
;
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20853 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
= NULL
;
20855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20857 wxDateTime
*result
;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self",(char *) "timet", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20866 if (SWIG_arg_fail(1)) SWIG_fail
;
20868 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20869 if (SWIG_arg_fail(2)) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20875 result
= (wxDateTime
*) &_result_ref
;
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20888 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
= NULL
;
20890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20892 wxDateTime
*result
;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self",(char *) "jdn", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20901 if (SWIG_arg_fail(1)) SWIG_fail
;
20903 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20904 if (SWIG_arg_fail(2)) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20910 result
= (wxDateTime
*) &_result_ref
;
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20923 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
= NULL
;
20925 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20927 int arg3
= (int) 0 ;
20928 int arg4
= (int) 0 ;
20929 int arg5
= (int) 0 ;
20930 wxDateTime
*result
;
20931 PyObject
* obj0
= 0 ;
20932 PyObject
* obj1
= 0 ;
20933 PyObject
* obj2
= 0 ;
20934 PyObject
* obj3
= 0 ;
20935 PyObject
* obj4
= 0 ;
20936 char *kwnames
[] = {
20937 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20942 if (SWIG_arg_fail(1)) SWIG_fail
;
20944 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20945 if (SWIG_arg_fail(2)) SWIG_fail
;
20949 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20950 if (SWIG_arg_fail(3)) SWIG_fail
;
20955 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20956 if (SWIG_arg_fail(4)) SWIG_fail
;
20961 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20962 if (SWIG_arg_fail(5)) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20969 result
= (wxDateTime
*) &_result_ref
;
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20982 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
= NULL
;
20984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20986 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20987 int arg4
= (int) wxDateTime::Inv_Year
;
20988 int arg5
= (int) 0 ;
20989 int arg6
= (int) 0 ;
20990 int arg7
= (int) 0 ;
20991 int arg8
= (int) 0 ;
20992 wxDateTime
*result
;
20993 PyObject
* obj0
= 0 ;
20994 PyObject
* obj1
= 0 ;
20995 PyObject
* obj2
= 0 ;
20996 PyObject
* obj3
= 0 ;
20997 PyObject
* obj4
= 0 ;
20998 PyObject
* obj5
= 0 ;
20999 PyObject
* obj6
= 0 ;
21000 PyObject
* obj7
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21010 if (SWIG_arg_fail(2)) SWIG_fail
;
21014 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21015 if (SWIG_arg_fail(3)) SWIG_fail
;
21020 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21021 if (SWIG_arg_fail(4)) SWIG_fail
;
21026 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21027 if (SWIG_arg_fail(5)) SWIG_fail
;
21032 arg6
= static_cast<int >(SWIG_As_int(obj5
));
21033 if (SWIG_arg_fail(6)) SWIG_fail
;
21038 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21039 if (SWIG_arg_fail(7)) SWIG_fail
;
21044 arg8
= static_cast<int >(SWIG_As_int(obj7
));
21045 if (SWIG_arg_fail(8)) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
21052 result
= (wxDateTime
*) &_result_ref
;
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21065 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
= NULL
;
21067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21068 wxDateTime
*result
;
21069 PyObject
* obj0
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "self", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21076 if (SWIG_arg_fail(1)) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21081 result
= (wxDateTime
*) &_result_ref
;
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21094 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
= NULL
;
21096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21098 wxDateTime
*result
;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self",(char *) "year", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21107 if (SWIG_arg_fail(1)) SWIG_fail
;
21109 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21110 if (SWIG_arg_fail(2)) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21116 result
= (wxDateTime
*) &_result_ref
;
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21129 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
= NULL
;
21131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21132 wxDateTime::Month arg2
;
21133 wxDateTime
*result
;
21134 PyObject
* obj0
= 0 ;
21135 PyObject
* obj1
= 0 ;
21136 char *kwnames
[] = {
21137 (char *) "self",(char *) "month", NULL
21140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21142 if (SWIG_arg_fail(1)) SWIG_fail
;
21144 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21145 if (SWIG_arg_fail(2)) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21151 result
= (wxDateTime
*) &_result_ref
;
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21164 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
= NULL
;
21166 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21168 wxDateTime
*result
;
21169 PyObject
* obj0
= 0 ;
21170 PyObject
* obj1
= 0 ;
21171 char *kwnames
[] = {
21172 (char *) "self",(char *) "day", NULL
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21177 if (SWIG_arg_fail(1)) SWIG_fail
;
21179 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21180 if (SWIG_arg_fail(2)) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21186 result
= (wxDateTime
*) &_result_ref
;
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21199 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
= NULL
;
21201 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21203 wxDateTime
*result
;
21204 PyObject
* obj0
= 0 ;
21205 PyObject
* obj1
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self",(char *) "hour", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21212 if (SWIG_arg_fail(1)) SWIG_fail
;
21214 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21215 if (SWIG_arg_fail(2)) SWIG_fail
;
21218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21221 result
= (wxDateTime
*) &_result_ref
;
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21234 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
= NULL
;
21236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21238 wxDateTime
*result
;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self",(char *) "minute", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21247 if (SWIG_arg_fail(1)) SWIG_fail
;
21249 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21250 if (SWIG_arg_fail(2)) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21256 result
= (wxDateTime
*) &_result_ref
;
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21269 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
= NULL
;
21271 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21273 wxDateTime
*result
;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "self",(char *) "second", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21282 if (SWIG_arg_fail(1)) SWIG_fail
;
21284 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21285 if (SWIG_arg_fail(2)) SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21291 result
= (wxDateTime
*) &_result_ref
;
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21304 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
= NULL
;
21306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21308 wxDateTime
*result
;
21309 PyObject
* obj0
= 0 ;
21310 PyObject
* obj1
= 0 ;
21311 char *kwnames
[] = {
21312 (char *) "self",(char *) "millisecond", NULL
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21317 if (SWIG_arg_fail(1)) SWIG_fail
;
21319 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21320 if (SWIG_arg_fail(2)) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21326 result
= (wxDateTime
*) &_result_ref
;
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21339 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
= NULL
;
21341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21342 wxDateTime::WeekDay arg2
;
21343 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21344 wxDateTime
*result
;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 PyObject
* obj2
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21354 if (SWIG_arg_fail(1)) SWIG_fail
;
21356 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21357 if (SWIG_arg_fail(2)) SWIG_fail
;
21361 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21362 if (SWIG_arg_fail(3)) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21369 result
= (wxDateTime
*) &_result_ref
;
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21382 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
= NULL
;
21384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21385 wxDateTime::WeekDay arg2
;
21386 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21388 PyObject
* obj0
= 0 ;
21389 PyObject
* obj1
= 0 ;
21390 PyObject
* obj2
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21397 if (SWIG_arg_fail(1)) SWIG_fail
;
21399 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21400 if (SWIG_arg_fail(2)) SWIG_fail
;
21404 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21405 if (SWIG_arg_fail(3)) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21416 wxDateTime
* resultptr
;
21417 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21426 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
= NULL
;
21428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21429 wxDateTime::WeekDay arg2
;
21430 wxDateTime
*result
;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self",(char *) "weekday", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21439 if (SWIG_arg_fail(1)) SWIG_fail
;
21441 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21442 if (SWIG_arg_fail(2)) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21448 result
= (wxDateTime
*) &_result_ref
;
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21461 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
= NULL
;
21463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21464 wxDateTime::WeekDay arg2
;
21466 PyObject
* obj0
= 0 ;
21467 PyObject
* obj1
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "self",(char *) "weekday", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21474 if (SWIG_arg_fail(1)) SWIG_fail
;
21476 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21477 if (SWIG_arg_fail(2)) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (arg1
)->GetNextWeekDay(arg2
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21487 wxDateTime
* resultptr
;
21488 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21497 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
= NULL
;
21499 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21500 wxDateTime::WeekDay arg2
;
21501 wxDateTime
*result
;
21502 PyObject
* obj0
= 0 ;
21503 PyObject
* obj1
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self",(char *) "weekday", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21510 if (SWIG_arg_fail(1)) SWIG_fail
;
21512 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21513 if (SWIG_arg_fail(2)) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21519 result
= (wxDateTime
*) &_result_ref
;
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21532 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
= NULL
;
21534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21535 wxDateTime::WeekDay arg2
;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "weekday", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail
;
21547 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21548 if (SWIG_arg_fail(2)) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 result
= (arg1
)->GetPrevWeekDay(arg2
);
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21558 wxDateTime
* resultptr
;
21559 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21568 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
= NULL
;
21570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21571 wxDateTime::WeekDay arg2
;
21572 int arg3
= (int) 1 ;
21573 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21574 int arg5
= (int) wxDateTime::Inv_Year
;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj2
= 0 ;
21579 PyObject
* obj3
= 0 ;
21580 PyObject
* obj4
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21587 if (SWIG_arg_fail(1)) SWIG_fail
;
21589 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21590 if (SWIG_arg_fail(2)) SWIG_fail
;
21594 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21595 if (SWIG_arg_fail(3)) SWIG_fail
;
21600 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21601 if (SWIG_arg_fail(4)) SWIG_fail
;
21606 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21607 if (SWIG_arg_fail(5)) SWIG_fail
;
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21626 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
= NULL
;
21628 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21629 wxDateTime::WeekDay arg2
;
21630 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21631 int arg4
= (int) wxDateTime::Inv_Year
;
21633 PyObject
* obj0
= 0 ;
21634 PyObject
* obj1
= 0 ;
21635 PyObject
* obj2
= 0 ;
21636 PyObject
* obj3
= 0 ;
21637 char *kwnames
[] = {
21638 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21643 if (SWIG_arg_fail(1)) SWIG_fail
;
21645 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21646 if (SWIG_arg_fail(2)) SWIG_fail
;
21650 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21651 if (SWIG_arg_fail(3)) SWIG_fail
;
21656 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21657 if (SWIG_arg_fail(4)) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21676 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
= NULL
;
21678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21679 wxDateTime::WeekDay arg2
;
21680 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21681 int arg4
= (int) wxDateTime::Inv_Year
;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 PyObject
* obj2
= 0 ;
21686 PyObject
* obj3
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21693 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21696 if (SWIG_arg_fail(2)) SWIG_fail
;
21700 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21701 if (SWIG_arg_fail(3)) SWIG_fail
;
21706 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21707 if (SWIG_arg_fail(4)) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21718 wxDateTime
* resultptr
;
21719 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21728 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
= NULL
;
21730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21732 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21733 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21735 PyObject
* obj0
= 0 ;
21736 PyObject
* obj1
= 0 ;
21737 PyObject
* obj2
= 0 ;
21738 PyObject
* obj3
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21745 if (SWIG_arg_fail(1)) SWIG_fail
;
21747 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21748 if (SWIG_arg_fail(2)) SWIG_fail
;
21752 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21753 if (SWIG_arg_fail(3)) SWIG_fail
;
21758 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21759 if (SWIG_arg_fail(4)) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21778 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
= NULL
;
21780 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21782 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21783 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21785 PyObject
* obj0
= 0 ;
21786 PyObject
* obj1
= 0 ;
21787 PyObject
* obj2
= 0 ;
21788 PyObject
* obj3
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21795 if (SWIG_arg_fail(1)) SWIG_fail
;
21797 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21798 if (SWIG_arg_fail(2)) SWIG_fail
;
21802 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21803 if (SWIG_arg_fail(3)) SWIG_fail
;
21808 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21809 if (SWIG_arg_fail(4)) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 wxDateTime
* resultptr
;
21821 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21830 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
= NULL
;
21834 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 PyObject
* obj2
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21845 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21846 if (SWIG_arg_fail(1)) SWIG_fail
;
21849 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21850 if (SWIG_arg_fail(2)) SWIG_fail
;
21854 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21855 if (SWIG_arg_fail(3)) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21866 wxDateTime
* resultptr
;
21867 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21876 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
= NULL
;
21878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21879 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21880 int arg3
= (int) wxDateTime::Inv_Year
;
21881 wxDateTime
*result
;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 PyObject
* obj2
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "month",(char *) "year", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21891 if (SWIG_arg_fail(1)) SWIG_fail
;
21894 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21895 if (SWIG_arg_fail(2)) SWIG_fail
;
21900 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21901 if (SWIG_arg_fail(3)) SWIG_fail
;
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21908 result
= (wxDateTime
*) &_result_ref
;
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21921 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
= NULL
;
21923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21924 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21925 int arg3
= (int) wxDateTime::Inv_Year
;
21927 PyObject
* obj0
= 0 ;
21928 PyObject
* obj1
= 0 ;
21929 PyObject
* obj2
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self",(char *) "month",(char *) "year", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21936 if (SWIG_arg_fail(1)) SWIG_fail
;
21939 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21940 if (SWIG_arg_fail(2)) SWIG_fail
;
21945 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21946 if (SWIG_arg_fail(3)) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21957 wxDateTime
* resultptr
;
21958 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21967 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
= NULL
;
21969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21971 wxDateTime
*result
;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self",(char *) "yday", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21980 if (SWIG_arg_fail(1)) SWIG_fail
;
21982 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21983 if (SWIG_arg_fail(2)) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21989 result
= (wxDateTime
*) &_result_ref
;
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22002 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
= NULL
;
22004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "self",(char *) "yday", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22015 if (SWIG_arg_fail(1)) SWIG_fail
;
22017 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22018 if (SWIG_arg_fail(2)) SWIG_fail
;
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 result
= (arg1
)->GetYearDay(arg2
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22028 wxDateTime
* resultptr
;
22029 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22038 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
= NULL
;
22040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22042 PyObject
* obj0
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22049 if (SWIG_arg_fail(1)) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (double)(arg1
)->GetJulianDayNumber();
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= SWIG_From_double(static_cast<double >(result
));
22066 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
= NULL
;
22068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22077 if (SWIG_arg_fail(1)) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= (double)(arg1
)->GetJDN();
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_From_double(static_cast<double >(result
));
22094 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
= NULL
;
22096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= SWIG_From_double(static_cast<double >(result
));
22122 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
= NULL
;
22124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22133 if (SWIG_arg_fail(1)) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (double)(arg1
)->GetMJD();
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= SWIG_From_double(static_cast<double >(result
));
22150 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
= NULL
;
22152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (double)(arg1
)->GetRataDie();
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_From_double(static_cast<double >(result
));
22178 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
= NULL
;
22180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22181 wxDateTime::TimeZone
*arg2
= 0 ;
22182 bool arg3
= (bool) false ;
22184 bool temp2
= false ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 PyObject
* obj2
= 0 ;
22188 char *kwnames
[] = {
22189 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22194 if (SWIG_arg_fail(1)) SWIG_fail
;
22196 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22201 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22202 if (SWIG_arg_fail(3)) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22213 wxDateTime
* resultptr
;
22214 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22218 if (temp2
) delete arg2
;
22223 if (temp2
) delete arg2
;
22229 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
= NULL
;
22231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22232 wxDateTime::TimeZone
*arg2
= 0 ;
22233 bool arg3
= (bool) false ;
22234 wxDateTime
*result
;
22235 bool temp2
= false ;
22236 PyObject
* obj0
= 0 ;
22237 PyObject
* obj1
= 0 ;
22238 PyObject
* obj2
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22245 if (SWIG_arg_fail(1)) SWIG_fail
;
22247 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22252 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22253 if (SWIG_arg_fail(3)) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22260 result
= (wxDateTime
*) &_result_ref
;
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22268 if (temp2
) delete arg2
;
22273 if (temp2
) delete arg2
;
22279 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
= NULL
;
22281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22282 wxDateTime::TimeZone
*arg2
= 0 ;
22283 bool arg3
= (bool) false ;
22285 bool temp2
= false ;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22288 PyObject
* obj2
= 0 ;
22289 char *kwnames
[] = {
22290 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22295 if (SWIG_arg_fail(1)) SWIG_fail
;
22297 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22302 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22303 if (SWIG_arg_fail(3)) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 wxDateTime
* resultptr
;
22315 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22319 if (temp2
) delete arg2
;
22324 if (temp2
) delete arg2
;
22330 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
= NULL
;
22332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22333 wxDateTime::TimeZone
*arg2
= 0 ;
22334 bool arg3
= (bool) false ;
22335 wxDateTime
*result
;
22336 bool temp2
= false ;
22337 PyObject
* obj0
= 0 ;
22338 PyObject
* obj1
= 0 ;
22339 PyObject
* obj2
= 0 ;
22340 char *kwnames
[] = {
22341 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22346 if (SWIG_arg_fail(1)) SWIG_fail
;
22348 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22353 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22354 if (SWIG_arg_fail(3)) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22361 result
= (wxDateTime
*) &_result_ref
;
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22369 if (temp2
) delete arg2
;
22374 if (temp2
) delete arg2
;
22380 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
= NULL
;
22382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22383 bool arg2
= (bool) false ;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self",(char *) "noDST", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22393 if (SWIG_arg_fail(1)) SWIG_fail
;
22396 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22397 if (SWIG_arg_fail(2)) SWIG_fail
;
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22408 wxDateTime
* resultptr
;
22409 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22418 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
= NULL
;
22420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22421 bool arg2
= (bool) false ;
22422 wxDateTime
*result
;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self",(char *) "noDST", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22431 if (SWIG_arg_fail(1)) SWIG_fail
;
22434 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22435 if (SWIG_arg_fail(2)) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22442 result
= (wxDateTime
*) &_result_ref
;
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22455 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
= NULL
;
22457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22458 bool arg2
= (bool) false ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self",(char *) "noDST", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22468 if (SWIG_arg_fail(1)) SWIG_fail
;
22471 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22472 if (SWIG_arg_fail(2)) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22483 wxDateTime
* resultptr
;
22484 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22493 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
= NULL
;
22495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22496 bool arg2
= (bool) false ;
22497 wxDateTime
*result
;
22498 PyObject
* obj0
= 0 ;
22499 PyObject
* obj1
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self",(char *) "noDST", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22506 if (SWIG_arg_fail(1)) SWIG_fail
;
22509 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22510 if (SWIG_arg_fail(2)) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22517 result
= (wxDateTime
*) &_result_ref
;
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22530 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22531 PyObject
*resultobj
= NULL
;
22532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22533 bool arg2
= (bool) false ;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22537 char *kwnames
[] = {
22538 (char *) "self",(char *) "noDST", NULL
22541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22543 if (SWIG_arg_fail(1)) SWIG_fail
;
22546 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22547 if (SWIG_arg_fail(2)) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 wxDateTime
* resultptr
;
22559 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22568 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
= NULL
;
22570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22571 bool arg2
= (bool) false ;
22572 wxDateTime
*result
;
22573 PyObject
* obj0
= 0 ;
22574 PyObject
* obj1
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self",(char *) "noDST", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22581 if (SWIG_arg_fail(1)) SWIG_fail
;
22584 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22585 if (SWIG_arg_fail(2)) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22592 result
= (wxDateTime
*) &_result_ref
;
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22605 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
= NULL
;
22607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22608 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22610 PyObject
* obj0
= 0 ;
22611 PyObject
* obj1
= 0 ;
22612 char *kwnames
[] = {
22613 (char *) "self",(char *) "country", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22618 if (SWIG_arg_fail(1)) SWIG_fail
;
22621 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22622 if (SWIG_arg_fail(2)) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= (int)(arg1
)->IsDST(arg2
);
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= SWIG_From_int(static_cast<int >(result
));
22641 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
= NULL
;
22643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22669 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
= NULL
;
22671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22680 if (SWIG_arg_fail(1)) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22697 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
= NULL
;
22699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22700 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22701 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22703 bool temp2
= false ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self",(char *) "tz", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22712 if (SWIG_arg_fail(1)) SWIG_fail
;
22715 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= SWIG_From_int(static_cast<int >(result
));
22730 if (temp2
) delete arg2
;
22735 if (temp2
) delete arg2
;
22741 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
= NULL
;
22743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22744 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22745 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22746 wxDateTime::Month result
;
22747 bool temp2
= false ;
22748 PyObject
* obj0
= 0 ;
22749 PyObject
* obj1
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self",(char *) "tz", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22756 if (SWIG_arg_fail(1)) SWIG_fail
;
22759 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 resultobj
= SWIG_From_int((result
));
22772 if (temp2
) delete arg2
;
22777 if (temp2
) delete arg2
;
22783 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
= NULL
;
22785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22786 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22787 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22789 bool temp2
= false ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22792 char *kwnames
[] = {
22793 (char *) "self",(char *) "tz", NULL
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22798 if (SWIG_arg_fail(1)) SWIG_fail
;
22801 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= SWIG_From_int(static_cast<int >(result
));
22816 if (temp2
) delete arg2
;
22821 if (temp2
) delete arg2
;
22827 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
= NULL
;
22829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22830 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22831 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22832 wxDateTime::WeekDay result
;
22833 bool temp2
= false ;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "tz", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail
;
22845 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_From_int((result
));
22858 if (temp2
) delete arg2
;
22863 if (temp2
) delete arg2
;
22869 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
= NULL
;
22871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22872 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22873 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22875 bool temp2
= false ;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self",(char *) "tz", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22884 if (SWIG_arg_fail(1)) SWIG_fail
;
22887 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22899 resultobj
= SWIG_From_int(static_cast<int >(result
));
22902 if (temp2
) delete arg2
;
22907 if (temp2
) delete arg2
;
22913 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22914 PyObject
*resultobj
= NULL
;
22915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22916 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22917 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22919 bool temp2
= false ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self",(char *) "tz", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22928 if (SWIG_arg_fail(1)) SWIG_fail
;
22931 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_From_int(static_cast<int >(result
));
22946 if (temp2
) delete arg2
;
22951 if (temp2
) delete arg2
;
22957 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
= NULL
;
22959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22960 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22961 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22963 bool temp2
= false ;
22964 PyObject
* obj0
= 0 ;
22965 PyObject
* obj1
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self",(char *) "tz", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
22971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail
;
22975 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= SWIG_From_int(static_cast<int >(result
));
22990 if (temp2
) delete arg2
;
22995 if (temp2
) delete arg2
;
23001 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
= NULL
;
23003 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23004 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23005 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23007 bool temp2
= false ;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 char *kwnames
[] = {
23011 (char *) "self",(char *) "tz", NULL
23014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23016 if (SWIG_arg_fail(1)) SWIG_fail
;
23019 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= SWIG_From_int(static_cast<int >(result
));
23034 if (temp2
) delete arg2
;
23039 if (temp2
) delete arg2
;
23045 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
= NULL
;
23047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23048 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23049 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23051 bool temp2
= false ;
23052 PyObject
* obj0
= 0 ;
23053 PyObject
* obj1
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self",(char *) "tz", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23060 if (SWIG_arg_fail(1)) SWIG_fail
;
23063 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_From_int(static_cast<int >(result
));
23078 if (temp2
) delete arg2
;
23083 if (temp2
) delete arg2
;
23089 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
= NULL
;
23091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23092 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23093 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23094 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23096 bool temp3
= false ;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 PyObject
* obj2
= 0 ;
23100 char *kwnames
[] = {
23101 (char *) "self",(char *) "flags",(char *) "tz", NULL
23104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23106 if (SWIG_arg_fail(1)) SWIG_fail
;
23109 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23110 if (SWIG_arg_fail(2)) SWIG_fail
;
23115 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= SWIG_From_int(static_cast<int >(result
));
23130 if (temp3
) delete arg3
;
23135 if (temp3
) delete arg3
;
23141 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23142 PyObject
*resultobj
= NULL
;
23143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23144 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23145 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23146 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23148 bool temp3
= false ;
23149 PyObject
* obj0
= 0 ;
23150 PyObject
* obj1
= 0 ;
23151 PyObject
* obj2
= 0 ;
23152 char *kwnames
[] = {
23153 (char *) "self",(char *) "flags",(char *) "tz", NULL
23156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23158 if (SWIG_arg_fail(1)) SWIG_fail
;
23161 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23162 if (SWIG_arg_fail(2)) SWIG_fail
;
23167 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_From_int(static_cast<int >(result
));
23182 if (temp3
) delete arg3
;
23187 if (temp3
) delete arg3
;
23193 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
= NULL
;
23195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23196 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self",(char *) "country", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail
;
23209 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23210 if (SWIG_arg_fail(2)) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23229 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
= NULL
;
23231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23232 wxDateTime
*arg2
= 0 ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self",(char *) "datetime", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23242 if (SWIG_arg_fail(1)) SWIG_fail
;
23244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23245 if (SWIG_arg_fail(2)) SWIG_fail
;
23246 if (arg2
== NULL
) {
23247 SWIG_null_ref("wxDateTime");
23249 if (SWIG_arg_fail(2)) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23267 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
= NULL
;
23269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23270 wxDateTime
*arg2
= 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "datetime", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23283 if (SWIG_arg_fail(2)) SWIG_fail
;
23284 if (arg2
== NULL
) {
23285 SWIG_null_ref("wxDateTime");
23287 if (SWIG_arg_fail(2)) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23305 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
= NULL
;
23307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23308 wxDateTime
*arg2
= 0 ;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self",(char *) "datetime", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail
;
23320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23321 if (SWIG_arg_fail(2)) SWIG_fail
;
23322 if (arg2
== NULL
) {
23323 SWIG_null_ref("wxDateTime");
23325 if (SWIG_arg_fail(2)) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23343 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
= NULL
;
23345 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23346 wxDateTime
*arg2
= 0 ;
23347 wxDateTime
*arg3
= 0 ;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 PyObject
* obj2
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "self",(char *) "t1",(char *) "t2", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail
;
23360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23361 if (SWIG_arg_fail(2)) SWIG_fail
;
23362 if (arg2
== NULL
) {
23363 SWIG_null_ref("wxDateTime");
23365 if (SWIG_arg_fail(2)) SWIG_fail
;
23368 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23369 if (SWIG_arg_fail(3)) SWIG_fail
;
23370 if (arg3
== NULL
) {
23371 SWIG_null_ref("wxDateTime");
23373 if (SWIG_arg_fail(3)) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23391 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
= NULL
;
23393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23394 wxDateTime
*arg2
= 0 ;
23395 wxDateTime
*arg3
= 0 ;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 PyObject
* obj2
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self",(char *) "t1",(char *) "t2", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail
;
23408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23409 if (SWIG_arg_fail(2)) SWIG_fail
;
23410 if (arg2
== NULL
) {
23411 SWIG_null_ref("wxDateTime");
23413 if (SWIG_arg_fail(2)) SWIG_fail
;
23416 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23417 if (SWIG_arg_fail(3)) SWIG_fail
;
23418 if (arg3
== NULL
) {
23419 SWIG_null_ref("wxDateTime");
23421 if (SWIG_arg_fail(3)) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23439 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
= NULL
;
23441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23442 wxDateTime
*arg2
= 0 ;
23444 PyObject
* obj0
= 0 ;
23445 PyObject
* obj1
= 0 ;
23446 char *kwnames
[] = {
23447 (char *) "self",(char *) "dt", NULL
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23452 if (SWIG_arg_fail(1)) SWIG_fail
;
23454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23455 if (SWIG_arg_fail(2)) SWIG_fail
;
23456 if (arg2
== NULL
) {
23457 SWIG_null_ref("wxDateTime");
23459 if (SWIG_arg_fail(2)) SWIG_fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23477 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
= NULL
;
23479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23480 wxDateTime
*arg2
= 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self",(char *) "dt", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23490 if (SWIG_arg_fail(1)) SWIG_fail
;
23492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23493 if (SWIG_arg_fail(2)) SWIG_fail
;
23494 if (arg2
== NULL
) {
23495 SWIG_null_ref("wxDateTime");
23497 if (SWIG_arg_fail(2)) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23515 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
= NULL
;
23517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23518 wxDateTime
*arg2
= 0 ;
23519 wxTimeSpan
*arg3
= 0 ;
23521 PyObject
* obj0
= 0 ;
23522 PyObject
* obj1
= 0 ;
23523 PyObject
* obj2
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self",(char *) "dt",(char *) "ts", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23530 if (SWIG_arg_fail(1)) SWIG_fail
;
23532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23533 if (SWIG_arg_fail(2)) SWIG_fail
;
23534 if (arg2
== NULL
) {
23535 SWIG_null_ref("wxDateTime");
23537 if (SWIG_arg_fail(2)) SWIG_fail
;
23540 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23541 if (SWIG_arg_fail(3)) SWIG_fail
;
23542 if (arg3
== NULL
) {
23543 SWIG_null_ref("wxTimeSpan");
23545 if (SWIG_arg_fail(3)) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23563 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
= NULL
;
23565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23566 wxTimeSpan
*arg2
= 0 ;
23567 wxDateTime
*result
;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self",(char *) "diff", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23576 if (SWIG_arg_fail(1)) SWIG_fail
;
23578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23579 if (SWIG_arg_fail(2)) SWIG_fail
;
23580 if (arg2
== NULL
) {
23581 SWIG_null_ref("wxTimeSpan");
23583 if (SWIG_arg_fail(2)) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23589 result
= (wxDateTime
*) &_result_ref
;
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23602 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
= NULL
;
23604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23605 wxDateSpan
*arg2
= 0 ;
23606 wxDateTime
*result
;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self",(char *) "diff", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23615 if (SWIG_arg_fail(1)) SWIG_fail
;
23617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23618 if (SWIG_arg_fail(2)) SWIG_fail
;
23619 if (arg2
== NULL
) {
23620 SWIG_null_ref("wxDateSpan");
23622 if (SWIG_arg_fail(2)) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23628 result
= (wxDateTime
*) &_result_ref
;
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23641 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
= NULL
;
23643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23644 wxTimeSpan
*arg2
= 0 ;
23645 wxDateTime
*result
;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self",(char *) "diff", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail
;
23656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23657 if (SWIG_arg_fail(2)) SWIG_fail
;
23658 if (arg2
== NULL
) {
23659 SWIG_null_ref("wxTimeSpan");
23661 if (SWIG_arg_fail(2)) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23667 result
= (wxDateTime
*) &_result_ref
;
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23680 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
= NULL
;
23682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23683 wxDateSpan
*arg2
= 0 ;
23684 wxDateTime
*result
;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "diff", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23693 if (SWIG_arg_fail(1)) SWIG_fail
;
23695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23696 if (SWIG_arg_fail(2)) SWIG_fail
;
23697 if (arg2
== NULL
) {
23698 SWIG_null_ref("wxDateSpan");
23700 if (SWIG_arg_fail(2)) SWIG_fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23706 result
= (wxDateTime
*) &_result_ref
;
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23719 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
= NULL
;
23721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23722 wxDateTime
*arg2
= 0 ;
23724 PyObject
* obj0
= 0 ;
23725 PyObject
* obj1
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self",(char *) "dt", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail
;
23734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23735 if (SWIG_arg_fail(2)) SWIG_fail
;
23736 if (arg2
== NULL
) {
23737 SWIG_null_ref("wxDateTime");
23739 if (SWIG_arg_fail(2)) SWIG_fail
;
23742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23749 wxTimeSpan
* resultptr
;
23750 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23759 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23760 PyObject
*resultobj
= NULL
;
23761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23762 wxTimeSpan
*arg2
= 0 ;
23763 wxDateTime
*result
;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23767 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23769 if (SWIG_arg_fail(1)) SWIG_fail
;
23771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23772 if (SWIG_arg_fail(2)) SWIG_fail
;
23773 if (arg2
== NULL
) {
23774 SWIG_null_ref("wxTimeSpan");
23776 if (SWIG_arg_fail(2)) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23782 result
= (wxDateTime
*) &_result_ref
;
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23795 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23796 PyObject
*resultobj
= NULL
;
23797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23798 wxDateSpan
*arg2
= 0 ;
23799 wxDateTime
*result
;
23800 PyObject
* obj0
= 0 ;
23801 PyObject
* obj1
= 0 ;
23803 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23805 if (SWIG_arg_fail(1)) SWIG_fail
;
23807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23808 if (SWIG_arg_fail(2)) SWIG_fail
;
23809 if (arg2
== NULL
) {
23810 SWIG_null_ref("wxDateSpan");
23812 if (SWIG_arg_fail(2)) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23818 result
= (wxDateTime
*) &_result_ref
;
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23831 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23836 argc
= PyObject_Length(args
);
23837 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23838 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23844 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23854 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23862 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23870 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23880 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23888 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23893 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23898 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23899 PyObject
*resultobj
= NULL
;
23900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23901 wxTimeSpan
*arg2
= 0 ;
23902 wxDateTime
*result
;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23906 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23908 if (SWIG_arg_fail(1)) SWIG_fail
;
23910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23911 if (SWIG_arg_fail(2)) SWIG_fail
;
23912 if (arg2
== NULL
) {
23913 SWIG_null_ref("wxTimeSpan");
23915 if (SWIG_arg_fail(2)) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23921 result
= (wxDateTime
*) &_result_ref
;
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23934 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23935 PyObject
*resultobj
= NULL
;
23936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23937 wxDateSpan
*arg2
= 0 ;
23938 wxDateTime
*result
;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23942 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23944 if (SWIG_arg_fail(1)) SWIG_fail
;
23946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23947 if (SWIG_arg_fail(2)) SWIG_fail
;
23948 if (arg2
== NULL
) {
23949 SWIG_null_ref("wxDateSpan");
23951 if (SWIG_arg_fail(2)) SWIG_fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23957 result
= (wxDateTime
*) &_result_ref
;
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23970 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
23975 argc
= PyObject_Length(args
);
23976 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23977 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23983 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23993 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24001 return _wrap_DateTime___isub____SWIG_0(self
,args
);
24009 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24019 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24027 return _wrap_DateTime___isub____SWIG_1(self
,args
);
24032 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
24037 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
24038 PyObject
*resultobj
= NULL
;
24039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24040 wxTimeSpan
*arg2
= 0 ;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24045 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24047 if (SWIG_arg_fail(1)) SWIG_fail
;
24049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24050 if (SWIG_arg_fail(2)) SWIG_fail
;
24051 if (arg2
== NULL
) {
24052 SWIG_null_ref("wxTimeSpan");
24054 if (SWIG_arg_fail(2)) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 wxDateTime
* resultptr
;
24065 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24074 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24075 PyObject
*resultobj
= NULL
;
24076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24077 wxDateSpan
*arg2
= 0 ;
24079 PyObject
* obj0
= 0 ;
24080 PyObject
* obj1
= 0 ;
24082 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24084 if (SWIG_arg_fail(1)) SWIG_fail
;
24086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24087 if (SWIG_arg_fail(2)) SWIG_fail
;
24088 if (arg2
== NULL
) {
24089 SWIG_null_ref("wxDateSpan");
24091 if (SWIG_arg_fail(2)) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24101 wxDateTime
* resultptr
;
24102 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24111 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24116 argc
= PyObject_Length(args
);
24117 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24118 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24124 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24134 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24142 return _wrap_DateTime___add____SWIG_0(self
,args
);
24150 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24160 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24168 return _wrap_DateTime___add____SWIG_1(self
,args
);
24173 Py_INCREF(Py_NotImplemented
);
24174 return Py_NotImplemented
;
24178 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24179 PyObject
*resultobj
= NULL
;
24180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24181 wxDateTime
*arg2
= 0 ;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24186 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24188 if (SWIG_arg_fail(1)) SWIG_fail
;
24190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24191 if (SWIG_arg_fail(2)) SWIG_fail
;
24192 if (arg2
== NULL
) {
24193 SWIG_null_ref("wxDateTime");
24195 if (SWIG_arg_fail(2)) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 wxTimeSpan
* resultptr
;
24206 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24215 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24216 PyObject
*resultobj
= NULL
;
24217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24218 wxTimeSpan
*arg2
= 0 ;
24220 PyObject
* obj0
= 0 ;
24221 PyObject
* obj1
= 0 ;
24223 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24225 if (SWIG_arg_fail(1)) SWIG_fail
;
24227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24228 if (SWIG_arg_fail(2)) SWIG_fail
;
24229 if (arg2
== NULL
) {
24230 SWIG_null_ref("wxTimeSpan");
24232 if (SWIG_arg_fail(2)) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24242 wxDateTime
* resultptr
;
24243 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24252 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24253 PyObject
*resultobj
= NULL
;
24254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24255 wxDateSpan
*arg2
= 0 ;
24257 PyObject
* obj0
= 0 ;
24258 PyObject
* obj1
= 0 ;
24260 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24262 if (SWIG_arg_fail(1)) SWIG_fail
;
24264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24265 if (SWIG_arg_fail(2)) SWIG_fail
;
24266 if (arg2
== NULL
) {
24267 SWIG_null_ref("wxDateSpan");
24269 if (SWIG_arg_fail(2)) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24279 wxDateTime
* resultptr
;
24280 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24289 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24294 argc
= PyObject_Length(args
);
24295 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24296 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24302 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24312 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24320 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24328 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24338 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24346 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24354 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24364 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24372 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24377 Py_INCREF(Py_NotImplemented
);
24378 return Py_NotImplemented
;
24382 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
= NULL
;
24384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24385 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self",(char *) "other", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24395 if (SWIG_arg_fail(1)) SWIG_fail
;
24396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24397 if (SWIG_arg_fail(2)) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24414 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
= NULL
;
24416 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24417 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self",(char *) "other", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24427 if (SWIG_arg_fail(1)) SWIG_fail
;
24428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24429 if (SWIG_arg_fail(2)) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24446 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
= NULL
;
24448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24449 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24451 PyObject
* obj0
= 0 ;
24452 PyObject
* obj1
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "self",(char *) "other", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24459 if (SWIG_arg_fail(1)) SWIG_fail
;
24460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24461 if (SWIG_arg_fail(2)) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24478 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24479 PyObject
*resultobj
= NULL
;
24480 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24481 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self",(char *) "other", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24491 if (SWIG_arg_fail(1)) SWIG_fail
;
24492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24493 if (SWIG_arg_fail(2)) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24510 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
= NULL
;
24512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24513 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24515 PyObject
* obj0
= 0 ;
24516 PyObject
* obj1
= 0 ;
24517 char *kwnames
[] = {
24518 (char *) "self",(char *) "other", NULL
24521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24523 if (SWIG_arg_fail(1)) SWIG_fail
;
24524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24525 if (SWIG_arg_fail(2)) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24542 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
= NULL
;
24544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24545 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self",(char *) "other", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24555 if (SWIG_arg_fail(1)) SWIG_fail
;
24556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24557 if (SWIG_arg_fail(2)) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24574 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
= NULL
;
24576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24577 wxString
*arg2
= 0 ;
24579 bool temp2
= false ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "date", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail
;
24590 arg2
= wxString_in_helper(obj1
);
24591 if (arg2
== NULL
) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= SWIG_From_int(static_cast<int >(result
));
24618 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
= NULL
;
24620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24621 wxString
*arg2
= 0 ;
24622 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24623 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24624 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24625 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24627 bool temp2
= false ;
24628 bool temp3
= false ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 PyObject
* obj2
= 0 ;
24632 PyObject
* obj3
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24639 if (SWIG_arg_fail(1)) SWIG_fail
;
24641 arg2
= wxString_in_helper(obj1
);
24642 if (arg2
== NULL
) SWIG_fail
;
24647 arg3
= wxString_in_helper(obj2
);
24648 if (arg3
== NULL
) SWIG_fail
;
24654 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24655 if (SWIG_arg_fail(4)) SWIG_fail
;
24656 if (arg4
== NULL
) {
24657 SWIG_null_ref("wxDateTime");
24659 if (SWIG_arg_fail(4)) SWIG_fail
;
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= SWIG_From_int(static_cast<int >(result
));
24694 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
= NULL
;
24696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24697 wxString
*arg2
= 0 ;
24699 bool temp2
= false ;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self",(char *) "datetime", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24708 if (SWIG_arg_fail(1)) SWIG_fail
;
24710 arg2
= wxString_in_helper(obj1
);
24711 if (arg2
== NULL
) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_From_int(static_cast<int >(result
));
24738 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
= NULL
;
24740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24741 wxString
*arg2
= 0 ;
24743 bool temp2
= false ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "date", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24752 if (SWIG_arg_fail(1)) SWIG_fail
;
24754 arg2
= wxString_in_helper(obj1
);
24755 if (arg2
== NULL
) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= SWIG_From_int(static_cast<int >(result
));
24782 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
= NULL
;
24784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24785 wxString
*arg2
= 0 ;
24787 bool temp2
= false ;
24788 PyObject
* obj0
= 0 ;
24789 PyObject
* obj1
= 0 ;
24790 char *kwnames
[] = {
24791 (char *) "self",(char *) "time", NULL
24794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24796 if (SWIG_arg_fail(1)) SWIG_fail
;
24798 arg2
= wxString_in_helper(obj1
);
24799 if (arg2
== NULL
) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= SWIG_From_int(static_cast<int >(result
));
24826 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
= NULL
;
24828 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24829 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24830 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24831 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24832 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24834 bool temp2
= false ;
24835 bool temp3
= false ;
24836 PyObject
* obj0
= 0 ;
24837 PyObject
* obj1
= 0 ;
24838 PyObject
* obj2
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self",(char *) "format",(char *) "tz", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail
;
24848 arg2
= wxString_in_helper(obj1
);
24849 if (arg2
== NULL
) SWIG_fail
;
24855 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24878 if (temp3
) delete arg3
;
24887 if (temp3
) delete arg3
;
24893 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
= NULL
;
24895 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24904 if (SWIG_arg_fail(1)) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24925 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
= NULL
;
24927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24936 if (SWIG_arg_fail(1)) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= ((wxDateTime
const *)arg1
)->FormatTime();
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24957 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
= NULL
;
24959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24961 PyObject
* obj0
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
24967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24968 if (SWIG_arg_fail(1)) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24989 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
= NULL
;
24991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24993 PyObject
* obj0
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
24999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25000 if (SWIG_arg_fail(1)) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25021 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
25023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25024 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
25026 return Py_BuildValue((char *)"");
25028 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
= NULL
;
25032 PyObject
* obj0
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "sec", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",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::Seconds(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_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
= NULL
;
25063 char *kwnames
[] = {
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= wxTimeSpan::Second();
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_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
= NULL
;
25090 PyObject
* obj0
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "min", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",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::Minutes(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_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
= NULL
;
25121 char *kwnames
[] = {
25125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= wxTimeSpan::Minute();
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_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
= NULL
;
25148 PyObject
* obj0
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "hours", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",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::Hours(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_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
= NULL
;
25179 char *kwnames
[] = {
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= wxTimeSpan::Hour();
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_Days(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_Days",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::Days(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_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
= NULL
;
25237 char *kwnames
[] = {
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= wxTimeSpan::Day();
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_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
= NULL
;
25264 PyObject
* obj0
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "days", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25271 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25272 if (SWIG_arg_fail(1)) SWIG_fail
;
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 result
= wxTimeSpan::Weeks(arg1
);
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25282 wxTimeSpan
* resultptr
;
25283 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25292 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
= NULL
;
25295 char *kwnames
[] = {
25299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= wxTimeSpan::Week();
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25308 wxTimeSpan
* resultptr
;
25309 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25318 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
= NULL
;
25320 long arg1
= (long) 0 ;
25321 long arg2
= (long) 0 ;
25322 long arg3
= (long) 0 ;
25323 long arg4
= (long) 0 ;
25324 wxTimeSpan
*result
;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 PyObject
* obj2
= 0 ;
25328 PyObject
* obj3
= 0 ;
25329 char *kwnames
[] = {
25330 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25336 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25337 if (SWIG_arg_fail(1)) SWIG_fail
;
25342 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25343 if (SWIG_arg_fail(2)) SWIG_fail
;
25348 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25349 if (SWIG_arg_fail(3)) SWIG_fail
;
25354 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25355 if (SWIG_arg_fail(4)) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25372 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
= NULL
;
25374 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25375 PyObject
* obj0
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25382 if (SWIG_arg_fail(1)) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 Py_INCREF(Py_None
); resultobj
= Py_None
;
25397 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
= NULL
;
25399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25400 wxTimeSpan
*arg2
= 0 ;
25401 wxTimeSpan
*result
;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 char *kwnames
[] = {
25405 (char *) "self",(char *) "diff", NULL
25408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25410 if (SWIG_arg_fail(1)) SWIG_fail
;
25412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25413 if (SWIG_arg_fail(2)) SWIG_fail
;
25414 if (arg2
== NULL
) {
25415 SWIG_null_ref("wxTimeSpan");
25417 if (SWIG_arg_fail(2)) SWIG_fail
;
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25423 result
= (wxTimeSpan
*) &_result_ref
;
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25436 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
= NULL
;
25438 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25439 wxTimeSpan
*arg2
= 0 ;
25440 wxTimeSpan
*result
;
25441 PyObject
* obj0
= 0 ;
25442 PyObject
* obj1
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self",(char *) "diff", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25449 if (SWIG_arg_fail(1)) SWIG_fail
;
25451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25452 if (SWIG_arg_fail(2)) SWIG_fail
;
25453 if (arg2
== NULL
) {
25454 SWIG_null_ref("wxTimeSpan");
25456 if (SWIG_arg_fail(2)) SWIG_fail
;
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25462 result
= (wxTimeSpan
*) &_result_ref
;
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25475 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= NULL
;
25477 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25479 wxTimeSpan
*result
;
25480 PyObject
* obj0
= 0 ;
25481 PyObject
* obj1
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self",(char *) "n", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25488 if (SWIG_arg_fail(1)) SWIG_fail
;
25490 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25491 if (SWIG_arg_fail(2)) SWIG_fail
;
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25497 result
= (wxTimeSpan
*) &_result_ref
;
25500 wxPyEndAllowThreads(__tstate
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25510 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
= NULL
;
25512 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25513 wxTimeSpan
*result
;
25514 PyObject
* obj0
= 0 ;
25515 char *kwnames
[] = {
25516 (char *) "self", NULL
25519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25521 if (SWIG_arg_fail(1)) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25526 result
= (wxTimeSpan
*) &_result_ref
;
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25539 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
= NULL
;
25541 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25543 PyObject
* obj0
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25550 if (SWIG_arg_fail(1)) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 wxTimeSpan
* resultptr
;
25560 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25569 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
= NULL
;
25571 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25572 wxTimeSpan
*arg2
= 0 ;
25573 wxTimeSpan
*result
;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self",(char *) "diff", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25582 if (SWIG_arg_fail(1)) SWIG_fail
;
25584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25585 if (SWIG_arg_fail(2)) SWIG_fail
;
25586 if (arg2
== NULL
) {
25587 SWIG_null_ref("wxTimeSpan");
25589 if (SWIG_arg_fail(2)) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25595 result
= (wxTimeSpan
*) &_result_ref
;
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25608 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
= NULL
;
25610 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25611 wxTimeSpan
*arg2
= 0 ;
25612 wxTimeSpan
*result
;
25613 PyObject
* obj0
= 0 ;
25614 PyObject
* obj1
= 0 ;
25615 char *kwnames
[] = {
25616 (char *) "self",(char *) "diff", NULL
25619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25621 if (SWIG_arg_fail(1)) SWIG_fail
;
25623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25624 if (SWIG_arg_fail(2)) SWIG_fail
;
25625 if (arg2
== NULL
) {
25626 SWIG_null_ref("wxTimeSpan");
25628 if (SWIG_arg_fail(2)) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25634 result
= (wxTimeSpan
*) &_result_ref
;
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25647 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
= NULL
;
25649 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25651 wxTimeSpan
*result
;
25652 PyObject
* obj0
= 0 ;
25653 PyObject
* obj1
= 0 ;
25654 char *kwnames
[] = {
25655 (char *) "self",(char *) "n", NULL
25658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25660 if (SWIG_arg_fail(1)) SWIG_fail
;
25662 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25663 if (SWIG_arg_fail(2)) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25669 result
= (wxTimeSpan
*) &_result_ref
;
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25682 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
= NULL
;
25684 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25685 wxTimeSpan
*result
;
25686 PyObject
* obj0
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "self", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25693 if (SWIG_arg_fail(1)) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25698 result
= (wxTimeSpan
*) &_result_ref
;
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25711 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
= NULL
;
25713 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25714 wxTimeSpan
*arg2
= 0 ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 char *kwnames
[] = {
25719 (char *) "self",(char *) "other", NULL
25722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25724 if (SWIG_arg_fail(1)) SWIG_fail
;
25726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25727 if (SWIG_arg_fail(2)) SWIG_fail
;
25728 if (arg2
== NULL
) {
25729 SWIG_null_ref("wxTimeSpan");
25731 if (SWIG_arg_fail(2)) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25741 wxTimeSpan
* resultptr
;
25742 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25751 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
= NULL
;
25753 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25754 wxTimeSpan
*arg2
= 0 ;
25756 PyObject
* obj0
= 0 ;
25757 PyObject
* obj1
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "other", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25764 if (SWIG_arg_fail(1)) SWIG_fail
;
25766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25767 if (SWIG_arg_fail(2)) SWIG_fail
;
25768 if (arg2
== NULL
) {
25769 SWIG_null_ref("wxTimeSpan");
25771 if (SWIG_arg_fail(2)) SWIG_fail
;
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25781 wxTimeSpan
* resultptr
;
25782 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25791 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
= NULL
;
25793 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25796 PyObject
* obj0
= 0 ;
25797 PyObject
* obj1
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self",(char *) "n", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25804 if (SWIG_arg_fail(1)) SWIG_fail
;
25806 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25807 if (SWIG_arg_fail(2)) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= wxTimeSpan___mul__(arg1
,arg2
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 wxTimeSpan
* resultptr
;
25818 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25827 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
= NULL
;
25829 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "n", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25840 if (SWIG_arg_fail(1)) SWIG_fail
;
25842 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25843 if (SWIG_arg_fail(2)) SWIG_fail
;
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25847 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25853 wxTimeSpan
* resultptr
;
25854 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25863 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
= NULL
;
25865 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25866 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 char *kwnames
[] = {
25871 (char *) "self",(char *) "other", NULL
25874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25876 if (SWIG_arg_fail(1)) SWIG_fail
;
25877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25878 if (SWIG_arg_fail(2)) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25895 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
= NULL
;
25897 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25898 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "other", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail
;
25909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25910 if (SWIG_arg_fail(2)) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25927 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
= NULL
;
25929 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25930 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25932 PyObject
* obj0
= 0 ;
25933 PyObject
* obj1
= 0 ;
25934 char *kwnames
[] = {
25935 (char *) "self",(char *) "other", NULL
25938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25940 if (SWIG_arg_fail(1)) SWIG_fail
;
25941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25942 if (SWIG_arg_fail(2)) SWIG_fail
;
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25959 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
= NULL
;
25961 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25962 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25964 PyObject
* obj0
= 0 ;
25965 PyObject
* obj1
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self",(char *) "other", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
25971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25972 if (SWIG_arg_fail(1)) SWIG_fail
;
25973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25974 if (SWIG_arg_fail(2)) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25991 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
= NULL
;
25993 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25994 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "other", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26006 if (SWIG_arg_fail(2)) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26023 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
= NULL
;
26025 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26026 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "other", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26036 if (SWIG_arg_fail(1)) SWIG_fail
;
26037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26038 if (SWIG_arg_fail(2)) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26055 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
= NULL
;
26057 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26059 PyObject
* obj0
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26066 if (SWIG_arg_fail(1)) SWIG_fail
;
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26083 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26084 PyObject
*resultobj
= NULL
;
26085 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26111 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26112 PyObject
*resultobj
= NULL
;
26113 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26115 PyObject
* obj0
= 0 ;
26116 char *kwnames
[] = {
26117 (char *) "self", NULL
26120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26122 if (SWIG_arg_fail(1)) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26139 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
= NULL
;
26141 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26142 wxTimeSpan
*arg2
= 0 ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 char *kwnames
[] = {
26147 (char *) "self",(char *) "ts", NULL
26150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26152 if (SWIG_arg_fail(1)) SWIG_fail
;
26154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26155 if (SWIG_arg_fail(2)) SWIG_fail
;
26156 if (arg2
== NULL
) {
26157 SWIG_null_ref("wxTimeSpan");
26159 if (SWIG_arg_fail(2)) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26177 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
= NULL
;
26179 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26180 wxTimeSpan
*arg2
= 0 ;
26182 PyObject
* obj0
= 0 ;
26183 PyObject
* obj1
= 0 ;
26184 char *kwnames
[] = {
26185 (char *) "self",(char *) "ts", NULL
26188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26190 if (SWIG_arg_fail(1)) SWIG_fail
;
26192 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26193 if (SWIG_arg_fail(2)) SWIG_fail
;
26194 if (arg2
== NULL
) {
26195 SWIG_null_ref("wxTimeSpan");
26197 if (SWIG_arg_fail(2)) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26215 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
= NULL
;
26217 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26218 wxTimeSpan
*arg2
= 0 ;
26220 PyObject
* obj0
= 0 ;
26221 PyObject
* obj1
= 0 ;
26222 char *kwnames
[] = {
26223 (char *) "self",(char *) "t", NULL
26226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26228 if (SWIG_arg_fail(1)) SWIG_fail
;
26230 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26231 if (SWIG_arg_fail(2)) SWIG_fail
;
26232 if (arg2
== NULL
) {
26233 SWIG_null_ref("wxTimeSpan");
26235 if (SWIG_arg_fail(2)) SWIG_fail
;
26238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26253 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
= NULL
;
26255 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26257 PyObject
* obj0
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26273 resultobj
= SWIG_From_int(static_cast<int >(result
));
26281 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
= NULL
;
26283 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26292 if (SWIG_arg_fail(1)) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_From_int(static_cast<int >(result
));
26309 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
= NULL
;
26311 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail
;
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_From_int(static_cast<int >(result
));
26337 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
= NULL
;
26339 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail
;
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26357 resultobj
= SWIG_From_int(static_cast<int >(result
));
26365 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
= NULL
;
26367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26376 if (SWIG_arg_fail(1)) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26385 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26386 hi
= PyLong_FromLong( (&result
)->GetHi() );
26387 lo
= PyLong_FromLong( (&result
)->GetLo() );
26388 shifter
= PyLong_FromLong(32);
26389 shifted
= PyNumber_Lshift(hi
, shifter
);
26390 resultobj
= PyNumber_Or(shifted
, lo
);
26393 Py_DECREF(shifter
);
26394 Py_DECREF(shifted
);
26402 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
= NULL
;
26404 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26413 if (SWIG_arg_fail(1)) SWIG_fail
;
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26422 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26423 hi
= PyLong_FromLong( (&result
)->GetHi() );
26424 lo
= PyLong_FromLong( (&result
)->GetLo() );
26425 shifter
= PyLong_FromLong(32);
26426 shifted
= PyNumber_Lshift(hi
, shifter
);
26427 resultobj
= PyNumber_Or(shifted
, lo
);
26430 Py_DECREF(shifter
);
26431 Py_DECREF(shifted
);
26439 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
= NULL
;
26441 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26442 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26443 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26445 bool temp2
= false ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self",(char *) "format", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26454 if (SWIG_arg_fail(1)) SWIG_fail
;
26457 arg2
= wxString_in_helper(obj1
);
26458 if (arg2
== NULL
) SWIG_fail
;
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26490 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26493 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26495 return Py_BuildValue((char *)"");
26497 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26498 PyObject
*resultobj
= NULL
;
26499 int arg1
= (int) 0 ;
26500 int arg2
= (int) 0 ;
26501 int arg3
= (int) 0 ;
26502 int arg4
= (int) 0 ;
26503 wxDateSpan
*result
;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 PyObject
* obj2
= 0 ;
26507 PyObject
* obj3
= 0 ;
26508 char *kwnames
[] = {
26509 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26515 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26516 if (SWIG_arg_fail(1)) SWIG_fail
;
26521 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26522 if (SWIG_arg_fail(2)) SWIG_fail
;
26527 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26528 if (SWIG_arg_fail(3)) SWIG_fail
;
26533 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26534 if (SWIG_arg_fail(4)) SWIG_fail
;
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26539 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26551 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26552 PyObject
*resultobj
= NULL
;
26553 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26554 PyObject
* obj0
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26561 if (SWIG_arg_fail(1)) SWIG_fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 Py_INCREF(Py_None
); resultobj
= Py_None
;
26576 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
= NULL
;
26580 PyObject
* obj0
= 0 ;
26581 char *kwnames
[] = {
26582 (char *) "days", NULL
26585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",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::Days(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_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
= NULL
;
26611 char *kwnames
[] = {
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= wxDateSpan::Day();
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_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
= NULL
;
26638 PyObject
* obj0
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "weeks", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",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::Weeks(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_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
= NULL
;
26669 char *kwnames
[] = {
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= wxDateSpan::Week();
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_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= NULL
;
26696 PyObject
* obj0
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "mon", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",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::Months(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_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
= NULL
;
26727 char *kwnames
[] = {
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= wxDateSpan::Month();
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_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= NULL
;
26754 PyObject
* obj0
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "years", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26761 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26762 if (SWIG_arg_fail(1)) SWIG_fail
;
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 result
= wxDateSpan::Years(arg1
);
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26772 wxDateSpan
* resultptr
;
26773 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26782 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
= NULL
;
26785 char *kwnames
[] = {
26789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= wxDateSpan::Year();
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26798 wxDateSpan
* resultptr
;
26799 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26808 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
= NULL
;
26810 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26812 wxDateSpan
*result
;
26813 PyObject
* obj0
= 0 ;
26814 PyObject
* obj1
= 0 ;
26815 char *kwnames
[] = {
26816 (char *) "self",(char *) "n", NULL
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26821 if (SWIG_arg_fail(1)) SWIG_fail
;
26823 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26824 if (SWIG_arg_fail(2)) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26830 result
= (wxDateSpan
*) &_result_ref
;
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26843 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
= NULL
;
26845 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26847 wxDateSpan
*result
;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self",(char *) "n", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26856 if (SWIG_arg_fail(1)) SWIG_fail
;
26858 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26859 if (SWIG_arg_fail(2)) SWIG_fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26865 result
= (wxDateSpan
*) &_result_ref
;
26868 wxPyEndAllowThreads(__tstate
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26878 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
= NULL
;
26880 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26882 wxDateSpan
*result
;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self",(char *) "n", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26891 if (SWIG_arg_fail(1)) SWIG_fail
;
26893 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26894 if (SWIG_arg_fail(2)) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26900 result
= (wxDateSpan
*) &_result_ref
;
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26913 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
= NULL
;
26915 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26917 wxDateSpan
*result
;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self",(char *) "n", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26926 if (SWIG_arg_fail(1)) SWIG_fail
;
26928 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26929 if (SWIG_arg_fail(2)) SWIG_fail
;
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26935 result
= (wxDateSpan
*) &_result_ref
;
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26948 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
= NULL
;
26950 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26952 PyObject
* obj0
= 0 ;
26953 char *kwnames
[] = {
26954 (char *) "self", NULL
26957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
26958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26959 if (SWIG_arg_fail(1)) SWIG_fail
;
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_From_int(static_cast<int >(result
));
26976 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= NULL
;
26978 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26980 PyObject
* obj0
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
26986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26987 if (SWIG_arg_fail(1)) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= SWIG_From_int(static_cast<int >(result
));
27004 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
= NULL
;
27006 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 char *kwnames
[] = {
27010 (char *) "self", NULL
27013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
27014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27015 if (SWIG_arg_fail(1)) SWIG_fail
;
27017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27018 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
27020 wxPyEndAllowThreads(__tstate
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= SWIG_From_int(static_cast<int >(result
));
27032 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
= NULL
;
27034 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27036 PyObject
* obj0
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= SWIG_From_int(static_cast<int >(result
));
27060 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
= NULL
;
27062 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27064 PyObject
* obj0
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_From_int(static_cast<int >(result
));
27088 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
= NULL
;
27090 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27091 wxDateSpan
*arg2
= 0 ;
27092 wxDateSpan
*result
;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self",(char *) "other", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27101 if (SWIG_arg_fail(1)) SWIG_fail
;
27103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27104 if (SWIG_arg_fail(2)) SWIG_fail
;
27105 if (arg2
== NULL
) {
27106 SWIG_null_ref("wxDateSpan");
27108 if (SWIG_arg_fail(2)) SWIG_fail
;
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27114 result
= (wxDateSpan
*) &_result_ref
;
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27127 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
= NULL
;
27129 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27130 wxDateSpan
*arg2
= 0 ;
27131 wxDateSpan
*result
;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 char *kwnames
[] = {
27135 (char *) "self",(char *) "other", NULL
27138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27140 if (SWIG_arg_fail(1)) SWIG_fail
;
27142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27143 if (SWIG_arg_fail(2)) SWIG_fail
;
27144 if (arg2
== NULL
) {
27145 SWIG_null_ref("wxDateSpan");
27147 if (SWIG_arg_fail(2)) SWIG_fail
;
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27153 result
= (wxDateSpan
*) &_result_ref
;
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27166 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
= NULL
;
27168 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27169 wxDateSpan
*result
;
27170 PyObject
* obj0
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27177 if (SWIG_arg_fail(1)) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27182 result
= (wxDateSpan
*) &_result_ref
;
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27195 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27196 PyObject
*resultobj
= NULL
;
27197 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27199 wxDateSpan
*result
;
27200 PyObject
* obj0
= 0 ;
27201 PyObject
* obj1
= 0 ;
27202 char *kwnames
[] = {
27203 (char *) "self",(char *) "factor", NULL
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27208 if (SWIG_arg_fail(1)) SWIG_fail
;
27210 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27211 if (SWIG_arg_fail(2)) SWIG_fail
;
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27217 result
= (wxDateSpan
*) &_result_ref
;
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27230 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
= NULL
;
27232 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27233 wxDateSpan
*arg2
= 0 ;
27234 wxDateSpan
*result
;
27235 PyObject
* obj0
= 0 ;
27236 PyObject
* obj1
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self",(char *) "other", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27243 if (SWIG_arg_fail(1)) SWIG_fail
;
27245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27246 if (SWIG_arg_fail(2)) SWIG_fail
;
27247 if (arg2
== NULL
) {
27248 SWIG_null_ref("wxDateSpan");
27250 if (SWIG_arg_fail(2)) SWIG_fail
;
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27256 result
= (wxDateSpan
*) &_result_ref
;
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27269 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
= NULL
;
27271 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27272 wxDateSpan
*arg2
= 0 ;
27273 wxDateSpan
*result
;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 char *kwnames
[] = {
27277 (char *) "self",(char *) "other", NULL
27280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27282 if (SWIG_arg_fail(1)) SWIG_fail
;
27284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27285 if (SWIG_arg_fail(2)) SWIG_fail
;
27286 if (arg2
== NULL
) {
27287 SWIG_null_ref("wxDateSpan");
27289 if (SWIG_arg_fail(2)) SWIG_fail
;
27292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27294 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27295 result
= (wxDateSpan
*) &_result_ref
;
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27308 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
= NULL
;
27310 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27311 wxDateSpan
*result
;
27312 PyObject
* obj0
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27319 if (SWIG_arg_fail(1)) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27324 result
= (wxDateSpan
*) &_result_ref
;
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27337 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
= NULL
;
27339 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27341 wxDateSpan
*result
;
27342 PyObject
* obj0
= 0 ;
27343 PyObject
* obj1
= 0 ;
27344 char *kwnames
[] = {
27345 (char *) "self",(char *) "factor", NULL
27348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27350 if (SWIG_arg_fail(1)) SWIG_fail
;
27352 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27353 if (SWIG_arg_fail(2)) SWIG_fail
;
27356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27359 result
= (wxDateSpan
*) &_result_ref
;
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27372 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27373 PyObject
*resultobj
= NULL
;
27374 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27375 wxDateSpan
*arg2
= 0 ;
27377 PyObject
* obj0
= 0 ;
27378 PyObject
* obj1
= 0 ;
27379 char *kwnames
[] = {
27380 (char *) "self",(char *) "other", NULL
27383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27385 if (SWIG_arg_fail(1)) SWIG_fail
;
27387 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27388 if (SWIG_arg_fail(2)) SWIG_fail
;
27389 if (arg2
== NULL
) {
27390 SWIG_null_ref("wxDateSpan");
27392 if (SWIG_arg_fail(2)) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27402 wxDateSpan
* resultptr
;
27403 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27412 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
= NULL
;
27414 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27415 wxDateSpan
*arg2
= 0 ;
27417 PyObject
* obj0
= 0 ;
27418 PyObject
* obj1
= 0 ;
27419 char *kwnames
[] = {
27420 (char *) "self",(char *) "other", NULL
27423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27425 if (SWIG_arg_fail(1)) SWIG_fail
;
27427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27428 if (SWIG_arg_fail(2)) SWIG_fail
;
27429 if (arg2
== NULL
) {
27430 SWIG_null_ref("wxDateSpan");
27432 if (SWIG_arg_fail(2)) SWIG_fail
;
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27442 wxDateSpan
* resultptr
;
27443 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27452 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
= NULL
;
27454 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj1
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self",(char *) "n", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27465 if (SWIG_arg_fail(1)) SWIG_fail
;
27467 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27468 if (SWIG_arg_fail(2)) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= wxDateSpan___mul__(arg1
,arg2
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27478 wxDateSpan
* resultptr
;
27479 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27488 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
= NULL
;
27490 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char *kwnames
[] = {
27496 (char *) "self",(char *) "n", NULL
27499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27501 if (SWIG_arg_fail(1)) SWIG_fail
;
27503 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27504 if (SWIG_arg_fail(2)) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 result
= wxDateSpan___rmul__(arg1
,arg2
);
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27514 wxDateSpan
* resultptr
;
27515 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27524 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27525 PyObject
*resultobj
= NULL
;
27526 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27527 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27529 PyObject
* obj0
= 0 ;
27530 PyObject
* obj1
= 0 ;
27531 char *kwnames
[] = {
27532 (char *) "self",(char *) "other", NULL
27535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27537 if (SWIG_arg_fail(1)) SWIG_fail
;
27538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27539 if (SWIG_arg_fail(2)) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27556 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
= NULL
;
27558 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27559 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27561 PyObject
* obj0
= 0 ;
27562 PyObject
* obj1
= 0 ;
27563 char *kwnames
[] = {
27564 (char *) "self",(char *) "other", NULL
27567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27569 if (SWIG_arg_fail(1)) SWIG_fail
;
27570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27571 if (SWIG_arg_fail(2)) SWIG_fail
;
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27588 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27591 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27593 return Py_BuildValue((char *)"");
27595 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
= NULL
;
27598 char *kwnames
[] = {
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 result
= (long)wxGetLocalTime();
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27611 resultobj
= SWIG_From_long(static_cast<long >(result
));
27619 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
= NULL
;
27622 char *kwnames
[] = {
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 result
= (long)wxGetUTCTime();
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27635 resultobj
= SWIG_From_long(static_cast<long >(result
));
27643 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
= NULL
;
27646 char *kwnames
[] = {
27650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 result
= (long)wxGetCurrentTime();
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= SWIG_From_long(static_cast<long >(result
));
27667 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
= NULL
;
27670 char *kwnames
[] = {
27674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27677 result
= wxGetLocalTimeMillis();
27679 wxPyEndAllowThreads(__tstate
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27683 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27684 hi
= PyLong_FromLong( (&result
)->GetHi() );
27685 lo
= PyLong_FromLong( (&result
)->GetLo() );
27686 shifter
= PyLong_FromLong(32);
27687 shifted
= PyNumber_Lshift(hi
, shifter
);
27688 resultobj
= PyNumber_Or(shifted
, lo
);
27691 Py_DECREF(shifter
);
27692 Py_DECREF(shifted
);
27700 static int _wrap_DefaultDateTime_set(PyObject
*) {
27701 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27706 static PyObject
*_wrap_DefaultDateTime_get(void) {
27707 PyObject
*pyobj
= NULL
;
27709 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27714 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
= NULL
;
27716 wxDataFormatId arg1
;
27717 wxDataFormat
*result
;
27718 PyObject
* obj0
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "type", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27725 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27726 if (SWIG_arg_fail(1)) SWIG_fail
;
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27742 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
= NULL
;
27744 wxString
*arg1
= 0 ;
27745 wxDataFormat
*result
;
27746 bool temp1
= false ;
27747 PyObject
* obj0
= 0 ;
27748 char *kwnames
[] = {
27749 (char *) "format", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27754 arg1
= wxString_in_helper(obj0
);
27755 if (arg1
== NULL
) SWIG_fail
;
27759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27760 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27780 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27781 PyObject
*resultobj
= NULL
;
27782 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27783 PyObject
* obj0
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27790 if (SWIG_arg_fail(1)) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 Py_INCREF(Py_None
); resultobj
= Py_None
;
27805 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27806 PyObject
*resultobj
= NULL
;
27807 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27808 wxDataFormatId arg2
;
27810 PyObject
* obj0
= 0 ;
27811 PyObject
* obj1
= 0 ;
27813 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27815 if (SWIG_arg_fail(1)) SWIG_fail
;
27817 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27818 if (SWIG_arg_fail(2)) SWIG_fail
;
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27836 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27837 PyObject
*resultobj
= NULL
;
27838 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27839 wxDataFormatId arg2
;
27841 PyObject
* obj0
= 0 ;
27842 PyObject
* obj1
= 0 ;
27844 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27846 if (SWIG_arg_fail(1)) SWIG_fail
;
27848 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27849 if (SWIG_arg_fail(2)) SWIG_fail
;
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27855 wxPyEndAllowThreads(__tstate
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27867 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27868 PyObject
*resultobj
= NULL
;
27869 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27870 wxDataFormat
*arg2
= 0 ;
27872 PyObject
* obj0
= 0 ;
27873 PyObject
* obj1
= 0 ;
27875 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27877 if (SWIG_arg_fail(1)) SWIG_fail
;
27879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27880 if (SWIG_arg_fail(2)) SWIG_fail
;
27881 if (arg2
== NULL
) {
27882 SWIG_null_ref("wxDataFormat");
27884 if (SWIG_arg_fail(2)) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27902 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27907 argc
= PyObject_Length(args
);
27908 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27909 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27915 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27925 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27933 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
27941 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27949 _v
= SWIG_Check_int(argv
[1]);
27951 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
27956 Py_INCREF(Py_NotImplemented
);
27957 return Py_NotImplemented
;
27961 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
27962 PyObject
*resultobj
= NULL
;
27963 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27964 wxDataFormat
*arg2
= 0 ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27969 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27971 if (SWIG_arg_fail(1)) SWIG_fail
;
27973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27974 if (SWIG_arg_fail(2)) SWIG_fail
;
27975 if (arg2
== NULL
) {
27976 SWIG_null_ref("wxDataFormat");
27978 if (SWIG_arg_fail(2)) SWIG_fail
;
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27996 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
28001 argc
= PyObject_Length(args
);
28002 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
28003 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28009 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28019 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28027 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
28035 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28043 _v
= SWIG_Check_int(argv
[1]);
28045 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
28050 Py_INCREF(Py_NotImplemented
);
28051 return Py_NotImplemented
;
28055 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
= NULL
;
28057 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28058 wxDataFormatId arg2
;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char *kwnames
[] = {
28062 (char *) "self",(char *) "format", NULL
28065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28067 if (SWIG_arg_fail(1)) SWIG_fail
;
28069 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28070 if (SWIG_arg_fail(2)) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 (arg1
)->SetType(arg2
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 Py_INCREF(Py_None
); resultobj
= Py_None
;
28086 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
= NULL
;
28088 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28089 wxDataFormatId result
;
28090 PyObject
* obj0
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28097 if (SWIG_arg_fail(1)) SWIG_fail
;
28099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28100 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28105 resultobj
= SWIG_From_int((result
));
28112 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28113 PyObject
*resultobj
= NULL
;
28114 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28116 PyObject
* obj0
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28123 if (SWIG_arg_fail(1)) SWIG_fail
;
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 result
= ((wxDataFormat
const *)arg1
)->GetId();
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28144 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
= NULL
;
28146 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28147 wxString
*arg2
= 0 ;
28148 bool temp2
= false ;
28149 PyObject
* obj0
= 0 ;
28150 PyObject
* obj1
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "self",(char *) "format", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28157 if (SWIG_arg_fail(1)) SWIG_fail
;
28159 arg2
= wxString_in_helper(obj1
);
28160 if (arg2
== NULL
) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 (arg1
)->SetId((wxString
const &)*arg2
);
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 Py_INCREF(Py_None
); resultobj
= Py_None
;
28185 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28188 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28190 return Py_BuildValue((char *)"");
28192 static int _wrap_FormatInvalid_set(PyObject
*) {
28193 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28198 static PyObject
*_wrap_FormatInvalid_get(void) {
28199 PyObject
*pyobj
= NULL
;
28201 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28206 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
= NULL
;
28208 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28209 PyObject
* obj0
= 0 ;
28210 char *kwnames
[] = {
28211 (char *) "self", NULL
28214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28216 if (SWIG_arg_fail(1)) SWIG_fail
;
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28224 Py_INCREF(Py_None
); resultobj
= Py_None
;
28231 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
= NULL
;
28233 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28234 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28235 SwigValueWrapper
<wxDataFormat
> result
;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self",(char *) "dir", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28244 if (SWIG_arg_fail(1)) SWIG_fail
;
28247 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28248 if (SWIG_arg_fail(2)) SWIG_fail
;
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28259 wxDataFormat
* resultptr
;
28260 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28269 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28270 PyObject
*resultobj
= NULL
;
28271 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28272 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char *kwnames
[] = {
28277 (char *) "self",(char *) "dir", NULL
28280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28282 if (SWIG_arg_fail(1)) SWIG_fail
;
28285 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28286 if (SWIG_arg_fail(2)) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28305 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
= NULL
;
28307 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28308 wxDataFormat
*arg2
= 0 ;
28309 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28311 PyObject
* obj0
= 0 ;
28312 PyObject
* obj1
= 0 ;
28313 PyObject
* obj2
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self",(char *) "format",(char *) "dir", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28320 if (SWIG_arg_fail(1)) SWIG_fail
;
28322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28323 if (SWIG_arg_fail(2)) SWIG_fail
;
28324 if (arg2
== NULL
) {
28325 SWIG_null_ref("wxDataFormat");
28327 if (SWIG_arg_fail(2)) SWIG_fail
;
28331 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28332 if (SWIG_arg_fail(3)) SWIG_fail
;
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28351 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28352 PyObject
*resultobj
= NULL
;
28353 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28354 wxDataFormat
*arg2
= 0 ;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 char *kwnames
[] = {
28359 (char *) "self",(char *) "format", NULL
28362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28364 if (SWIG_arg_fail(1)) SWIG_fail
;
28366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28367 if (SWIG_arg_fail(2)) SWIG_fail
;
28368 if (arg2
== NULL
) {
28369 SWIG_null_ref("wxDataFormat");
28371 if (SWIG_arg_fail(2)) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28389 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28390 PyObject
*resultobj
= NULL
;
28391 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28392 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28394 PyObject
* obj0
= 0 ;
28395 PyObject
* obj1
= 0 ;
28396 char *kwnames
[] = {
28397 (char *) "self",(char *) "dir", NULL
28400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28402 if (SWIG_arg_fail(1)) SWIG_fail
;
28405 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28406 if (SWIG_arg_fail(2)) SWIG_fail
;
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= result
;
28423 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
= NULL
;
28425 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28426 wxDataFormat
*arg2
= 0 ;
28428 PyObject
* obj0
= 0 ;
28429 PyObject
* obj1
= 0 ;
28430 char *kwnames
[] = {
28431 (char *) "self",(char *) "format", NULL
28434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28436 if (SWIG_arg_fail(1)) SWIG_fail
;
28438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28439 if (SWIG_arg_fail(2)) SWIG_fail
;
28440 if (arg2
== NULL
) {
28441 SWIG_null_ref("wxDataFormat");
28443 if (SWIG_arg_fail(2)) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 resultobj
= result
;
28459 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
= NULL
;
28461 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28462 wxDataFormat
*arg2
= 0 ;
28463 PyObject
*arg3
= (PyObject
*) 0 ;
28465 PyObject
* obj0
= 0 ;
28466 PyObject
* obj1
= 0 ;
28467 PyObject
* obj2
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self",(char *) "format",(char *) "data", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28474 if (SWIG_arg_fail(1)) SWIG_fail
;
28476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28477 if (SWIG_arg_fail(2)) SWIG_fail
;
28478 if (arg2
== NULL
) {
28479 SWIG_null_ref("wxDataFormat");
28481 if (SWIG_arg_fail(2)) SWIG_fail
;
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28488 wxPyEndAllowThreads(__tstate
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28500 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28503 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28505 return Py_BuildValue((char *)"");
28507 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
= NULL
;
28509 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28510 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28511 wxDataObjectSimple
*result
;
28512 PyObject
* obj0
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "format", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28521 if (SWIG_arg_fail(1)) SWIG_fail
;
28522 if (arg1
== NULL
) {
28523 SWIG_null_ref("wxDataFormat");
28525 if (SWIG_arg_fail(1)) SWIG_fail
;
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28542 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
= NULL
;
28544 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28545 wxDataFormat
*result
;
28546 PyObject
* obj0
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail
;
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28557 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28558 result
= (wxDataFormat
*) &_result_ref
;
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28571 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
= NULL
;
28573 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28574 wxDataFormat
*arg2
= 0 ;
28575 PyObject
* obj0
= 0 ;
28576 PyObject
* obj1
= 0 ;
28577 char *kwnames
[] = {
28578 (char *) "self",(char *) "format", NULL
28581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28583 if (SWIG_arg_fail(1)) SWIG_fail
;
28585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28586 if (SWIG_arg_fail(2)) SWIG_fail
;
28587 if (arg2
== NULL
) {
28588 SWIG_null_ref("wxDataFormat");
28590 if (SWIG_arg_fail(2)) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 Py_INCREF(Py_None
); resultobj
= Py_None
;
28606 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
= NULL
;
28608 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28610 PyObject
* obj0
= 0 ;
28611 char *kwnames
[] = {
28612 (char *) "self", NULL
28615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28617 if (SWIG_arg_fail(1)) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28634 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
= NULL
;
28636 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28638 PyObject
* obj0
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28645 if (SWIG_arg_fail(1)) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= result
;
28660 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
= NULL
;
28662 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28663 PyObject
*arg2
= (PyObject
*) 0 ;
28665 PyObject
* obj0
= 0 ;
28666 PyObject
* obj1
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "self",(char *) "data", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28673 if (SWIG_arg_fail(1)) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28691 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28694 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28696 return Py_BuildValue((char *)"");
28698 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
= NULL
;
28700 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28701 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28702 wxPyDataObjectSimple
*result
;
28703 PyObject
* obj0
= 0 ;
28704 char *kwnames
[] = {
28705 (char *) "format", NULL
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(1)) SWIG_fail
;
28713 if (arg1
== NULL
) {
28714 SWIG_null_ref("wxDataFormat");
28716 if (SWIG_arg_fail(1)) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28733 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
= NULL
;
28735 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28736 PyObject
*arg2
= (PyObject
*) 0 ;
28737 PyObject
*arg3
= (PyObject
*) 0 ;
28738 PyObject
* obj0
= 0 ;
28739 PyObject
* obj1
= 0 ;
28740 PyObject
* obj2
= 0 ;
28741 char *kwnames
[] = {
28742 (char *) "self",(char *) "self",(char *) "_class", NULL
28745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28747 if (SWIG_arg_fail(1)) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 Py_INCREF(Py_None
); resultobj
= Py_None
;
28764 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28767 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28769 return Py_BuildValue((char *)"");
28771 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
= NULL
;
28773 wxDataObjectComposite
*result
;
28774 char *kwnames
[] = {
28778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28783 wxPyEndAllowThreads(__tstate
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28793 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28794 PyObject
*resultobj
= NULL
;
28795 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28796 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28797 bool arg3
= (bool) false ;
28798 PyObject
* obj0
= 0 ;
28799 PyObject
* obj1
= 0 ;
28800 PyObject
* obj2
= 0 ;
28801 char *kwnames
[] = {
28802 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28807 if (SWIG_arg_fail(1)) SWIG_fail
;
28808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28809 if (SWIG_arg_fail(2)) SWIG_fail
;
28812 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28813 if (SWIG_arg_fail(3)) SWIG_fail
;
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 (arg1
)->Add(arg2
,arg3
);
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 Py_INCREF(Py_None
); resultobj
= Py_None
;
28830 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28833 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28835 return Py_BuildValue((char *)"");
28837 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
= NULL
;
28839 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28840 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28841 wxTextDataObject
*result
;
28842 bool temp1
= false ;
28843 PyObject
* obj0
= 0 ;
28844 char *kwnames
[] = {
28845 (char *) "text", NULL
28848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28851 arg1
= wxString_in_helper(obj0
);
28852 if (arg1
== NULL
) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28878 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
= NULL
;
28880 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28882 PyObject
* obj0
= 0 ;
28883 char *kwnames
[] = {
28884 (char *) "self", NULL
28887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28889 if (SWIG_arg_fail(1)) SWIG_fail
;
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 result
= (size_t)(arg1
)->GetTextLength();
28894 wxPyEndAllowThreads(__tstate
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28898 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28906 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
= NULL
;
28908 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28917 if (SWIG_arg_fail(1)) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= (arg1
)->GetText();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28938 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
= NULL
;
28940 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28941 wxString
*arg2
= 0 ;
28942 bool temp2
= false ;
28943 PyObject
* obj0
= 0 ;
28944 PyObject
* obj1
= 0 ;
28945 char *kwnames
[] = {
28946 (char *) "self",(char *) "text", NULL
28949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
28950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28951 if (SWIG_arg_fail(1)) SWIG_fail
;
28953 arg2
= wxString_in_helper(obj1
);
28954 if (arg2
== NULL
) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 (arg1
)->SetText((wxString
const &)*arg2
);
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28964 Py_INCREF(Py_None
); resultobj
= Py_None
;
28979 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
28981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28982 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
28984 return Py_BuildValue((char *)"");
28986 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28987 PyObject
*resultobj
= NULL
;
28988 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28989 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28990 wxPyTextDataObject
*result
;
28991 bool temp1
= false ;
28992 PyObject
* obj0
= 0 ;
28993 char *kwnames
[] = {
28994 (char *) "text", NULL
28997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
29000 arg1
= wxString_in_helper(obj0
);
29001 if (arg1
== NULL
) SWIG_fail
;
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
29009 wxPyEndAllowThreads(__tstate
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
29027 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29028 PyObject
*resultobj
= NULL
;
29029 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
29030 PyObject
*arg2
= (PyObject
*) 0 ;
29031 PyObject
*arg3
= (PyObject
*) 0 ;
29032 PyObject
* obj0
= 0 ;
29033 PyObject
* obj1
= 0 ;
29034 PyObject
* obj2
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self",(char *) "self",(char *) "_class", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail
;
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 Py_INCREF(Py_None
); resultobj
= Py_None
;
29058 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29061 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29063 return Py_BuildValue((char *)"");
29065 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
= NULL
;
29067 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29068 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29069 wxBitmapDataObject
*result
;
29070 PyObject
* obj0
= 0 ;
29071 char *kwnames
[] = {
29072 (char *) "bitmap", NULL
29075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29079 if (SWIG_arg_fail(1)) SWIG_fail
;
29080 if (arg1
== NULL
) {
29081 SWIG_null_ref("wxBitmap");
29083 if (SWIG_arg_fail(1)) SWIG_fail
;
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29090 wxPyEndAllowThreads(__tstate
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29100 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
= NULL
;
29102 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29104 PyObject
* obj0
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self", NULL
29109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29111 if (SWIG_arg_fail(1)) SWIG_fail
;
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29120 wxBitmap
* resultptr
;
29121 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29130 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
= NULL
;
29132 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29133 wxBitmap
*arg2
= 0 ;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 char *kwnames
[] = {
29137 (char *) "self",(char *) "bitmap", NULL
29140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29142 if (SWIG_arg_fail(1)) SWIG_fail
;
29144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29145 if (SWIG_arg_fail(2)) SWIG_fail
;
29146 if (arg2
== NULL
) {
29147 SWIG_null_ref("wxBitmap");
29149 if (SWIG_arg_fail(2)) SWIG_fail
;
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 Py_INCREF(Py_None
); resultobj
= Py_None
;
29165 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29168 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29170 return Py_BuildValue((char *)"");
29172 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
= NULL
;
29174 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29175 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29176 wxPyBitmapDataObject
*result
;
29177 PyObject
* obj0
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "bitmap", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29186 if (SWIG_arg_fail(1)) SWIG_fail
;
29187 if (arg1
== NULL
) {
29188 SWIG_null_ref("wxBitmap");
29190 if (SWIG_arg_fail(1)) SWIG_fail
;
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29207 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
= NULL
;
29209 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29210 PyObject
*arg2
= (PyObject
*) 0 ;
29211 PyObject
*arg3
= (PyObject
*) 0 ;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 PyObject
* obj2
= 0 ;
29215 char *kwnames
[] = {
29216 (char *) "self",(char *) "self",(char *) "_class", NULL
29219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29221 if (SWIG_arg_fail(1)) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29231 Py_INCREF(Py_None
); resultobj
= Py_None
;
29238 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29241 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29243 return Py_BuildValue((char *)"");
29245 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
= NULL
;
29247 wxFileDataObject
*result
;
29248 char *kwnames
[] = {
29252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 result
= (wxFileDataObject
*)new wxFileDataObject();
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29267 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
= NULL
;
29269 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29270 wxArrayString
*result
;
29271 PyObject
* obj0
= 0 ;
29272 char *kwnames
[] = {
29273 (char *) "self", NULL
29276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29278 if (SWIG_arg_fail(1)) SWIG_fail
;
29280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29282 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29283 result
= (wxArrayString
*) &_result_ref
;
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= wxArrayString2PyList_helper(*result
);
29298 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
= NULL
;
29300 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29301 wxString
*arg2
= 0 ;
29302 bool temp2
= false ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self",(char *) "filename", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29311 if (SWIG_arg_fail(1)) SWIG_fail
;
29313 arg2
= wxString_in_helper(obj1
);
29314 if (arg2
== NULL
) SWIG_fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 (arg1
)->AddFile((wxString
const &)*arg2
);
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29324 Py_INCREF(Py_None
); resultobj
= Py_None
;
29339 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29342 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29344 return Py_BuildValue((char *)"");
29346 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29347 PyObject
*resultobj
= NULL
;
29348 wxDataFormat
*arg1
= 0 ;
29349 wxCustomDataObject
*result
;
29350 PyObject
* obj0
= 0 ;
29352 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29355 if (SWIG_arg_fail(1)) SWIG_fail
;
29356 if (arg1
== NULL
) {
29357 SWIG_null_ref("wxDataFormat");
29359 if (SWIG_arg_fail(1)) SWIG_fail
;
29362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29363 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29365 wxPyEndAllowThreads(__tstate
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29375 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29376 PyObject
*resultobj
= NULL
;
29377 wxString
*arg1
= 0 ;
29378 wxCustomDataObject
*result
;
29379 bool temp1
= false ;
29380 PyObject
* obj0
= 0 ;
29382 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29384 arg1
= wxString_in_helper(obj0
);
29385 if (arg1
== NULL
) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29410 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29411 PyObject
*resultobj
= NULL
;
29412 wxCustomDataObject
*result
;
29414 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29429 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29434 argc
= PyObject_Length(args
);
29435 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29436 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29439 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29444 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29447 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29454 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29462 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29466 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29471 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
= NULL
;
29473 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29474 PyObject
*arg2
= (PyObject
*) 0 ;
29476 PyObject
* obj0
= 0 ;
29477 PyObject
* obj1
= 0 ;
29478 char *kwnames
[] = {
29479 (char *) "self",(char *) "data", NULL
29482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29484 if (SWIG_arg_fail(1)) SWIG_fail
;
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29502 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
= NULL
;
29504 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29506 PyObject
* obj0
= 0 ;
29507 char *kwnames
[] = {
29508 (char *) "self", NULL
29511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29513 if (SWIG_arg_fail(1)) SWIG_fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (size_t)(arg1
)->GetSize();
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29530 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29531 PyObject
*resultobj
= NULL
;
29532 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29534 PyObject
* obj0
= 0 ;
29535 char *kwnames
[] = {
29536 (char *) "self", NULL
29539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29541 if (SWIG_arg_fail(1)) SWIG_fail
;
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 resultobj
= result
;
29556 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29559 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29561 return Py_BuildValue((char *)"");
29563 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29564 PyObject
*resultobj
= NULL
;
29565 wxURLDataObject
*result
;
29566 char *kwnames
[] = {
29570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (wxURLDataObject
*)new wxURLDataObject();
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29585 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29586 PyObject
*resultobj
= NULL
;
29587 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29589 PyObject
* obj0
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail
;
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 result
= (arg1
)->GetURL();
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29617 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29618 PyObject
*resultobj
= NULL
;
29619 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29620 wxString
*arg2
= 0 ;
29621 bool temp2
= false ;
29622 PyObject
* obj0
= 0 ;
29623 PyObject
* obj1
= 0 ;
29624 char *kwnames
[] = {
29625 (char *) "self",(char *) "url", NULL
29628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29630 if (SWIG_arg_fail(1)) SWIG_fail
;
29632 arg2
= wxString_in_helper(obj1
);
29633 if (arg2
== NULL
) SWIG_fail
;
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 (arg1
)->SetURL((wxString
const &)*arg2
);
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 Py_INCREF(Py_None
); resultobj
= Py_None
;
29658 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29661 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29663 return Py_BuildValue((char *)"");
29665 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
= NULL
;
29667 wxMetafileDataObject
*result
;
29668 char *kwnames
[] = {
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29687 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29690 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29692 return Py_BuildValue((char *)"");
29694 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29695 PyObject
*resultobj
= NULL
;
29696 wxDragResult arg1
;
29698 PyObject
* obj0
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "res", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29705 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29706 if (SWIG_arg_fail(1)) SWIG_fail
;
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (bool)wxIsDragResultOk(arg1
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29724 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
= NULL
;
29726 wxWindow
*arg1
= (wxWindow
*) 0 ;
29727 wxIcon
const &arg2_defvalue
= wxNullIcon
;
29728 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
29729 wxIcon
const &arg3_defvalue
= wxNullIcon
;
29730 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
29731 wxIcon
const &arg4_defvalue
= wxNullIcon
;
29732 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
29733 wxPyDropSource
*result
;
29734 PyObject
* obj0
= 0 ;
29735 PyObject
* obj1
= 0 ;
29736 PyObject
* obj2
= 0 ;
29737 PyObject
* obj3
= 0 ;
29738 char *kwnames
[] = {
29739 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29744 if (SWIG_arg_fail(1)) SWIG_fail
;
29747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29748 if (SWIG_arg_fail(2)) SWIG_fail
;
29749 if (arg2
== NULL
) {
29750 SWIG_null_ref("wxIcon");
29752 if (SWIG_arg_fail(2)) SWIG_fail
;
29757 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29758 if (SWIG_arg_fail(3)) SWIG_fail
;
29759 if (arg3
== NULL
) {
29760 SWIG_null_ref("wxIcon");
29762 if (SWIG_arg_fail(3)) SWIG_fail
;
29767 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29768 if (SWIG_arg_fail(4)) SWIG_fail
;
29769 if (arg4
== NULL
) {
29770 SWIG_null_ref("wxIcon");
29772 if (SWIG_arg_fail(4)) SWIG_fail
;
29776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29777 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29789 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
= NULL
;
29791 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29792 PyObject
*arg2
= (PyObject
*) 0 ;
29793 PyObject
*arg3
= (PyObject
*) 0 ;
29795 PyObject
* obj0
= 0 ;
29796 PyObject
* obj1
= 0 ;
29797 PyObject
* obj2
= 0 ;
29798 PyObject
* obj3
= 0 ;
29799 char *kwnames
[] = {
29800 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29805 if (SWIG_arg_fail(1)) SWIG_fail
;
29809 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29810 if (SWIG_arg_fail(4)) SWIG_fail
;
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 Py_INCREF(Py_None
); resultobj
= Py_None
;
29826 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
= NULL
;
29828 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29829 PyObject
* obj0
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29836 if (SWIG_arg_fail(1)) SWIG_fail
;
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 Py_INCREF(Py_None
); resultobj
= Py_None
;
29851 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
= NULL
;
29853 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29854 wxDataObject
*arg2
= 0 ;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 char *kwnames
[] = {
29858 (char *) "self",(char *) "data", NULL
29861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29863 if (SWIG_arg_fail(1)) SWIG_fail
;
29865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29866 if (SWIG_arg_fail(2)) SWIG_fail
;
29867 if (arg2
== NULL
) {
29868 SWIG_null_ref("wxDataObject");
29870 if (SWIG_arg_fail(2)) SWIG_fail
;
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 (arg1
)->SetData(*arg2
);
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 Py_INCREF(Py_None
); resultobj
= Py_None
;
29886 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
= NULL
;
29888 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29889 wxDataObject
*result
;
29890 PyObject
* obj0
= 0 ;
29891 char *kwnames
[] = {
29892 (char *) "self", NULL
29895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
29896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29897 if (SWIG_arg_fail(1)) SWIG_fail
;
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29912 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
= NULL
;
29914 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29915 wxDragResult arg2
;
29916 wxCursor
*arg3
= 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 PyObject
* obj2
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self",(char *) "res",(char *) "cursor", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29926 if (SWIG_arg_fail(1)) SWIG_fail
;
29928 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
29929 if (SWIG_arg_fail(2)) SWIG_fail
;
29932 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29933 if (SWIG_arg_fail(3)) SWIG_fail
;
29934 if (arg3
== NULL
) {
29935 SWIG_null_ref("wxCursor");
29937 if (SWIG_arg_fail(3)) SWIG_fail
;
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 Py_INCREF(Py_None
); resultobj
= Py_None
;
29953 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
= NULL
;
29955 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29956 int arg2
= (int) wxDrag_CopyOnly
;
29957 wxDragResult result
;
29958 PyObject
* obj0
= 0 ;
29959 PyObject
* obj1
= 0 ;
29960 char *kwnames
[] = {
29961 (char *) "self",(char *) "flags", NULL
29964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
29965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29966 if (SWIG_arg_fail(1)) SWIG_fail
;
29969 arg2
= static_cast<int >(SWIG_As_int(obj1
));
29970 if (SWIG_arg_fail(2)) SWIG_fail
;
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= SWIG_From_int((result
));
29987 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
= NULL
;
29989 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29990 wxDragResult arg2
;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 char *kwnames
[] = {
29995 (char *) "self",(char *) "effect", NULL
29998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
29999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30000 if (SWIG_arg_fail(1)) SWIG_fail
;
30002 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30003 if (SWIG_arg_fail(2)) SWIG_fail
;
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 result
= (bool)(arg1
)->base_GiveFeedback(arg2
);
30009 wxPyEndAllowThreads(__tstate
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30021 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30024 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30026 return Py_BuildValue((char *)"");
30028 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
= NULL
;
30030 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30031 wxPyDropTarget
*result
;
30032 PyObject
* obj0
= 0 ;
30033 char *kwnames
[] = {
30034 (char *) "dataObject", NULL
30037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30040 if (SWIG_arg_fail(1)) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30056 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
= NULL
;
30058 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30059 PyObject
*arg2
= (PyObject
*) 0 ;
30060 PyObject
*arg3
= (PyObject
*) 0 ;
30061 PyObject
* obj0
= 0 ;
30062 PyObject
* obj1
= 0 ;
30063 PyObject
* obj2
= 0 ;
30064 char *kwnames
[] = {
30065 (char *) "self",(char *) "self",(char *) "_class", NULL
30068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30070 if (SWIG_arg_fail(1)) SWIG_fail
;
30074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30075 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30077 wxPyEndAllowThreads(__tstate
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30080 Py_INCREF(Py_None
); resultobj
= Py_None
;
30087 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
= NULL
;
30089 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30097 if (SWIG_arg_fail(1)) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30105 Py_INCREF(Py_None
); resultobj
= Py_None
;
30112 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30113 PyObject
*resultobj
= NULL
;
30114 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30115 wxDataObject
*result
;
30116 PyObject
* obj0
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "self", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30123 if (SWIG_arg_fail(1)) SWIG_fail
;
30125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30138 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
= NULL
;
30140 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30141 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30142 PyObject
* obj0
= 0 ;
30143 PyObject
* obj1
= 0 ;
30144 char *kwnames
[] = {
30145 (char *) "self",(char *) "dataObject", NULL
30148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(1)) SWIG_fail
;
30151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30152 if (SWIG_arg_fail(2)) SWIG_fail
;
30154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30155 (arg1
)->SetDataObject(arg2
);
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 Py_INCREF(Py_None
); resultobj
= Py_None
;
30167 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
= NULL
;
30169 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30172 wxDragResult arg4
;
30173 wxDragResult result
;
30174 PyObject
* obj0
= 0 ;
30175 PyObject
* obj1
= 0 ;
30176 PyObject
* obj2
= 0 ;
30177 PyObject
* obj3
= 0 ;
30178 char *kwnames
[] = {
30179 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30184 if (SWIG_arg_fail(1)) SWIG_fail
;
30186 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30187 if (SWIG_arg_fail(2)) SWIG_fail
;
30190 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30191 if (SWIG_arg_fail(3)) SWIG_fail
;
30194 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30195 if (SWIG_arg_fail(4)) SWIG_fail
;
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= SWIG_From_int((result
));
30211 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
= NULL
;
30213 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30216 wxDragResult arg4
;
30217 wxDragResult result
;
30218 PyObject
* obj0
= 0 ;
30219 PyObject
* obj1
= 0 ;
30220 PyObject
* obj2
= 0 ;
30221 PyObject
* obj3
= 0 ;
30222 char *kwnames
[] = {
30223 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30228 if (SWIG_arg_fail(1)) SWIG_fail
;
30230 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30231 if (SWIG_arg_fail(2)) SWIG_fail
;
30234 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30235 if (SWIG_arg_fail(3)) SWIG_fail
;
30238 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30239 if (SWIG_arg_fail(4)) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 resultobj
= SWIG_From_int((result
));
30255 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
= NULL
;
30257 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30258 PyObject
* obj0
= 0 ;
30259 char *kwnames
[] = {
30260 (char *) "self", NULL
30263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30265 if (SWIG_arg_fail(1)) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->base_OnLeave();
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 Py_INCREF(Py_None
); resultobj
= Py_None
;
30280 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
= NULL
;
30282 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30286 PyObject
* obj0
= 0 ;
30287 PyObject
* obj1
= 0 ;
30288 PyObject
* obj2
= 0 ;
30289 char *kwnames
[] = {
30290 (char *) "self",(char *) "x",(char *) "y", NULL
30293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30295 if (SWIG_arg_fail(1)) SWIG_fail
;
30297 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30298 if (SWIG_arg_fail(2)) SWIG_fail
;
30301 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30302 if (SWIG_arg_fail(3)) SWIG_fail
;
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30320 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
= NULL
;
30322 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30324 PyObject
* obj0
= 0 ;
30325 char *kwnames
[] = {
30326 (char *) "self", NULL
30329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30331 if (SWIG_arg_fail(1)) SWIG_fail
;
30333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30334 result
= (bool)(arg1
)->GetData();
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30348 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30349 PyObject
*resultobj
= NULL
;
30350 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30351 wxDragResult arg2
;
30352 PyObject
* obj0
= 0 ;
30353 PyObject
* obj1
= 0 ;
30354 char *kwnames
[] = {
30355 (char *) "self",(char *) "action", NULL
30358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30360 if (SWIG_arg_fail(1)) SWIG_fail
;
30362 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30363 if (SWIG_arg_fail(2)) SWIG_fail
;
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 (arg1
)->SetDefaultAction(arg2
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 Py_INCREF(Py_None
); resultobj
= Py_None
;
30379 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
= NULL
;
30381 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30382 wxDragResult result
;
30383 PyObject
* obj0
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30390 if (SWIG_arg_fail(1)) SWIG_fail
;
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 resultobj
= SWIG_From_int((result
));
30405 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30408 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30410 return Py_BuildValue((char *)"");
30412 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
= NULL
;
30414 wxPyTextDropTarget
*result
;
30415 char *kwnames
[] = {
30419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30434 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
= NULL
;
30436 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30437 PyObject
*arg2
= (PyObject
*) 0 ;
30438 PyObject
*arg3
= (PyObject
*) 0 ;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 PyObject
* obj2
= 0 ;
30442 char *kwnames
[] = {
30443 (char *) "self",(char *) "self",(char *) "_class", NULL
30446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30448 if (SWIG_arg_fail(1)) SWIG_fail
;
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 Py_INCREF(Py_None
); resultobj
= Py_None
;
30465 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
= NULL
;
30467 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30470 wxDragResult arg4
;
30471 wxDragResult result
;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 PyObject
* obj2
= 0 ;
30475 PyObject
* obj3
= 0 ;
30476 char *kwnames
[] = {
30477 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30482 if (SWIG_arg_fail(1)) SWIG_fail
;
30484 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30485 if (SWIG_arg_fail(2)) SWIG_fail
;
30488 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30489 if (SWIG_arg_fail(3)) SWIG_fail
;
30492 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30493 if (SWIG_arg_fail(4)) SWIG_fail
;
30496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30497 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 resultobj
= SWIG_From_int((result
));
30509 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30510 PyObject
*resultobj
= NULL
;
30511 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30514 wxDragResult arg4
;
30515 wxDragResult result
;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 PyObject
* obj2
= 0 ;
30519 PyObject
* obj3
= 0 ;
30520 char *kwnames
[] = {
30521 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30526 if (SWIG_arg_fail(1)) SWIG_fail
;
30528 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30529 if (SWIG_arg_fail(2)) SWIG_fail
;
30532 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30533 if (SWIG_arg_fail(3)) SWIG_fail
;
30536 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30537 if (SWIG_arg_fail(4)) SWIG_fail
;
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30546 resultobj
= SWIG_From_int((result
));
30553 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
= NULL
;
30555 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30563 if (SWIG_arg_fail(1)) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 (arg1
)->base_OnLeave();
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 Py_INCREF(Py_None
); resultobj
= Py_None
;
30578 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
= NULL
;
30580 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 PyObject
* obj2
= 0 ;
30587 char *kwnames
[] = {
30588 (char *) "self",(char *) "x",(char *) "y", NULL
30591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30593 if (SWIG_arg_fail(1)) SWIG_fail
;
30595 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30596 if (SWIG_arg_fail(2)) SWIG_fail
;
30599 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30600 if (SWIG_arg_fail(3)) SWIG_fail
;
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30606 wxPyEndAllowThreads(__tstate
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30618 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30619 PyObject
*resultobj
= NULL
;
30620 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30623 wxDragResult arg4
;
30624 wxDragResult result
;
30625 PyObject
* obj0
= 0 ;
30626 PyObject
* obj1
= 0 ;
30627 PyObject
* obj2
= 0 ;
30628 PyObject
* obj3
= 0 ;
30629 char *kwnames
[] = {
30630 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30635 if (SWIG_arg_fail(1)) SWIG_fail
;
30637 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30638 if (SWIG_arg_fail(2)) SWIG_fail
;
30641 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30642 if (SWIG_arg_fail(3)) SWIG_fail
;
30645 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30646 if (SWIG_arg_fail(4)) SWIG_fail
;
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30650 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= SWIG_From_int((result
));
30662 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30665 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30667 return Py_BuildValue((char *)"");
30669 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
= NULL
;
30671 wxPyFileDropTarget
*result
;
30672 char *kwnames
[] = {
30676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30679 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30691 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
= NULL
;
30693 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30694 PyObject
*arg2
= (PyObject
*) 0 ;
30695 PyObject
*arg3
= (PyObject
*) 0 ;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 PyObject
* obj2
= 0 ;
30699 char *kwnames
[] = {
30700 (char *) "self",(char *) "self",(char *) "_class", NULL
30703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30705 if (SWIG_arg_fail(1)) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 Py_INCREF(Py_None
); resultobj
= Py_None
;
30722 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
= NULL
;
30724 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30727 wxDragResult arg4
;
30728 wxDragResult result
;
30729 PyObject
* obj0
= 0 ;
30730 PyObject
* obj1
= 0 ;
30731 PyObject
* obj2
= 0 ;
30732 PyObject
* obj3
= 0 ;
30733 char *kwnames
[] = {
30734 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30739 if (SWIG_arg_fail(1)) SWIG_fail
;
30741 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30742 if (SWIG_arg_fail(2)) SWIG_fail
;
30745 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30746 if (SWIG_arg_fail(3)) SWIG_fail
;
30749 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30750 if (SWIG_arg_fail(4)) SWIG_fail
;
30753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30754 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_From_int((result
));
30766 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
= NULL
;
30768 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30771 wxDragResult arg4
;
30772 wxDragResult result
;
30773 PyObject
* obj0
= 0 ;
30774 PyObject
* obj1
= 0 ;
30775 PyObject
* obj2
= 0 ;
30776 PyObject
* obj3
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30783 if (SWIG_arg_fail(1)) SWIG_fail
;
30785 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30786 if (SWIG_arg_fail(2)) SWIG_fail
;
30789 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30790 if (SWIG_arg_fail(3)) SWIG_fail
;
30793 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30794 if (SWIG_arg_fail(4)) SWIG_fail
;
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= SWIG_From_int((result
));
30810 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30811 PyObject
*resultobj
= NULL
;
30812 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30813 PyObject
* obj0
= 0 ;
30814 char *kwnames
[] = {
30815 (char *) "self", NULL
30818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30820 if (SWIG_arg_fail(1)) SWIG_fail
;
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 (arg1
)->base_OnLeave();
30825 wxPyEndAllowThreads(__tstate
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30828 Py_INCREF(Py_None
); resultobj
= Py_None
;
30835 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
= NULL
;
30837 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30841 PyObject
* obj0
= 0 ;
30842 PyObject
* obj1
= 0 ;
30843 PyObject
* obj2
= 0 ;
30844 char *kwnames
[] = {
30845 (char *) "self",(char *) "x",(char *) "y", NULL
30848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30850 if (SWIG_arg_fail(1)) SWIG_fail
;
30852 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30853 if (SWIG_arg_fail(2)) SWIG_fail
;
30856 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30857 if (SWIG_arg_fail(3)) SWIG_fail
;
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30875 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
= NULL
;
30877 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30880 wxDragResult arg4
;
30881 wxDragResult result
;
30882 PyObject
* obj0
= 0 ;
30883 PyObject
* obj1
= 0 ;
30884 PyObject
* obj2
= 0 ;
30885 PyObject
* obj3
= 0 ;
30886 char *kwnames
[] = {
30887 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30892 if (SWIG_arg_fail(1)) SWIG_fail
;
30894 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30895 if (SWIG_arg_fail(2)) SWIG_fail
;
30898 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30899 if (SWIG_arg_fail(3)) SWIG_fail
;
30902 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30903 if (SWIG_arg_fail(4)) SWIG_fail
;
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30912 resultobj
= SWIG_From_int((result
));
30919 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30922 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
30924 return Py_BuildValue((char *)"");
30926 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30927 PyObject
*resultobj
= NULL
;
30928 wxClipboard
*result
;
30929 char *kwnames
[] = {
30933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 result
= (wxClipboard
*)new wxClipboard();
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
30948 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30949 PyObject
*resultobj
= NULL
;
30950 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
30957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30958 if (SWIG_arg_fail(1)) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30966 Py_INCREF(Py_None
); resultobj
= Py_None
;
30973 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
= NULL
;
30975 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30977 PyObject
* obj0
= 0 ;
30978 char *kwnames
[] = {
30979 (char *) "self", NULL
30982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
30983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30984 if (SWIG_arg_fail(1)) SWIG_fail
;
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 result
= (bool)(arg1
)->Open();
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31001 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31002 PyObject
*resultobj
= NULL
;
31003 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31004 PyObject
* obj0
= 0 ;
31005 char *kwnames
[] = {
31006 (char *) "self", NULL
31009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
31010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31011 if (SWIG_arg_fail(1)) SWIG_fail
;
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31019 Py_INCREF(Py_None
); resultobj
= Py_None
;
31026 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31027 PyObject
*resultobj
= NULL
;
31028 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31030 PyObject
* obj0
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31054 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31055 PyObject
*resultobj
= NULL
;
31056 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31057 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self",(char *) "data", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31067 if (SWIG_arg_fail(1)) SWIG_fail
;
31068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31069 if (SWIG_arg_fail(2)) SWIG_fail
;
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 result
= (bool)(arg1
)->AddData(arg2
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31086 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
= NULL
;
31088 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31089 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self",(char *) "data", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31099 if (SWIG_arg_fail(1)) SWIG_fail
;
31100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31101 if (SWIG_arg_fail(2)) SWIG_fail
;
31103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31104 result
= (bool)(arg1
)->SetData(arg2
);
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31118 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
= NULL
;
31120 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31121 wxDataFormat
*arg2
= 0 ;
31123 PyObject
* obj0
= 0 ;
31124 PyObject
* obj1
= 0 ;
31125 char *kwnames
[] = {
31126 (char *) "self",(char *) "format", NULL
31129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31131 if (SWIG_arg_fail(1)) SWIG_fail
;
31133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31134 if (SWIG_arg_fail(2)) SWIG_fail
;
31135 if (arg2
== NULL
) {
31136 SWIG_null_ref("wxDataFormat");
31138 if (SWIG_arg_fail(2)) SWIG_fail
;
31141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31142 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31156 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
= NULL
;
31158 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31159 wxDataObject
*arg2
= 0 ;
31161 PyObject
* obj0
= 0 ;
31162 PyObject
* obj1
= 0 ;
31163 char *kwnames
[] = {
31164 (char *) "self",(char *) "data", NULL
31167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31169 if (SWIG_arg_fail(1)) SWIG_fail
;
31171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31172 if (SWIG_arg_fail(2)) SWIG_fail
;
31173 if (arg2
== NULL
) {
31174 SWIG_null_ref("wxDataObject");
31176 if (SWIG_arg_fail(2)) SWIG_fail
;
31179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31180 result
= (bool)(arg1
)->GetData(*arg2
);
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31194 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31195 PyObject
*resultobj
= NULL
;
31196 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31197 PyObject
* obj0
= 0 ;
31198 char *kwnames
[] = {
31199 (char *) "self", NULL
31202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31204 if (SWIG_arg_fail(1)) SWIG_fail
;
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31212 Py_INCREF(Py_None
); resultobj
= Py_None
;
31219 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
= NULL
;
31221 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31223 PyObject
* obj0
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "self", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31230 if (SWIG_arg_fail(1)) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= (bool)(arg1
)->Flush();
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31247 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31248 PyObject
*resultobj
= NULL
;
31249 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31250 bool arg2
= (bool) true ;
31251 PyObject
* obj0
= 0 ;
31252 PyObject
* obj1
= 0 ;
31253 char *kwnames
[] = {
31254 (char *) "self",(char *) "primary", NULL
31257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31259 if (SWIG_arg_fail(1)) SWIG_fail
;
31262 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31263 if (SWIG_arg_fail(2)) SWIG_fail
;
31267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31268 (arg1
)->UsePrimarySelection(arg2
);
31270 wxPyEndAllowThreads(__tstate
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31273 Py_INCREF(Py_None
); resultobj
= Py_None
;
31280 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
= NULL
;
31282 wxClipboard
*result
;
31283 char *kwnames
[] = {
31287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 result
= (wxClipboard
*)wxClipboard::Get();
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31302 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31305 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31307 return Py_BuildValue((char *)"");
31309 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31310 PyObject
*resultobj
= NULL
;
31311 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31312 wxClipboardLocker
*result
;
31313 PyObject
* obj0
= 0 ;
31314 char *kwnames
[] = {
31315 (char *) "clipboard", NULL
31318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31321 if (SWIG_arg_fail(1)) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31337 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
= NULL
;
31339 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31340 PyObject
* obj0
= 0 ;
31341 char *kwnames
[] = {
31342 (char *) "self", NULL
31345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31347 if (SWIG_arg_fail(1)) SWIG_fail
;
31349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31352 wxPyEndAllowThreads(__tstate
);
31353 if (PyErr_Occurred()) SWIG_fail
;
31355 Py_INCREF(Py_None
); resultobj
= Py_None
;
31362 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31363 PyObject
*resultobj
= NULL
;
31364 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31366 PyObject
* obj0
= 0 ;
31367 char *kwnames
[] = {
31368 (char *) "self", NULL
31371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31373 if (SWIG_arg_fail(1)) SWIG_fail
;
31375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31376 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31390 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31393 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31395 return Py_BuildValue((char *)"");
31397 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31398 PyObject
*resultobj
= NULL
;
31399 int arg1
= (int) 0 ;
31400 int arg2
= (int) 0 ;
31401 int arg3
= (int) 0 ;
31402 int arg4
= (int) 0 ;
31403 wxVideoMode
*result
;
31404 PyObject
* obj0
= 0 ;
31405 PyObject
* obj1
= 0 ;
31406 PyObject
* obj2
= 0 ;
31407 PyObject
* obj3
= 0 ;
31408 char *kwnames
[] = {
31409 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31415 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31416 if (SWIG_arg_fail(1)) SWIG_fail
;
31421 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31422 if (SWIG_arg_fail(2)) SWIG_fail
;
31427 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31428 if (SWIG_arg_fail(3)) SWIG_fail
;
31433 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31434 if (SWIG_arg_fail(4)) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31451 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31452 PyObject
*resultobj
= NULL
;
31453 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31454 PyObject
* obj0
= 0 ;
31455 char *kwnames
[] = {
31456 (char *) "self", NULL
31459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31461 if (SWIG_arg_fail(1)) SWIG_fail
;
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31469 Py_INCREF(Py_None
); resultobj
= Py_None
;
31476 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31477 PyObject
*resultobj
= NULL
;
31478 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31479 wxVideoMode
*arg2
= 0 ;
31481 PyObject
* obj0
= 0 ;
31482 PyObject
* obj1
= 0 ;
31483 char *kwnames
[] = {
31484 (char *) "self",(char *) "other", NULL
31487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31489 if (SWIG_arg_fail(1)) SWIG_fail
;
31491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31492 if (SWIG_arg_fail(2)) SWIG_fail
;
31493 if (arg2
== NULL
) {
31494 SWIG_null_ref("wxVideoMode");
31496 if (SWIG_arg_fail(2)) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31514 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
= NULL
;
31516 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31518 PyObject
* obj0
= 0 ;
31519 char *kwnames
[] = {
31520 (char *) "self", NULL
31523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31525 if (SWIG_arg_fail(1)) SWIG_fail
;
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31530 wxPyEndAllowThreads(__tstate
);
31531 if (PyErr_Occurred()) SWIG_fail
;
31534 resultobj
= SWIG_From_int(static_cast<int >(result
));
31542 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
= NULL
;
31544 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31546 PyObject
* obj0
= 0 ;
31547 char *kwnames
[] = {
31548 (char *) "self", NULL
31551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31553 if (SWIG_arg_fail(1)) SWIG_fail
;
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31562 resultobj
= SWIG_From_int(static_cast<int >(result
));
31570 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31571 PyObject
*resultobj
= NULL
;
31572 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31574 PyObject
* obj0
= 0 ;
31575 char *kwnames
[] = {
31576 (char *) "self", NULL
31579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31581 if (SWIG_arg_fail(1)) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31590 resultobj
= SWIG_From_int(static_cast<int >(result
));
31598 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
= NULL
;
31600 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31602 PyObject
* obj0
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31609 if (SWIG_arg_fail(1)) SWIG_fail
;
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31612 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31626 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
= NULL
;
31628 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31629 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31631 PyObject
* obj0
= 0 ;
31632 PyObject
* obj1
= 0 ;
31633 char *kwnames
[] = {
31634 (char *) "self",(char *) "other", NULL
31637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31639 if (SWIG_arg_fail(1)) SWIG_fail
;
31640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31641 if (SWIG_arg_fail(2)) SWIG_fail
;
31643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31644 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31646 wxPyEndAllowThreads(__tstate
);
31647 if (PyErr_Occurred()) SWIG_fail
;
31650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31658 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31659 PyObject
*resultobj
= NULL
;
31660 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31661 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31663 PyObject
* obj0
= 0 ;
31664 PyObject
* obj1
= 0 ;
31665 char *kwnames
[] = {
31666 (char *) "self",(char *) "other", NULL
31669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31671 if (SWIG_arg_fail(1)) SWIG_fail
;
31672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31673 if (SWIG_arg_fail(2)) SWIG_fail
;
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31690 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
= NULL
;
31692 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self",(char *) "w", NULL
31700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31702 if (SWIG_arg_fail(1)) SWIG_fail
;
31704 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31705 if (SWIG_arg_fail(2)) SWIG_fail
;
31707 if (arg1
) (arg1
)->w
= arg2
;
31709 Py_INCREF(Py_None
); resultobj
= Py_None
;
31716 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31717 PyObject
*resultobj
= NULL
;
31718 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31720 PyObject
* obj0
= 0 ;
31721 char *kwnames
[] = {
31722 (char *) "self", NULL
31725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31727 if (SWIG_arg_fail(1)) SWIG_fail
;
31728 result
= (int) ((arg1
)->w
);
31731 resultobj
= SWIG_From_int(static_cast<int >(result
));
31739 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
= NULL
;
31741 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31743 PyObject
* obj0
= 0 ;
31744 PyObject
* obj1
= 0 ;
31745 char *kwnames
[] = {
31746 (char *) "self",(char *) "h", NULL
31749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31751 if (SWIG_arg_fail(1)) SWIG_fail
;
31753 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31754 if (SWIG_arg_fail(2)) SWIG_fail
;
31756 if (arg1
) (arg1
)->h
= arg2
;
31758 Py_INCREF(Py_None
); resultobj
= Py_None
;
31765 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
= NULL
;
31767 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31769 PyObject
* obj0
= 0 ;
31770 char *kwnames
[] = {
31771 (char *) "self", NULL
31774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
31775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31776 if (SWIG_arg_fail(1)) SWIG_fail
;
31777 result
= (int) ((arg1
)->h
);
31780 resultobj
= SWIG_From_int(static_cast<int >(result
));
31788 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31789 PyObject
*resultobj
= NULL
;
31790 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31792 PyObject
* obj0
= 0 ;
31793 PyObject
* obj1
= 0 ;
31794 char *kwnames
[] = {
31795 (char *) "self",(char *) "bpp", NULL
31798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31800 if (SWIG_arg_fail(1)) SWIG_fail
;
31802 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31803 if (SWIG_arg_fail(2)) SWIG_fail
;
31805 if (arg1
) (arg1
)->bpp
= arg2
;
31807 Py_INCREF(Py_None
); resultobj
= Py_None
;
31814 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
= NULL
;
31816 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31818 PyObject
* obj0
= 0 ;
31819 char *kwnames
[] = {
31820 (char *) "self", NULL
31823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
31824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31825 if (SWIG_arg_fail(1)) SWIG_fail
;
31826 result
= (int) ((arg1
)->bpp
);
31829 resultobj
= SWIG_From_int(static_cast<int >(result
));
31837 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31838 PyObject
*resultobj
= NULL
;
31839 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31841 PyObject
* obj0
= 0 ;
31842 PyObject
* obj1
= 0 ;
31843 char *kwnames
[] = {
31844 (char *) "self",(char *) "refresh", NULL
31847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31849 if (SWIG_arg_fail(1)) SWIG_fail
;
31851 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31852 if (SWIG_arg_fail(2)) SWIG_fail
;
31854 if (arg1
) (arg1
)->refresh
= arg2
;
31856 Py_INCREF(Py_None
); resultobj
= Py_None
;
31863 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
= NULL
;
31865 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31867 PyObject
* obj0
= 0 ;
31868 char *kwnames
[] = {
31869 (char *) "self", NULL
31872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
31873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31874 if (SWIG_arg_fail(1)) SWIG_fail
;
31875 result
= (int) ((arg1
)->refresh
);
31878 resultobj
= SWIG_From_int(static_cast<int >(result
));
31886 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
31888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31889 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
31891 return Py_BuildValue((char *)"");
31893 static int _wrap_DefaultVideoMode_set(PyObject
*) {
31894 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
31899 static PyObject
*_wrap_DefaultVideoMode_get(void) {
31900 PyObject
*pyobj
= NULL
;
31902 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
31907 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
= NULL
;
31909 size_t arg1
= (size_t) 0 ;
31911 PyObject
* obj0
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "index", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
31919 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
31920 if (SWIG_arg_fail(1)) SWIG_fail
;
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 result
= (wxDisplay
*)new wxDisplay(arg1
);
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
31937 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
= NULL
;
31939 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31940 PyObject
* obj0
= 0 ;
31941 char *kwnames
[] = {
31942 (char *) "self", NULL
31945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
31946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31947 if (SWIG_arg_fail(1)) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31952 wxPyEndAllowThreads(__tstate
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31955 Py_INCREF(Py_None
); resultobj
= Py_None
;
31962 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31963 PyObject
*resultobj
= NULL
;
31965 char *kwnames
[] = {
31969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 result
= (size_t)wxDisplay::GetCount();
31974 wxPyEndAllowThreads(__tstate
);
31975 if (PyErr_Occurred()) SWIG_fail
;
31978 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
31986 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31987 PyObject
*resultobj
= NULL
;
31988 wxPoint
*arg1
= 0 ;
31991 PyObject
* obj0
= 0 ;
31992 char *kwnames
[] = {
31993 (char *) "pt", NULL
31996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
31999 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32003 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32005 wxPyEndAllowThreads(__tstate
);
32006 if (PyErr_Occurred()) SWIG_fail
;
32009 resultobj
= SWIG_From_int(static_cast<int >(result
));
32017 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32018 PyObject
*resultobj
= NULL
;
32019 wxWindow
*arg1
= (wxWindow
*) 0 ;
32021 PyObject
* obj0
= 0 ;
32022 char *kwnames
[] = {
32023 (char *) "window", NULL
32026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32028 if (SWIG_arg_fail(1)) SWIG_fail
;
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 result
= (int)wxDisplay_GetFromWindow(arg1
);
32033 wxPyEndAllowThreads(__tstate
);
32034 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_From_int(static_cast<int >(result
));
32045 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32046 PyObject
*resultobj
= NULL
;
32047 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32049 PyObject
* obj0
= 0 ;
32050 char *kwnames
[] = {
32051 (char *) "self", NULL
32054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32056 if (SWIG_arg_fail(1)) SWIG_fail
;
32058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32059 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32061 wxPyEndAllowThreads(__tstate
);
32062 if (PyErr_Occurred()) SWIG_fail
;
32065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32073 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
= NULL
;
32075 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32077 PyObject
* obj0
= 0 ;
32078 char *kwnames
[] = {
32079 (char *) "self", NULL
32082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32084 if (SWIG_arg_fail(1)) SWIG_fail
;
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32089 wxPyEndAllowThreads(__tstate
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32093 wxRect
* resultptr
;
32094 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32103 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
= NULL
;
32105 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32107 PyObject
* obj0
= 0 ;
32108 char *kwnames
[] = {
32109 (char *) "self", NULL
32112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32114 if (SWIG_arg_fail(1)) SWIG_fail
;
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32117 result
= ((wxDisplay
const *)arg1
)->GetName();
32119 wxPyEndAllowThreads(__tstate
);
32120 if (PyErr_Occurred()) SWIG_fail
;
32124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32135 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32136 PyObject
*resultobj
= NULL
;
32137 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32139 PyObject
* obj0
= 0 ;
32140 char *kwnames
[] = {
32141 (char *) "self", NULL
32144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32146 if (SWIG_arg_fail(1)) SWIG_fail
;
32148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32149 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32163 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32164 PyObject
*resultobj
= NULL
;
32165 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32166 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32167 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32169 PyObject
* obj0
= 0 ;
32170 PyObject
* obj1
= 0 ;
32171 char *kwnames
[] = {
32172 (char *) "self",(char *) "mode", NULL
32175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32177 if (SWIG_arg_fail(1)) SWIG_fail
;
32180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32181 if (SWIG_arg_fail(2)) SWIG_fail
;
32182 if (arg2
== NULL
) {
32183 SWIG_null_ref("wxVideoMode");
32185 if (SWIG_arg_fail(2)) SWIG_fail
;
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32192 wxPyEndAllowThreads(__tstate
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32195 resultobj
= result
;
32202 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32203 PyObject
*resultobj
= NULL
;
32204 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32205 wxVideoMode result
;
32206 PyObject
* obj0
= 0 ;
32207 char *kwnames
[] = {
32208 (char *) "self", NULL
32211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32213 if (SWIG_arg_fail(1)) SWIG_fail
;
32215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32216 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32218 wxPyEndAllowThreads(__tstate
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32222 wxVideoMode
* resultptr
;
32223 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32232 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32233 PyObject
*resultobj
= NULL
;
32234 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32235 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32236 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32238 PyObject
* obj0
= 0 ;
32239 PyObject
* obj1
= 0 ;
32240 char *kwnames
[] = {
32241 (char *) "self",(char *) "mode", NULL
32244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32246 if (SWIG_arg_fail(1)) SWIG_fail
;
32249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32250 if (SWIG_arg_fail(2)) SWIG_fail
;
32251 if (arg2
== NULL
) {
32252 SWIG_null_ref("wxVideoMode");
32254 if (SWIG_arg_fail(2)) SWIG_fail
;
32258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32259 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32261 wxPyEndAllowThreads(__tstate
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32273 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32274 PyObject
*resultobj
= NULL
;
32275 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32276 PyObject
* obj0
= 0 ;
32277 char *kwnames
[] = {
32278 (char *) "self", NULL
32281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32283 if (SWIG_arg_fail(1)) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 (arg1
)->ResetMode();
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 Py_INCREF(Py_None
); resultobj
= Py_None
;
32298 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32301 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32303 return Py_BuildValue((char *)"");
32305 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
= NULL
;
32307 wxStandardPaths
*result
;
32308 char *kwnames
[] = {
32312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32327 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
= NULL
;
32329 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32331 PyObject
* obj0
= 0 ;
32332 char *kwnames
[] = {
32333 (char *) "self", NULL
32336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32338 if (SWIG_arg_fail(1)) SWIG_fail
;
32340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32341 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32343 wxPyEndAllowThreads(__tstate
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32359 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32360 PyObject
*resultobj
= NULL
;
32361 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32363 PyObject
* obj0
= 0 ;
32364 char *kwnames
[] = {
32365 (char *) "self", NULL
32368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32370 if (SWIG_arg_fail(1)) SWIG_fail
;
32372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32373 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32375 wxPyEndAllowThreads(__tstate
);
32376 if (PyErr_Occurred()) SWIG_fail
;
32380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32391 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32392 PyObject
*resultobj
= NULL
;
32393 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32395 PyObject
* obj0
= 0 ;
32396 char *kwnames
[] = {
32397 (char *) "self", NULL
32400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32402 if (SWIG_arg_fail(1)) SWIG_fail
;
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32407 wxPyEndAllowThreads(__tstate
);
32408 if (PyErr_Occurred()) SWIG_fail
;
32412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32423 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32424 PyObject
*resultobj
= NULL
;
32425 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32427 PyObject
* obj0
= 0 ;
32428 char *kwnames
[] = {
32429 (char *) "self", NULL
32432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32434 if (SWIG_arg_fail(1)) SWIG_fail
;
32436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32437 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32439 wxPyEndAllowThreads(__tstate
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32455 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32456 PyObject
*resultobj
= NULL
;
32457 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32459 PyObject
* obj0
= 0 ;
32460 char *kwnames
[] = {
32461 (char *) "self", NULL
32464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32466 if (SWIG_arg_fail(1)) SWIG_fail
;
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32487 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
= NULL
;
32489 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32491 PyObject
* obj0
= 0 ;
32492 char *kwnames
[] = {
32493 (char *) "self", NULL
32496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32498 if (SWIG_arg_fail(1)) SWIG_fail
;
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32519 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32520 PyObject
*resultobj
= NULL
;
32521 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32523 PyObject
* obj0
= 0 ;
32524 char *kwnames
[] = {
32525 (char *) "self", NULL
32528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32530 if (SWIG_arg_fail(1)) SWIG_fail
;
32532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32535 wxPyEndAllowThreads(__tstate
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32551 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32552 PyObject
*resultobj
= NULL
;
32553 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32554 wxString
*arg2
= 0 ;
32555 bool temp2
= false ;
32556 PyObject
* obj0
= 0 ;
32557 PyObject
* obj1
= 0 ;
32558 char *kwnames
[] = {
32559 (char *) "self",(char *) "prefix", NULL
32562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32564 if (SWIG_arg_fail(1)) SWIG_fail
;
32566 arg2
= wxString_in_helper(obj1
);
32567 if (arg2
== NULL
) SWIG_fail
;
32571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32572 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32577 Py_INCREF(Py_None
); resultobj
= Py_None
;
32592 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
= NULL
;
32594 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32596 PyObject
* obj0
= 0 ;
32597 char *kwnames
[] = {
32598 (char *) "self", NULL
32601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32603 if (SWIG_arg_fail(1)) SWIG_fail
;
32605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32606 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
32608 wxPyEndAllowThreads(__tstate
);
32609 if (PyErr_Occurred()) SWIG_fail
;
32613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32624 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32627 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32629 return Py_BuildValue((char *)"");
32631 static PyMethodDef SwigMethods
[] = {
32632 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32633 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32635 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32636 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32637 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32638 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32639 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32643 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32645 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32646 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32647 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32729 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32736 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32744 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
32762 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
32765 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
32768 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
32771 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
32777 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
32791 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
32797 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
32803 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32805 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
32806 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32807 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32809 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32810 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
32820 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
32823 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
32824 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
32827 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
32854 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
32856 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
32858 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
32860 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
32867 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
32873 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32874 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
32877 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
32891 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
32895 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
32898 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
32915 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
32923 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
32970 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
32988 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
32998 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33014 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33030 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33044 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33054 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33097 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33100 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33103 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33104 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33107 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33206 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33207 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33208 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33209 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33226 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33271 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33305 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33313 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33314 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33319 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33328 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33335 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33338 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33341 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33346 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33349 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33353 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33356 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33360 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33361 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33365 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33369 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33371 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33376 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33381 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33385 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33394 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33398 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33399 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33402 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33403 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33410 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33418 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33424 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33428 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33446 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33455 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33456 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33460 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33471 { NULL
, NULL
, 0, NULL
}
33475 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33477 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33480 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33481 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33483 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33484 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33486 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33487 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33489 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33490 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33492 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33493 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33495 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33496 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33498 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33499 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33501 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33502 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33504 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33505 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33507 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33508 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33510 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33511 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33513 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33514 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33516 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33517 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33519 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33520 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33522 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33523 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33525 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33526 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33528 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33529 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33531 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33532 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33534 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33535 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33537 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33538 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33540 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33541 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33543 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33544 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33546 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33547 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33549 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33550 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33552 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33553 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33555 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33556 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33558 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33559 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33561 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33562 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33564 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33565 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33567 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33568 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33570 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33571 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33573 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33574 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33576 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33577 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33579 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33580 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33582 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33583 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33585 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33586 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33588 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33589 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33591 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33592 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33594 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33595 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33597 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33598 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33600 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33601 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33603 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33604 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33606 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33607 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33609 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33610 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33612 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33613 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33615 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33616 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33618 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33619 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33621 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33622 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33624 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33625 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33627 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33628 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33630 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33631 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33633 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33634 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33636 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33637 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33639 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33640 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33642 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33643 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33645 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33646 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33648 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33649 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33651 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33652 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33654 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33655 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33657 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33658 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33660 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33661 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33663 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33664 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33666 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33667 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33669 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33672 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33673 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33675 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33676 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33678 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33679 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33681 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33682 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33684 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33685 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33687 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33688 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33690 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33691 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33693 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33694 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33696 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33697 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33699 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33700 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33702 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33703 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33705 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33708 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33709 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33711 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33712 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33714 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33715 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33717 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33718 return (void *)((wxObject
*) ((wxSizer
*) x
));
33720 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33721 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33723 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33724 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33726 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33729 static void *_p_wxEventTo_p_wxObject(void *x
) {
33730 return (void *)((wxObject
*) ((wxEvent
*) x
));
33732 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33733 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33735 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33736 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33738 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33739 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33741 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33742 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33744 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33745 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33747 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33748 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33750 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33751 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33753 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33754 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33756 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33757 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33759 static void *_p_wxControlTo_p_wxObject(void *x
) {
33760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33762 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33763 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33765 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
33766 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
33768 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33769 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33771 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
33772 return (void *)((wxObject
*) ((wxClipboard
*) x
));
33774 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33775 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33777 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33778 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33780 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33783 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33784 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33786 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
33787 return (void *)((wxObject
*) ((wxToolTip
*) x
));
33789 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33790 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33792 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33795 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33796 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33798 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33801 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33802 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33804 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33805 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33807 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33808 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33810 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33811 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33813 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33814 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33816 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33817 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33819 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33820 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33822 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33823 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33825 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33826 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33828 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33831 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33832 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33834 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33835 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33837 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33838 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33840 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33841 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33843 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33844 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33846 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33847 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33849 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33850 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33852 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33853 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33855 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33856 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33858 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33859 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33861 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33862 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33864 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33865 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33867 static void *_p_wxImageTo_p_wxObject(void *x
) {
33868 return (void *)((wxObject
*) ((wxImage
*) x
));
33870 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33871 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33873 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
33874 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
33876 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
33877 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
33879 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33882 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33883 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33885 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33886 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33888 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33889 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33891 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33892 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33894 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33897 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
33898 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
33900 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33901 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33903 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33906 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33907 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33909 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33910 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33912 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33913 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33915 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33916 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33918 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33919 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33921 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
33922 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
33924 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33927 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33928 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33930 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33931 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33933 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33934 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33936 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33939 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
33940 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
33942 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33945 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33948 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33951 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
33954 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
33955 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
33957 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
33958 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
33960 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
33961 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
33963 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
33964 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
33966 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
33967 return (void *)((wxLog
*) ((wxLogChain
*) x
));
33969 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
33970 return (void *)((wxLog
*) ((wxLogGui
*) x
));
33972 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
33973 return (void *)((wxLog
*) ((wxPyLog
*) x
));
33975 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33976 return (void *)((wxWindow
*) ((wxControl
*) x
));
33978 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33979 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33981 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33982 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33984 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
33985 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
33987 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
33988 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
33990 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
33991 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
33992 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
33993 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
33994 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
33995 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
33996 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
33997 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
33998 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
33999 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34000 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34001 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34002 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34003 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34004 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34005 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34006 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34007 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34008 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34009 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34010 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34011 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34012 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34013 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34014 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34015 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34016 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34017 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34018 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34019 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34020 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34021 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34022 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34023 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34024 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34025 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34026 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34027 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34028 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34029 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34030 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34031 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34032 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34033 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34034 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34035 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34036 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34037 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34038 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34039 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34040 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34041 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34042 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34043 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34044 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34045 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34046 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34047 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34048 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34049 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34050 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34051 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34052 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34053 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34054 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34055 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34056 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34057 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34058 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34059 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34060 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34061 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34062 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34063 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34064 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34065 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34066 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34067 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34068 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34069 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34070 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34071 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34072 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34073 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34074 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34075 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34076 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34077 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34078 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34079 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34080 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34081 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34082 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34083 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34084 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34085 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34086 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34087 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34088 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34089 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34090 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34091 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34092 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34093 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34094 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34095 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34096 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34097 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34098 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34099 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34100 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34101 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34102 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34103 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34104 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34105 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34106 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34107 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34108 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34109 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34110 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34111 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34112 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34113 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34114 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34115 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34116 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34117 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34118 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34119 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34120 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34121 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34122 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34123 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34124 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34125 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34126 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34127 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34128 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34129 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34130 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34131 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34132 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34133 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34134 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34135 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34136 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34137 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34138 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34139 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34140 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34141 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34142 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34143 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34144 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34145 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34146 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34147 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34148 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34149 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34150 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34151 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34152 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34153 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34154 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34155 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34156 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34157 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34158 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34159 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34160 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34161 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34163 static swig_type_info
*swig_type_initial
[] = {
34165 &_swigt__p_form_ops_t
,
34167 &_swigt__p_unsigned_char
,
34168 &_swigt__p_unsigned_int
,
34169 &_swigt__p_unsigned_long
,
34171 &_swigt__p_wxANIHandler
,
34172 &_swigt__p_wxAcceleratorTable
,
34173 &_swigt__p_wxActivateEvent
,
34174 &_swigt__p_wxArrayString
,
34175 &_swigt__p_wxBMPHandler
,
34176 &_swigt__p_wxBitmap
,
34177 &_swigt__p_wxBitmapDataObject
,
34178 &_swigt__p_wxBoxSizer
,
34179 &_swigt__p_wxBusyCursor
,
34180 &_swigt__p_wxBusyInfo
,
34181 &_swigt__p_wxCURHandler
,
34182 &_swigt__p_wxCaret
,
34184 &_swigt__p_wxChildFocusEvent
,
34185 &_swigt__p_wxClipboard
,
34186 &_swigt__p_wxClipboardLocker
,
34187 &_swigt__p_wxCloseEvent
,
34188 &_swigt__p_wxColour
,
34189 &_swigt__p_wxCommandEvent
,
34190 &_swigt__p_wxConfig
,
34191 &_swigt__p_wxConfigBase
,
34192 &_swigt__p_wxConfigPathChanger
,
34193 &_swigt__p_wxContextMenuEvent
,
34194 &_swigt__p_wxControl
,
34195 &_swigt__p_wxControlWithItems
,
34196 &_swigt__p_wxCursor
,
34197 &_swigt__p_wxCustomDataObject
,
34199 &_swigt__p_wxDataFormat
,
34200 &_swigt__p_wxDataObject
,
34201 &_swigt__p_wxDataObjectComposite
,
34202 &_swigt__p_wxDataObjectSimple
,
34203 &_swigt__p_wxDateEvent
,
34204 &_swigt__p_wxDateSpan
,
34205 &_swigt__p_wxDateTime
,
34206 &_swigt__p_wxDateTime__TimeZone
,
34207 &_swigt__p_wxDisplay
,
34208 &_swigt__p_wxDisplayChangedEvent
,
34209 &_swigt__p_wxDropFilesEvent
,
34210 &_swigt__p_wxDuplexMode
,
34211 &_swigt__p_wxEraseEvent
,
34212 &_swigt__p_wxEvent
,
34213 &_swigt__p_wxEvtHandler
,
34214 &_swigt__p_wxFSFile
,
34215 &_swigt__p_wxFileConfig
,
34216 &_swigt__p_wxFileDataObject
,
34217 &_swigt__p_wxFileHistory
,
34218 &_swigt__p_wxFileSystem
,
34219 &_swigt__p_wxFileType
,
34220 &_swigt__p_wxFileTypeInfo
,
34221 &_swigt__p_wxFlexGridSizer
,
34222 &_swigt__p_wxFocusEvent
,
34224 &_swigt__p_wxFrame
,
34225 &_swigt__p_wxGBSizerItem
,
34226 &_swigt__p_wxGIFHandler
,
34227 &_swigt__p_wxGridBagSizer
,
34228 &_swigt__p_wxGridSizer
,
34229 &_swigt__p_wxICOHandler
,
34231 &_swigt__p_wxIconizeEvent
,
34232 &_swigt__p_wxIdleEvent
,
34233 &_swigt__p_wxImage
,
34234 &_swigt__p_wxImageHandler
,
34235 &_swigt__p_wxIndividualLayoutConstraint
,
34236 &_swigt__p_wxInitDialogEvent
,
34237 &_swigt__p_wxJPEGHandler
,
34238 &_swigt__p_wxJoystick
,
34239 &_swigt__p_wxJoystickEvent
,
34240 &_swigt__p_wxKeyEvent
,
34241 &_swigt__p_wxKillError
,
34242 &_swigt__p_wxLayoutConstraints
,
34244 &_swigt__p_wxLogBuffer
,
34245 &_swigt__p_wxLogChain
,
34246 &_swigt__p_wxLogGui
,
34247 &_swigt__p_wxLogNull
,
34248 &_swigt__p_wxLogStderr
,
34249 &_swigt__p_wxLogTextCtrl
,
34250 &_swigt__p_wxLogWindow
,
34251 &_swigt__p_wxMaximizeEvent
,
34252 &_swigt__p_wxMemorySize
,
34254 &_swigt__p_wxMenuBar
,
34255 &_swigt__p_wxMenuEvent
,
34256 &_swigt__p_wxMenuItem
,
34257 &_swigt__p_wxMetafileDataObject
,
34258 &_swigt__p_wxMimeTypesManager
,
34259 &_swigt__p_wxMouseCaptureChangedEvent
,
34260 &_swigt__p_wxMouseEvent
,
34261 &_swigt__p_wxMouseState
,
34262 &_swigt__p_wxMoveEvent
,
34263 &_swigt__p_wxMutexGuiLocker
,
34264 &_swigt__p_wxNavigationKeyEvent
,
34265 &_swigt__p_wxNcPaintEvent
,
34266 &_swigt__p_wxNotifyEvent
,
34267 &_swigt__p_wxObject
,
34268 &_swigt__p_wxOutputStream
,
34269 &_swigt__p_wxPCXHandler
,
34270 &_swigt__p_wxPNGHandler
,
34271 &_swigt__p_wxPNMHandler
,
34272 &_swigt__p_wxPaintEvent
,
34273 &_swigt__p_wxPaletteChangedEvent
,
34274 &_swigt__p_wxPaperSize
,
34275 &_swigt__p_wxPoint
,
34276 &_swigt__p_wxProcessEvent
,
34277 &_swigt__p_wxPyApp
,
34278 &_swigt__p_wxPyArtProvider
,
34279 &_swigt__p_wxPyBitmapDataObject
,
34280 &_swigt__p_wxPyCommandEvent
,
34281 &_swigt__p_wxPyDataObjectSimple
,
34282 &_swigt__p_wxPyDropSource
,
34283 &_swigt__p_wxPyDropTarget
,
34284 &_swigt__p_wxPyEvent
,
34285 &_swigt__p_wxPyFileDropTarget
,
34286 &_swigt__p_wxPyImageHandler
,
34287 &_swigt__p_wxPyLog
,
34288 &_swigt__p_wxPyProcess
,
34289 &_swigt__p_wxPySizer
,
34290 &_swigt__p_wxPyTextDataObject
,
34291 &_swigt__p_wxPyTextDropTarget
,
34292 &_swigt__p_wxPyTimer
,
34293 &_swigt__p_wxPyTipProvider
,
34294 &_swigt__p_wxPyValidator
,
34295 &_swigt__p_wxQueryNewPaletteEvent
,
34297 &_swigt__p_wxScrollEvent
,
34298 &_swigt__p_wxScrollWinEvent
,
34299 &_swigt__p_wxSetCursorEvent
,
34300 &_swigt__p_wxShowEvent
,
34301 &_swigt__p_wxSingleInstanceChecker
,
34303 &_swigt__p_wxSizeEvent
,
34304 &_swigt__p_wxSizer
,
34305 &_swigt__p_wxSizerItem
,
34306 &_swigt__p_wxSound
,
34307 &_swigt__p_wxStandardPaths
,
34308 &_swigt__p_wxStaticBoxSizer
,
34309 &_swigt__p_wxStdDialogButtonSizer
,
34310 &_swigt__p_wxStopWatch
,
34311 &_swigt__p_wxString
,
34312 &_swigt__p_wxSysColourChangedEvent
,
34313 &_swigt__p_wxSystemOptions
,
34314 &_swigt__p_wxSystemSettings
,
34315 &_swigt__p_wxTIFFHandler
,
34316 &_swigt__p_wxTextCtrl
,
34317 &_swigt__p_wxTextDataObject
,
34318 &_swigt__p_wxTimeSpan
,
34319 &_swigt__p_wxTimer
,
34320 &_swigt__p_wxTimerEvent
,
34321 &_swigt__p_wxTimerRunner
,
34322 &_swigt__p_wxTipProvider
,
34323 &_swigt__p_wxToolTip
,
34324 &_swigt__p_wxURLDataObject
,
34325 &_swigt__p_wxUpdateUIEvent
,
34326 &_swigt__p_wxValidator
,
34327 &_swigt__p_wxVideoMode
,
34328 &_swigt__p_wxWindow
,
34329 &_swigt__p_wxWindowCreateEvent
,
34330 &_swigt__p_wxWindowDestroyEvent
,
34331 &_swigt__p_wxWindowDisabler
,
34332 &_swigt__p_wxXPMHandler
,
34333 &_swigt__ptrdiff_t
,
34334 &_swigt__std__ptrdiff_t
,
34335 &_swigt__unsigned_int
,
34338 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34339 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34340 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34341 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34342 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34343 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34344 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34345 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34346 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34347 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}};
34348 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34349 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34350 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34351 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34352 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34353 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34354 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34355 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34356 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}};
34357 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34358 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34359 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34360 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34361 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34362 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}};
34363 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34364 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}};
34365 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34366 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34367 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34368 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34369 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34370 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34371 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34372 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34373 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34374 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34375 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34376 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34377 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34378 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34379 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34380 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34381 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34382 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34383 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34384 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34385 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34386 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34387 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34388 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34389 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34390 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34391 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34392 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34393 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34394 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34395 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34396 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34397 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34398 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34399 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34400 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34401 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34402 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34403 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34404 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34405 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34406 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}};
34407 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34408 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34409 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34410 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34411 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34412 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34413 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}};
34414 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34415 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34416 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34417 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34418 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34419 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34420 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34421 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34422 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34423 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34424 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34425 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}};
34426 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34427 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34428 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34429 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34430 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34431 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34432 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34433 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34434 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34435 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34436 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34437 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34438 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34439 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34440 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34441 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34442 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34443 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34444 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34445 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34446 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34447 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34448 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34449 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34450 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34451 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34452 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34453 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34454 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34455 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34456 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34457 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34458 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34459 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34460 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34461 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34462 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34463 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34464 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34465 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34466 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34467 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34468 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34469 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}};
34470 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34471 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34472 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34473 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34474 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34475 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34476 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34477 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34478 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}};
34479 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34480 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34481 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34482 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34483 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34484 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34485 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34486 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34487 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34488 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34489 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34490 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34491 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34492 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34493 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34494 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34495 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34496 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}};
34497 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34498 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34499 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34500 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34501 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}};
34502 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34503 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34504 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34505 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}};
34506 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34507 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34508 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34509 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34511 static swig_cast_info
*swig_cast_initial
[] = {
34513 _swigc__p_form_ops_t
,
34515 _swigc__p_unsigned_char
,
34516 _swigc__p_unsigned_int
,
34517 _swigc__p_unsigned_long
,
34519 _swigc__p_wxANIHandler
,
34520 _swigc__p_wxAcceleratorTable
,
34521 _swigc__p_wxActivateEvent
,
34522 _swigc__p_wxArrayString
,
34523 _swigc__p_wxBMPHandler
,
34524 _swigc__p_wxBitmap
,
34525 _swigc__p_wxBitmapDataObject
,
34526 _swigc__p_wxBoxSizer
,
34527 _swigc__p_wxBusyCursor
,
34528 _swigc__p_wxBusyInfo
,
34529 _swigc__p_wxCURHandler
,
34532 _swigc__p_wxChildFocusEvent
,
34533 _swigc__p_wxClipboard
,
34534 _swigc__p_wxClipboardLocker
,
34535 _swigc__p_wxCloseEvent
,
34536 _swigc__p_wxColour
,
34537 _swigc__p_wxCommandEvent
,
34538 _swigc__p_wxConfig
,
34539 _swigc__p_wxConfigBase
,
34540 _swigc__p_wxConfigPathChanger
,
34541 _swigc__p_wxContextMenuEvent
,
34542 _swigc__p_wxControl
,
34543 _swigc__p_wxControlWithItems
,
34544 _swigc__p_wxCursor
,
34545 _swigc__p_wxCustomDataObject
,
34547 _swigc__p_wxDataFormat
,
34548 _swigc__p_wxDataObject
,
34549 _swigc__p_wxDataObjectComposite
,
34550 _swigc__p_wxDataObjectSimple
,
34551 _swigc__p_wxDateEvent
,
34552 _swigc__p_wxDateSpan
,
34553 _swigc__p_wxDateTime
,
34554 _swigc__p_wxDateTime__TimeZone
,
34555 _swigc__p_wxDisplay
,
34556 _swigc__p_wxDisplayChangedEvent
,
34557 _swigc__p_wxDropFilesEvent
,
34558 _swigc__p_wxDuplexMode
,
34559 _swigc__p_wxEraseEvent
,
34561 _swigc__p_wxEvtHandler
,
34562 _swigc__p_wxFSFile
,
34563 _swigc__p_wxFileConfig
,
34564 _swigc__p_wxFileDataObject
,
34565 _swigc__p_wxFileHistory
,
34566 _swigc__p_wxFileSystem
,
34567 _swigc__p_wxFileType
,
34568 _swigc__p_wxFileTypeInfo
,
34569 _swigc__p_wxFlexGridSizer
,
34570 _swigc__p_wxFocusEvent
,
34573 _swigc__p_wxGBSizerItem
,
34574 _swigc__p_wxGIFHandler
,
34575 _swigc__p_wxGridBagSizer
,
34576 _swigc__p_wxGridSizer
,
34577 _swigc__p_wxICOHandler
,
34579 _swigc__p_wxIconizeEvent
,
34580 _swigc__p_wxIdleEvent
,
34582 _swigc__p_wxImageHandler
,
34583 _swigc__p_wxIndividualLayoutConstraint
,
34584 _swigc__p_wxInitDialogEvent
,
34585 _swigc__p_wxJPEGHandler
,
34586 _swigc__p_wxJoystick
,
34587 _swigc__p_wxJoystickEvent
,
34588 _swigc__p_wxKeyEvent
,
34589 _swigc__p_wxKillError
,
34590 _swigc__p_wxLayoutConstraints
,
34592 _swigc__p_wxLogBuffer
,
34593 _swigc__p_wxLogChain
,
34594 _swigc__p_wxLogGui
,
34595 _swigc__p_wxLogNull
,
34596 _swigc__p_wxLogStderr
,
34597 _swigc__p_wxLogTextCtrl
,
34598 _swigc__p_wxLogWindow
,
34599 _swigc__p_wxMaximizeEvent
,
34600 _swigc__p_wxMemorySize
,
34602 _swigc__p_wxMenuBar
,
34603 _swigc__p_wxMenuEvent
,
34604 _swigc__p_wxMenuItem
,
34605 _swigc__p_wxMetafileDataObject
,
34606 _swigc__p_wxMimeTypesManager
,
34607 _swigc__p_wxMouseCaptureChangedEvent
,
34608 _swigc__p_wxMouseEvent
,
34609 _swigc__p_wxMouseState
,
34610 _swigc__p_wxMoveEvent
,
34611 _swigc__p_wxMutexGuiLocker
,
34612 _swigc__p_wxNavigationKeyEvent
,
34613 _swigc__p_wxNcPaintEvent
,
34614 _swigc__p_wxNotifyEvent
,
34615 _swigc__p_wxObject
,
34616 _swigc__p_wxOutputStream
,
34617 _swigc__p_wxPCXHandler
,
34618 _swigc__p_wxPNGHandler
,
34619 _swigc__p_wxPNMHandler
,
34620 _swigc__p_wxPaintEvent
,
34621 _swigc__p_wxPaletteChangedEvent
,
34622 _swigc__p_wxPaperSize
,
34624 _swigc__p_wxProcessEvent
,
34626 _swigc__p_wxPyArtProvider
,
34627 _swigc__p_wxPyBitmapDataObject
,
34628 _swigc__p_wxPyCommandEvent
,
34629 _swigc__p_wxPyDataObjectSimple
,
34630 _swigc__p_wxPyDropSource
,
34631 _swigc__p_wxPyDropTarget
,
34632 _swigc__p_wxPyEvent
,
34633 _swigc__p_wxPyFileDropTarget
,
34634 _swigc__p_wxPyImageHandler
,
34636 _swigc__p_wxPyProcess
,
34637 _swigc__p_wxPySizer
,
34638 _swigc__p_wxPyTextDataObject
,
34639 _swigc__p_wxPyTextDropTarget
,
34640 _swigc__p_wxPyTimer
,
34641 _swigc__p_wxPyTipProvider
,
34642 _swigc__p_wxPyValidator
,
34643 _swigc__p_wxQueryNewPaletteEvent
,
34645 _swigc__p_wxScrollEvent
,
34646 _swigc__p_wxScrollWinEvent
,
34647 _swigc__p_wxSetCursorEvent
,
34648 _swigc__p_wxShowEvent
,
34649 _swigc__p_wxSingleInstanceChecker
,
34651 _swigc__p_wxSizeEvent
,
34653 _swigc__p_wxSizerItem
,
34655 _swigc__p_wxStandardPaths
,
34656 _swigc__p_wxStaticBoxSizer
,
34657 _swigc__p_wxStdDialogButtonSizer
,
34658 _swigc__p_wxStopWatch
,
34659 _swigc__p_wxString
,
34660 _swigc__p_wxSysColourChangedEvent
,
34661 _swigc__p_wxSystemOptions
,
34662 _swigc__p_wxSystemSettings
,
34663 _swigc__p_wxTIFFHandler
,
34664 _swigc__p_wxTextCtrl
,
34665 _swigc__p_wxTextDataObject
,
34666 _swigc__p_wxTimeSpan
,
34668 _swigc__p_wxTimerEvent
,
34669 _swigc__p_wxTimerRunner
,
34670 _swigc__p_wxTipProvider
,
34671 _swigc__p_wxToolTip
,
34672 _swigc__p_wxURLDataObject
,
34673 _swigc__p_wxUpdateUIEvent
,
34674 _swigc__p_wxValidator
,
34675 _swigc__p_wxVideoMode
,
34676 _swigc__p_wxWindow
,
34677 _swigc__p_wxWindowCreateEvent
,
34678 _swigc__p_wxWindowDestroyEvent
,
34679 _swigc__p_wxWindowDisabler
,
34680 _swigc__p_wxXPMHandler
,
34682 _swigc__std__ptrdiff_t
,
34683 _swigc__unsigned_int
,
34687 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34689 static swig_const_info swig_const_table
[] = {
34690 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34691 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34692 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34693 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34694 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34695 {0, 0, 0, 0.0, 0, 0}};
34700 /*************************************************************************
34701 * Type initialization:
34702 * This problem is tough by the requirement that no dynamic
34703 * memory is used. Also, since swig_type_info structures store pointers to
34704 * swig_cast_info structures and swig_cast_info structures store pointers back
34705 * to swig_type_info structures, we need some lookup code at initialization.
34706 * The idea is that swig generates all the structures that are needed.
34707 * The runtime then collects these partially filled structures.
34708 * The SWIG_InitializeModule function takes these initial arrays out of
34709 * swig_module, and does all the lookup, filling in the swig_module.types
34710 * array with the correct data and linking the correct swig_cast_info
34711 * structures together.
34713 * The generated swig_type_info structures are assigned staticly to an initial
34714 * array. We just loop though that array, and handle each type individually.
34715 * First we lookup if this type has been already loaded, and if so, use the
34716 * loaded structure instead of the generated one. Then we have to fill in the
34717 * cast linked list. The cast data is initially stored in something like a
34718 * two-dimensional array. Each row corresponds to a type (there are the same
34719 * number of rows as there are in the swig_type_initial array). Each entry in
34720 * a column is one of the swig_cast_info structures for that type.
34721 * The cast_initial array is actually an array of arrays, because each row has
34722 * a variable number of columns. So to actually build the cast linked list,
34723 * we find the array of casts associated with the type, and loop through it
34724 * adding the casts to the list. The one last trick we need to do is making
34725 * sure the type pointer in the swig_cast_info struct is correct.
34727 * First off, we lookup the cast->type name to see if it is already loaded.
34728 * There are three cases to handle:
34729 * 1) If the cast->type has already been loaded AND the type we are adding
34730 * casting info to has not been loaded (it is in this module), THEN we
34731 * replace the cast->type pointer with the type pointer that has already
34733 * 2) If BOTH types (the one we are adding casting info to, and the
34734 * cast->type) are loaded, THEN the cast info has already been loaded by
34735 * the previous module so we just ignore it.
34736 * 3) Finally, if cast->type has not already been loaded, then we add that
34737 * swig_cast_info to the linked list (because the cast->type) pointer will
34749 #define SWIGRUNTIME_DEBUG
34753 SWIG_InitializeModule(void *clientdata
) {
34755 swig_module_info
*module_head
;
34756 static int init_run
= 0;
34758 clientdata
= clientdata
;
34760 if (init_run
) return;
34763 /* Initialize the swig_module */
34764 swig_module
.type_initial
= swig_type_initial
;
34765 swig_module
.cast_initial
= swig_cast_initial
;
34767 /* Try and load any already created modules */
34768 module_head
= SWIG_GetModule(clientdata
);
34770 swig_module
.next
= module_head
->next
;
34771 module_head
->next
= &swig_module
;
34773 /* This is the first module loaded */
34774 swig_module
.next
= &swig_module
;
34775 SWIG_SetModule(clientdata
, &swig_module
);
34778 /* Now work on filling in swig_module.types */
34779 #ifdef SWIGRUNTIME_DEBUG
34780 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34782 for (i
= 0; i
< swig_module
.size
; ++i
) {
34783 swig_type_info
*type
= 0;
34784 swig_type_info
*ret
;
34785 swig_cast_info
*cast
;
34787 #ifdef SWIGRUNTIME_DEBUG
34788 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34791 /* if there is another module already loaded */
34792 if (swig_module
.next
!= &swig_module
) {
34793 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34796 /* Overwrite clientdata field */
34797 #ifdef SWIGRUNTIME_DEBUG
34798 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34800 if (swig_module
.type_initial
[i
]->clientdata
) {
34801 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34802 #ifdef SWIGRUNTIME_DEBUG
34803 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34807 type
= swig_module
.type_initial
[i
];
34810 /* Insert casting types */
34811 cast
= swig_module
.cast_initial
[i
];
34812 while (cast
->type
) {
34813 /* Don't need to add information already in the list */
34815 #ifdef SWIGRUNTIME_DEBUG
34816 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34818 if (swig_module
.next
!= &swig_module
) {
34819 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34820 #ifdef SWIGRUNTIME_DEBUG
34821 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34825 if (type
== swig_module
.type_initial
[i
]) {
34826 #ifdef SWIGRUNTIME_DEBUG
34827 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34832 /* Check for casting already in the list */
34833 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34834 #ifdef SWIGRUNTIME_DEBUG
34835 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34837 if (!ocast
) ret
= 0;
34842 #ifdef SWIGRUNTIME_DEBUG
34843 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34846 type
->cast
->prev
= cast
;
34847 cast
->next
= type
->cast
;
34853 /* Set entry in modules->types array equal to the type */
34854 swig_module
.types
[i
] = type
;
34856 swig_module
.types
[i
] = 0;
34858 #ifdef SWIGRUNTIME_DEBUG
34859 printf("**** SWIG_InitializeModule: Cast List ******\n");
34860 for (i
= 0; i
< swig_module
.size
; ++i
) {
34862 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34863 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34864 while (cast
->type
) {
34865 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34869 printf("---- Total casts: %d\n",j
);
34871 printf("**** SWIG_InitializeModule: Cast List ******\n");
34875 /* This function will propagate the clientdata field of type to
34876 * any new swig_type_info structures that have been added into the list
34877 * of equivalent types. It is like calling
34878 * SWIG_TypeClientData(type, clientdata) a second time.
34881 SWIG_PropagateClientData(void) {
34883 swig_cast_info
*equiv
;
34884 static int init_run
= 0;
34886 if (init_run
) return;
34889 for (i
= 0; i
< swig_module
.size
; i
++) {
34890 if (swig_module
.types
[i
]->clientdata
) {
34891 equiv
= swig_module
.types
[i
]->cast
;
34893 if (!equiv
->converter
) {
34894 if (equiv
->type
&& !equiv
->type
->clientdata
)
34895 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34897 equiv
= equiv
->next
;
34917 /* Python-specific SWIG API */
34918 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34919 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34920 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34922 /* -----------------------------------------------------------------------------
34923 * global variable support code.
34924 * ----------------------------------------------------------------------------- */
34926 typedef struct swig_globalvar
{
34927 char *name
; /* Name of global variable */
34928 PyObject
*(*get_attr
)(void); /* Return the current value */
34929 int (*set_attr
)(PyObject
*); /* Set the value */
34930 struct swig_globalvar
*next
;
34933 typedef struct swig_varlinkobject
{
34935 swig_globalvar
*vars
;
34936 } swig_varlinkobject
;
34938 SWIGINTERN PyObject
*
34939 swig_varlink_repr(swig_varlinkobject
*v
) {
34941 return PyString_FromString("<Swig global variables>");
34945 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
34946 swig_globalvar
*var
;
34948 fprintf(fp
,"Swig global variables { ");
34949 for (var
= v
->vars
; var
; var
=var
->next
) {
34950 fprintf(fp
,"%s", var
->name
);
34951 if (var
->next
) fprintf(fp
,", ");
34953 fprintf(fp
," }\n");
34957 SWIGINTERN PyObject
*
34958 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34959 swig_globalvar
*var
= v
->vars
;
34961 if (strcmp(var
->name
,n
) == 0) {
34962 return (*var
->get_attr
)();
34966 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34971 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34972 swig_globalvar
*var
= v
->vars
;
34974 if (strcmp(var
->name
,n
) == 0) {
34975 return (*var
->set_attr
)(p
);
34979 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34983 SWIGINTERN PyTypeObject
*
34984 swig_varlink_type(void) {
34985 static char varlink__doc__
[] = "Swig var link object";
34986 static PyTypeObject varlink_type
34987 #if !defined(__cplusplus)
34989 static int type_init
= 0;
34994 PyObject_HEAD_INIT(&PyType_Type
)
34995 0, /* Number of items in variable part (ob_size) */
34996 (char *)"swigvarlink", /* Type name (tp_name) */
34997 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34998 0, /* Itemsize (tp_itemsize) */
34999 0, /* Deallocator (tp_dealloc) */
35000 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35001 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35002 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35003 0, /* tp_compare */
35004 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35005 0, /* tp_as_number */
35006 0, /* tp_as_sequence */
35007 0, /* tp_as_mapping */
35011 0, /* tp_getattro */
35012 0, /* tp_setattro */
35013 0, /* tp_as_buffer */
35015 varlink__doc__
, /* tp_doc */
35016 #if PY_VERSION_HEX >= 0x02000000
35017 0, /* tp_traverse */
35020 #if PY_VERSION_HEX >= 0x02010000
35021 0, /* tp_richcompare */
35022 0, /* tp_weaklistoffset */
35024 #if PY_VERSION_HEX >= 0x02020000
35025 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35027 #if PY_VERSION_HEX >= 0x02030000
35030 #ifdef COUNT_ALLOCS
35031 0,0,0,0 /* tp_alloc -> tp_next */
35034 #if !defined(__cplusplus)
35035 varlink_type
= tmp
;
35039 return &varlink_type
;
35042 /* Create a variable linking object for use later */
35043 SWIGINTERN PyObject
*
35044 SWIG_Python_newvarlink(void) {
35045 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35049 return ((PyObject
*) result
);
35053 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35054 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35055 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35057 size_t size
= strlen(name
)+1;
35058 gv
->name
= (char *)malloc(size
);
35060 strncpy(gv
->name
,name
,size
);
35061 gv
->get_attr
= get_attr
;
35062 gv
->set_attr
= set_attr
;
35063 gv
->next
= v
->vars
;
35069 /* -----------------------------------------------------------------------------
35070 * constants/methods manipulation
35071 * ----------------------------------------------------------------------------- */
35073 /* Install Constants */
35075 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35078 for (i
= 0; constants
[i
].type
; ++i
) {
35079 switch(constants
[i
].type
) {
35081 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35083 case SWIG_PY_FLOAT
:
35084 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35086 case SWIG_PY_STRING
:
35087 if (constants
[i
].pvalue
) {
35088 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35090 Py_INCREF(Py_None
);
35094 case SWIG_PY_POINTER
:
35095 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35097 case SWIG_PY_BINARY
:
35098 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35105 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35111 /* -----------------------------------------------------------------------------*/
35112 /* Fix SwigMethods to carry the callback ptrs when needed */
35113 /* -----------------------------------------------------------------------------*/
35116 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35117 swig_const_info
*const_table
,
35118 swig_type_info
**types
,
35119 swig_type_info
**types_initial
) {
35121 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35122 char *c
= methods
[i
].ml_doc
;
35123 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35125 swig_const_info
*ci
= 0;
35126 char *name
= c
+ 10;
35127 for (j
= 0; const_table
[j
].type
; ++j
) {
35128 if (strncmp(const_table
[j
].name
, name
,
35129 strlen(const_table
[j
].name
)) == 0) {
35130 ci
= &(const_table
[j
]);
35135 size_t shift
= (ci
->ptype
) - types
;
35136 swig_type_info
*ty
= types_initial
[shift
];
35137 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35138 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35139 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35142 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35144 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35146 strncpy(buff
, "swig_ptr: ", 10);
35148 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35149 methods
[i
].ml_doc
= ndoc
;
35157 /* -----------------------------------------------------------------------------*
35158 * Initialize type list
35159 * -----------------------------------------------------------------------------*/
35165 /* -----------------------------------------------------------------------------*
35166 * Partial Init method
35167 * -----------------------------------------------------------------------------*/
35172 SWIGEXPORT
void SWIG_init(void) {
35173 static PyObject
*SWIG_globals
= 0;
35175 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35177 /* Fix SwigMethods to carry the callback ptrs when needed */
35178 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35180 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35181 d
= PyModule_GetDict(m
);
35183 SWIG_InitializeModule(0);
35184 SWIG_InstallConstants(d
,swig_const_table
);
35187 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35190 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35193 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35196 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35199 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35202 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35205 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35208 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35211 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35214 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35217 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35220 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35223 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35226 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35229 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35232 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35235 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35238 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35241 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35244 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35247 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35250 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35253 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35256 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35259 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35262 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35265 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35268 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35271 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35274 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35277 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35280 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35283 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35286 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35289 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35292 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35295 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35298 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35301 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35304 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35307 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35310 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35313 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35316 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35319 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35322 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35325 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35328 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35331 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35334 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35337 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35340 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35343 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35346 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35349 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35352 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35355 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35358 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35361 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35364 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35367 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35370 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35373 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35376 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35379 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35382 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35385 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35388 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35391 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35394 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35397 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35400 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35403 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35406 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35409 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35412 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35415 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35418 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35421 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35424 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35427 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35430 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35433 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35436 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35439 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35442 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35445 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35448 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35451 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35454 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35457 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35459 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35460 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35461 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35462 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35463 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35465 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35468 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35471 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35474 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35476 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35478 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35481 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35484 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35487 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35490 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35493 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35496 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35499 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35502 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35505 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35508 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35511 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35513 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35514 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35515 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35516 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35517 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35519 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35522 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35525 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35528 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35531 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35534 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35537 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35540 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35543 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35546 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35549 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35552 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35555 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35558 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35561 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35564 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35567 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35570 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35573 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35576 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35579 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35582 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35585 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35588 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35591 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35594 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35597 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35600 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35603 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35606 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35609 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35611 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35613 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35616 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35619 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35622 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35625 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35628 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35631 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35634 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35637 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35640 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35643 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35646 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35649 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35651 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35652 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35653 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35654 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35656 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35659 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35662 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35665 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35668 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35671 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35674 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35677 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35679 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35680 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35681 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35682 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35683 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35684 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35685 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35686 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35687 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35688 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35689 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35690 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35691 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35692 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35693 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35694 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35695 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35696 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35697 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35698 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35699 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35706 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35707 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35708 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35709 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35710 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35711 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35712 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35713 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35714 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35715 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35716 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35717 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35718 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35719 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35720 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35721 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35722 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35723 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35724 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35725 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35726 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35727 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35728 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35729 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35730 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35731 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35732 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35733 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35734 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35735 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35737 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35740 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
35743 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
35746 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
35749 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
35752 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
35755 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
35758 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
35761 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
35764 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
35766 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
35767 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
35769 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
35772 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
35775 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
35778 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
35781 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
35784 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
35787 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
35790 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
35793 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
35796 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
35799 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
35802 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
35805 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
35808 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
35811 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
35814 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
35817 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
35820 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
35823 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
35826 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
35829 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
35832 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
35835 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
35838 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
35841 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
35844 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
35847 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
35850 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
35853 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
35856 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
35859 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
35862 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
35865 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
35868 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
35871 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
35874 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
35877 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
35880 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
35883 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
35886 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
35889 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
35892 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
35895 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
35898 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
35901 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
35904 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
35907 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
35910 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
35913 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
35916 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
35919 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
35922 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
35925 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
35928 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
35931 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
35934 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
35937 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
35940 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
35943 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
35946 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
35949 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
35952 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
35955 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
35958 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
35961 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
35964 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
35967 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
35970 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
35973 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
35976 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
35979 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
35982 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
35985 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
35988 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
35991 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
35994 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
35997 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36000 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36003 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36006 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36009 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36012 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36015 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36018 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36021 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36024 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36027 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36030 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36033 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36036 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36039 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36042 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36045 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36048 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36051 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36054 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36057 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36060 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36063 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36066 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36069 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36072 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36075 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36078 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36081 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36084 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36087 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36090 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36093 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36096 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36099 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36102 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36105 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36108 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36111 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36114 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36117 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36120 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36123 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36126 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36129 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36132 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36135 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36138 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36141 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36144 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36147 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36150 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36153 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36156 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36159 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36162 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36165 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36168 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36171 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36174 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36177 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36180 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36183 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36186 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36189 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36192 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36195 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36198 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36201 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36204 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36207 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36210 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36213 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36216 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36219 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36222 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36225 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36228 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36231 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36233 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36235 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36238 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36241 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36244 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36247 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36250 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36253 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36256 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36259 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36262 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36265 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36268 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36271 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36274 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36277 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36280 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36283 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36286 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36289 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36292 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36294 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36296 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36299 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36302 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36305 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36308 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36311 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36314 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36317 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36320 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36323 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36326 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36329 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36332 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36333 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36334 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36335 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36337 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);