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_Python_TypeError("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
* result
, PyObject
* obj
)
1810 } else if (result
== Py_None
) {
1814 if (!PyTuple_Check(result
)) {
1816 result
= PyTuple_New(1);
1817 PyTuple_SET_ITEM(result
, 0, o2
);
1819 o3
= PyTuple_New(1);
1820 PyTuple_SetItem(o3
, 0, obj
);
1822 result
= PySequence_Concat(o2
, o3
);
1831 wxMemorySize
wxGetFreeMemory()
1832 { wxPyRaiseNotImplemented(); return 0; }
1836 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1839 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1840 SWIG_Python_TypeError("unsigned number", obj
);
1843 *val
= (unsigned long)v
;
1848 SWIGINTERNINLINE
unsigned long
1849 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1852 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1854 this is needed to make valgrind/purify happier.
1856 memset((void*)&v
, 0, sizeof(unsigned long));
1862 SWIGINTERNINLINE
int
1863 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1865 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1869 SWIGINTERNINLINE PyObject
*
1870 SWIG_From_unsigned_SS_long(unsigned long value
)
1872 return (value
> LONG_MAX
) ?
1873 PyLong_FromUnsignedLong(value
)
1874 : PyInt_FromLong(static_cast<long >(value
));
1878 void* wxGetXDisplay()
1881 return wxGetDisplay();
1888 wxWindow
* FindWindowAtPointer() {
1890 return wxFindWindowAtPointer(unused
);
1894 void wxWakeUpMainThread() {}
1897 bool wxThread_IsMain() {
1898 #ifdef WXP_WITH_THREAD
1899 return wxThread::IsMain();
1905 static void wxCaret_Destroy(wxCaret
*self
){
1909 #include <wx/snglinst.h>
1913 #include <wx/msw/private.h>
1914 #include <wx/dynload.h>
1919 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1930 // This one only partially works. Appears to be an undocumented
1931 // "standard" convention that not all widgets adhear to. For
1932 // example, for some widgets backgrounds or non-client areas may
1934 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1939 // This one works much better, nearly all widgets and their
1940 // children are captured correctly[**]. Prior to the big
1941 // background erase changes that Vadim did in 2004-2005 this
1942 // method failed badly on XP with Themes activated, most native
1943 // widgets draw only partially, if at all. Without themes it
1944 // worked just like on Win2k. After those changes this method
1947 // ** For example the radio buttons in a wxRadioBox are not its
1948 // children by default, but you can capture it via the panel
1949 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1950 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1951 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1952 PRF_ERASEBKGND
| PRF_OWNED
);
1958 // This one is only defined in the latest SDK and is only
1959 // available on XP. MSDN says it is similar to sending WM_PRINT
1960 // so I expect that it will work similar to the above. Since it
1961 // is avaialble only on XP, it can't be compiled like this and
1962 // will have to be loaded dynamically.
1963 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1968 // Use PrintWindow if available, or fallback to WM_PRINT
1969 // otherwise. Unfortunately using PrintWindow is even worse than
1970 // WM_PRINT. For most native widgets nothing is drawn to the dc
1971 // at all, with or without Themes.
1972 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1973 static bool s_triedToLoad
= false;
1974 static PrintWindow_t pfnPrintWindow
= NULL
;
1975 if ( !s_triedToLoad
)
1978 s_triedToLoad
= true;
1979 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1980 if ( dllUser32
.IsLoaded() )
1982 wxLogNull nolog
; // Don't report errors here
1983 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1988 //printf("Using PrintWindow\n");
1989 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1993 //printf("Using WM_PRINT\n");
1994 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1995 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1996 PRF_ERASEBKGND
| PRF_OWNED
);
2007 #include <wx/tipdlg.h>
2010 class wxPyTipProvider
: public wxTipProvider
{
2012 wxPyTipProvider(size_t currentTip
)
2013 : wxTipProvider(currentTip
) {}
2015 DEC_PYCALLBACK_STRING__pure(GetTip
);
2016 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2020 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2021 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2024 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
2026 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2028 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
2029 : wxTimer(owner
, id
)
2031 if (owner
== NULL
) SetOwner(this);
2035 SWIGINTERN PyObject
*
2036 SWIG_FromCharPtr(const char* cptr
)
2039 size_t size
= strlen(cptr
);
2040 if (size
> INT_MAX
) {
2041 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2042 SWIG_TypeQuery("char *"), 0);
2045 return PyString_FromStringAndSize(cptr
, size
);
2047 return PyString_FromString(cptr
);
2056 SWIGINTERNINLINE
int
2057 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2058 unsigned long max_value
,
2061 if (value
> max_value
) {
2063 PyErr_Format(PyExc_OverflowError
,
2064 "value %lu is greater than '%s' minimum %lu",
2065 value
, errmsg
, max_value
);
2073 #if UINT_MAX != ULONG_MAX
2075 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2077 const char* errmsg
= val
? "unsigned int" : (char*)0;
2079 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2080 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2081 if (val
) *val
= static_cast<unsigned int >(v
);
2088 SWIG_type_error(errmsg
, obj
);
2093 SWIGINTERNINLINE
unsigned int
2094 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2096 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2101 SWIGINTERNINLINE
unsigned int
2102 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2105 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2107 this is needed to make valgrind/purify happier.
2109 memset((void*)&v
, 0, sizeof(unsigned int));
2115 SWIGINTERNINLINE
int
2116 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2118 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2121 static wxString
wxLog_TimeStamp(){
2123 wxLog::TimeStamp(&msg
);
2126 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
2127 // Make some wrappers that double any % signs so they are 'escaped'
2128 void wxPyLogFatalError(const wxString
& msg
)
2131 m
.Replace(wxT("%"), wxT("%%"));
2135 void wxPyLogError(const wxString
& msg
)
2138 m
.Replace(wxT("%"), wxT("%%"));
2142 void wxPyLogWarning(const wxString
& msg
)
2145 m
.Replace(wxT("%"), wxT("%%"));
2149 void wxPyLogMessage(const wxString
& msg
)
2152 m
.Replace(wxT("%"), wxT("%%"));
2156 void wxPyLogInfo(const wxString
& msg
)
2159 m
.Replace(wxT("%"), wxT("%%"));
2163 void wxPyLogDebug(const wxString
& msg
)
2166 m
.Replace(wxT("%"), wxT("%%"));
2170 void wxPyLogVerbose(const wxString
& msg
)
2173 m
.Replace(wxT("%"), wxT("%%"));
2177 void wxPyLogStatus(const wxString
& msg
)
2180 m
.Replace(wxT("%"), wxT("%%"));
2184 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2187 m
.Replace(wxT("%"), wxT("%%"));
2188 wxLogStatus(pFrame
, m
);
2191 void wxPyLogSysError(const wxString
& msg
)
2194 m
.Replace(wxT("%"), wxT("%%"));
2198 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2201 m
.Replace(wxT("%"), wxT("%%"));
2202 wxLogGeneric(level
, m
);
2205 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2208 m
.Replace(wxT("%"), wxT("%%"));
2209 wxLogTrace(mask
, m
);
2212 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2215 m
.Replace(wxT("%"), wxT("%%"));
2216 wxLogTrace(mask
, m
);
2221 // A wxLog class that can be derived from in wxPython
2222 class wxPyLog
: public wxLog
{
2224 wxPyLog() : wxLog() {}
2226 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2229 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2230 PyObject
* s
= wx2PyString(szString
);
2231 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2234 wxPyEndBlockThreads(blocked
);
2236 wxLog::DoLog(level
, szString
, t
);
2239 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2241 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2242 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2243 PyObject
* s
= wx2PyString(szString
);
2244 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2247 wxPyEndBlockThreads(blocked
);
2249 wxLog::DoLogString(szString
, t
);
2252 DEC_PYCALLBACK_VOID_(Flush
);
2255 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
2260 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2263 #include <wx/joystick.h>
2266 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2267 // A C++ stub class for wxJoystick for platforms that don't have it.
2268 class wxJoystick
: public wxObject
{
2270 wxJoystick(int joystick
= wxJOYSTICK1
) {
2271 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2272 PyErr_SetString(PyExc_NotImplementedError
,
2273 "wxJoystick is not available on this platform.");
2274 wxPyEndBlockThreads(blocked
);
2276 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2277 int GetZPosition() { return -1; }
2278 int GetButtonState() { return -1; }
2279 int GetPOVPosition() { return -1; }
2280 int GetPOVCTSPosition() { return -1; }
2281 int GetRudderPosition() { return -1; }
2282 int GetUPosition() { return -1; }
2283 int GetVPosition() { return -1; }
2284 int GetMovementThreshold() { return -1; }
2285 void SetMovementThreshold(int threshold
) {}
2287 bool IsOk(void) { return false; }
2288 int GetNumberJoysticks() { return -1; }
2289 int GetManufacturerId() { return -1; }
2290 int GetProductId() { return -1; }
2291 wxString
GetProductName() { return wxEmptyString
; }
2292 int GetXMin() { return -1; }
2293 int GetYMin() { return -1; }
2294 int GetZMin() { return -1; }
2295 int GetXMax() { return -1; }
2296 int GetYMax() { return -1; }
2297 int GetZMax() { return -1; }
2298 int GetNumberButtons() { return -1; }
2299 int GetNumberAxes() { return -1; }
2300 int GetMaxButtons() { return -1; }
2301 int GetMaxAxes() { return -1; }
2302 int GetPollingMin() { return -1; }
2303 int GetPollingMax() { return -1; }
2304 int GetRudderMin() { return -1; }
2305 int GetRudderMax() { return -1; }
2306 int GetUMin() { return -1; }
2307 int GetUMax() { return -1; }
2308 int GetVMin() { return -1; }
2309 int GetVMax() { return -1; }
2311 bool HasRudder() { return false; }
2312 bool HasZ() { return false; }
2313 bool HasU() { return false; }
2314 bool HasV() { return false; }
2315 bool HasPOV() { return false; }
2316 bool HasPOV4Dir() { return false; }
2317 bool HasPOVCTS() { return false; }
2319 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2320 bool ReleaseCapture() { return false; }
2325 #include <wx/sound.h>
2329 // A C++ stub class for wxWave for platforms that don't have it.
2330 class wxSound
: public wxObject
2334 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2335 PyErr_SetString(PyExc_NotImplementedError
,
2336 "wxSound is not available on this platform.");
2337 wxPyEndBlockThreads(blocked
);
2339 wxSound(const wxString
&/*, bool*/) {
2340 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2341 PyErr_SetString(PyExc_NotImplementedError
,
2342 "wxSound is not available on this platform.");
2343 wxPyEndBlockThreads(blocked
);
2345 wxSound(int, const wxByte
*) {
2346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2347 PyErr_SetString(PyExc_NotImplementedError
,
2348 "wxSound is not available on this platform.");
2349 wxPyEndBlockThreads(blocked
);
2354 bool Create(const wxString
&/*, bool*/) { return false; }
2355 bool Create(int, const wxByte
*) { return false; };
2356 bool IsOk() { return false; };
2357 bool Play(unsigned) const { return false; }
2358 static bool Play(const wxString
&, unsigned) { return false; }
2359 static void Stop() {}
2364 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2365 if (fileName
.Length() == 0)
2368 return new wxSound(fileName
);
2370 static wxSound
*new_wxSound(PyObject
*data
){
2371 unsigned char* buffer
; int size
;
2372 wxSound
*sound
= NULL
;
2374 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2375 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2377 sound
= new wxSound(size
, buffer
);
2379 wxPyEndBlockThreads(blocked
);
2382 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2384 unsigned char* buffer
;
2388 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2389 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2391 rv
= self
->Create(size
, buffer
);
2393 wxPyEndBlockThreads(blocked
);
2396 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2397 PyErr_SetString(PyExc_NotImplementedError
,
2398 "Create from data is not available on this platform.");
2399 wxPyEndBlockThreads(blocked
);
2404 #include <wx/mimetype.h>
2406 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2408 if (self
->GetMimeType(&str
))
2409 return wx2PyString(str
);
2413 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2415 if (self
->GetMimeTypes(arr
))
2416 return wxArrayString2PyList_helper(arr
);
2420 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2422 if (self
->GetExtensions(arr
))
2423 return wxArrayString2PyList_helper(arr
);
2427 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2429 if (self
->GetIcon(&loc
))
2430 return new wxIcon(loc
);
2434 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2436 if (self
->GetIcon(&loc
)) {
2437 wxString iconFile
= loc
.GetFileName();
2442 // Make a tuple and put the values in it
2443 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2444 PyObject
* tuple
= PyTuple_New(3);
2445 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2446 wxT("wxIcon"), true));
2447 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2448 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2449 wxPyEndBlockThreads(blocked
);
2455 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2457 if (self
->GetDescription(&str
))
2458 return wx2PyString(str
);
2462 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2464 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2465 return wx2PyString(str
);
2469 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2471 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2472 return wx2PyString(str
);
2476 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2477 wxArrayString verbs
;
2478 wxArrayString commands
;
2479 if (self
->GetAllCommands(&verbs
, &commands
,
2480 wxFileType::MessageParameters(filename
, mimetype
))) {
2481 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2482 PyObject
* tuple
= PyTuple_New(2);
2483 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2484 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2485 wxPyEndBlockThreads(blocked
);
2491 static wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2492 return wxFileType::ExpandCommand(command
,
2493 wxFileType::MessageParameters(filename
, mimetype
));
2495 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2497 self
->EnumAllFileTypes(arr
);
2498 return wxArrayString2PyList_helper(arr
);
2501 #include <wx/artprov.h>
2503 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2504 static const wxString
wxPyART_MENU(wxART_MENU
);
2505 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2506 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2507 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2508 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2509 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2510 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2511 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2512 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2513 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2514 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2515 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2516 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2517 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2518 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2519 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2520 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2521 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2522 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2523 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2524 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2525 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2526 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2527 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2528 static const wxString
wxPyART_HELP(wxART_HELP
);
2529 static const wxString
wxPyART_TIP(wxART_TIP
);
2530 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2531 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2532 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2533 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2534 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2535 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2536 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2537 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2538 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2539 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2540 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2541 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2542 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2543 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2544 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2545 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2546 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2547 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2548 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2549 static const wxString
wxPyART_COPY(wxART_COPY
);
2550 static const wxString
wxPyART_CUT(wxART_CUT
);
2551 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2552 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2553 static const wxString
wxPyART_NEW(wxART_NEW
);
2554 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2555 static const wxString
wxPyART_REDO(wxART_REDO
);
2556 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2557 static const wxString
wxPyART_FIND(wxART_FIND
);
2558 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2559 // Python aware wxArtProvider
2560 class wxPyArtProvider
: public wxArtProvider
{
2563 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2564 const wxArtClient
& client
,
2565 const wxSize
& size
) {
2566 wxBitmap rval
= wxNullBitmap
;
2567 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2568 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2569 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2573 s1
= wx2PyString(id
);
2574 s2
= wx2PyString(client
);
2575 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2580 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2585 wxPyEndBlockThreads(blocked
);
2592 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2596 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2597 PyObject
* ret
= PyTuple_New(3);
2599 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2600 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2601 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2606 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2611 cont
= self
->GetFirstGroup(value
, index
);
2612 return __EnumerationHelper(cont
, value
, index
);
2614 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2618 cont
= self
->GetNextGroup(value
, index
);
2619 return __EnumerationHelper(cont
, value
, index
);
2621 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2626 cont
= self
->GetFirstEntry(value
, index
);
2627 return __EnumerationHelper(cont
, value
, index
);
2629 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2633 cont
= self
->GetNextEntry(value
, index
);
2634 return __EnumerationHelper(cont
, value
, index
);
2636 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2638 self
->Read(key
, &rv
, defaultVal
);
2643 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2645 if (PyNumber_Check(obj
)) {
2646 if (val
) *val
= PyFloat_AsDouble(obj
);
2650 SWIG_Python_TypeError("number", obj
);
2656 SWIGINTERNINLINE
double
2657 SWIG_As_double(PyObject
* obj
)
2660 if (!SWIG_AsVal_double(obj
, &v
)) {
2662 this is needed to make valgrind/purify happier.
2664 memset((void*)&v
, 0, sizeof(double));
2670 SWIGINTERNINLINE
int
2671 SWIG_Check_double(PyObject
* obj
)
2673 return SWIG_AsVal_double(obj
, (double*)0);
2676 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2678 self
->Read(key
, &rv
, defaultVal
);
2682 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2683 #define SWIG_From_double PyFloat_FromDouble
2686 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2688 self
->Read(key
, &rv
, defaultVal
);
2692 #include <wx/datetime.h>
2694 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2695 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2697 #define LOCAL_TZ wxDateTime::Local
2699 static PyObject
*wxDateTime_GetAmPmStrings(){
2702 wxDateTime::GetAmPmStrings(&am
, &pm
);
2703 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2704 PyObject
* tup
= PyTuple_New(2);
2705 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2706 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2707 wxPyEndBlockThreads(blocked
);
2711 #if UINT_MAX < LONG_MAX
2712 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2713 #define SWIG_From_unsigned_SS_int SWIG_From_long
2716 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2717 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2721 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2722 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2723 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2724 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2725 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2726 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2727 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2728 return (*self
< *other
);
2730 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2731 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2732 return (*self
<= *other
);
2734 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2735 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2736 return (*self
> *other
);
2738 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2739 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2740 return (*self
>= *other
);
2742 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2743 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2744 return (*self
== *other
);
2746 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2747 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2748 return (*self
!= *other
);
2750 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2752 const wxChar
* _date
= date
;
2753 rv
= self
->ParseRfc822Date(_date
);
2754 if (rv
== NULL
) return -1;
2757 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2759 const wxChar
* _date
= date
;
2760 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2761 if (rv
== NULL
) return -1;
2764 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2766 const wxChar
* _datetime
= datetime
;
2767 rv
= self
->ParseDateTime(_datetime
);
2768 if (rv
== NULL
) return -1;
2769 return rv
- _datetime
;
2771 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2773 const wxChar
* _date
= date
;
2774 rv
= self
->ParseDate(_date
);
2775 if (rv
== NULL
) return -1;
2778 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2780 const wxChar
* _time
= time
;
2781 rv
= self
->ParseTime(_time
);
2782 if (rv
== NULL
) return -1;
2785 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2786 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2787 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2788 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2789 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2790 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2791 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2792 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2793 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2794 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2795 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2796 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2797 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2798 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2799 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2800 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2802 #include <wx/dataobj.h>
2804 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2805 size_t count
= self
->GetFormatCount(dir
);
2806 wxDataFormat
* formats
= new wxDataFormat
[count
];
2807 self
->GetAllFormats(formats
, dir
);
2809 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2810 PyObject
* list
= PyList_New(count
);
2811 for (size_t i
=0; i
<count
; i
++) {
2812 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2813 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2814 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
2816 wxPyEndBlockThreads(blocked
);
2820 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2821 PyObject
* rval
= NULL
;
2822 size_t size
= self
->GetDataSize(format
);
2823 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2825 char* buf
= new char[size
];
2826 if (self
->GetDataHere(format
, buf
))
2827 rval
= PyString_FromStringAndSize(buf
, size
);
2834 wxPyEndBlockThreads(blocked
);
2837 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2839 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2840 if (PyString_Check(data
)) {
2841 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2844 // raise a TypeError if not a string
2845 PyErr_SetString(PyExc_TypeError
, "String expected.");
2848 wxPyEndBlockThreads(blocked
);
2851 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2852 PyObject
* rval
= NULL
;
2853 size_t size
= self
->GetDataSize();
2854 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2856 char* buf
= new char[size
];
2857 if (self
->GetDataHere(buf
))
2858 rval
= PyString_FromStringAndSize(buf
, size
);
2865 wxPyEndBlockThreads(blocked
);
2868 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2871 if (PyString_Check(data
)) {
2872 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2875 // raise a TypeError if not a string
2876 PyErr_SetString(PyExc_TypeError
, "String expected.");
2879 wxPyEndBlockThreads(blocked
);
2882 // Create a new class for wxPython to use
2883 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2885 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2886 : wxDataObjectSimple(format
) {}
2888 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2889 bool GetDataHere(void *buf
) const;
2890 bool SetData(size_t len
, const void *buf
) const;
2894 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2896 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2897 // We need to get the data for this object and write it to buf. I think
2898 // the best way to do this for wxPython is to have the Python method
2899 // return either a string or None and then act appropriately with the
2903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2904 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2906 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2908 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2910 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2914 wxPyEndBlockThreads(blocked
);
2918 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2919 // For this one we simply need to make a string from buf and len
2920 // and send it to the Python method.
2922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2923 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2924 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2925 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2928 wxPyEndBlockThreads(blocked
);
2932 // Create a new class for wxPython to use
2933 class wxPyTextDataObject
: public wxTextDataObject
{
2935 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2936 : wxTextDataObject(text
) {}
2938 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2939 DEC_PYCALLBACK_STRING__const(GetText
);
2940 DEC_PYCALLBACK__STRING(SetText
);
2944 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2945 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2946 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2949 // Create a new class for wxPython to use
2950 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2952 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2953 : wxBitmapDataObject(bitmap
) {}
2955 wxBitmap
GetBitmap() const;
2956 void SetBitmap(const wxBitmap
& bitmap
);
2960 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2961 wxBitmap
* rval
= &wxNullBitmap
;
2962 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2963 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2966 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2968 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2973 wxPyEndBlockThreads(blocked
);
2977 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2978 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2979 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2980 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2981 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2984 wxPyEndBlockThreads(blocked
);
2987 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2988 return new wxCustomDataObject(wxDataFormat(formatName
));
2990 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2992 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2993 if (PyString_Check(data
)) {
2994 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2997 // raise a TypeError if not a string
2998 PyErr_SetString(PyExc_TypeError
, "String expected.");
3001 wxPyEndBlockThreads(blocked
);
3004 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3006 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3007 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3008 wxPyEndBlockThreads(blocked
);
3012 class wxMetafileDataObject
: public wxDataObjectSimple
3015 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3019 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3022 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3023 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3024 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3025 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3026 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3029 class wxPyTextDropTarget
: public wxTextDropTarget
{
3031 wxPyTextDropTarget() {}
3033 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3035 DEC_PYCALLBACK__(OnLeave
);
3036 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3037 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3038 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3039 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3044 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3045 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3046 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3047 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3048 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3049 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3053 class wxPyFileDropTarget
: public wxFileDropTarget
{
3055 wxPyFileDropTarget() {}
3057 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3059 DEC_PYCALLBACK__(OnLeave
);
3060 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3061 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3062 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3063 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3068 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3069 const wxArrayString
& filenames
) {
3071 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3072 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3073 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3074 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3077 wxPyEndBlockThreads(blocked
);
3083 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3084 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3085 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3086 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3087 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3092 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
3094 #include <wx/display.h>
3096 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
3097 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
3099 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3101 #include <wx/dynarray.h>
3102 #include <wx/vidmode.h>
3104 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
3105 #include "wx/arrimpl.cpp"
3106 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
3107 const wxVideoMode wxDefaultVideoMode
;
3112 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
3115 static size_t GetCount()
3116 { wxPyRaiseNotImplemented(); return 0; }
3118 static int GetFromPoint(const wxPoint
& pt
)
3119 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3120 static int GetFromWindow(wxWindow
*window
)
3121 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3123 virtual bool IsOk() const { return false; }
3124 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
3125 virtual wxString
GetName() const { return wxEmptyString
; }
3126 bool IsPrimary() const { return false; }
3128 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3129 { wxArrayVideoModes a
; return a
; }
3131 virtual wxVideoMode
GetCurrentMode() const
3132 { return wxDefaultVideoMode
; }
3134 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3141 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
3142 PyObject
* pyList
= NULL
;
3143 wxArrayVideoModes arr
= self
->GetModes(mode
);
3144 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3145 pyList
= PyList_New(0);
3146 for (int i
=0; i
< arr
.GetCount(); i
++) {
3147 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
3148 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
3149 PyList_Append(pyList
, pyObj
);
3152 wxPyEndBlockThreads(blocked
);
3156 #include <wx/stdpaths.h>
3158 static wxStandardPaths
*wxStandardPaths_Get(){
3159 return (wxStandardPaths
*) &wxStandardPaths::Get();
3164 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
= NULL
;
3166 wxSystemColour arg1
;
3168 PyObject
* obj0
= 0 ;
3170 (char *) "index", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3175 arg1
= static_cast<wxSystemColour
>(SWIG_As_int(obj0
));
3176 if (SWIG_arg_fail(1)) SWIG_fail
;
3179 if (!wxPyCheckForApp()) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 result
= wxSystemSettings::GetColour(arg1
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3187 wxColour
* resultptr
;
3188 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3197 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
= NULL
;
3201 PyObject
* obj0
= 0 ;
3203 (char *) "index", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3208 arg1
= static_cast<wxSystemFont
>(SWIG_As_int(obj0
));
3209 if (SWIG_arg_fail(1)) SWIG_fail
;
3212 if (!wxPyCheckForApp()) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 result
= wxSystemSettings::GetFont(arg1
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3221 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
3222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3230 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
= NULL
;
3232 wxSystemMetric arg1
;
3233 wxWindow
*arg2
= (wxWindow
*) NULL
;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3238 (char *) "index",(char *) "win", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3243 arg1
= static_cast<wxSystemMetric
>(SWIG_As_int(obj0
));
3244 if (SWIG_arg_fail(1)) SWIG_fail
;
3247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3248 if (SWIG_arg_fail(2)) SWIG_fail
;
3251 if (!wxPyCheckForApp()) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= SWIG_From_int(static_cast<int >(result
));
3267 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
= NULL
;
3269 wxSystemFeature arg1
;
3271 PyObject
* obj0
= 0 ;
3273 (char *) "index", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3278 arg1
= static_cast<wxSystemFeature
>(SWIG_As_int(obj0
));
3279 if (SWIG_arg_fail(1)) SWIG_fail
;
3282 if (!wxPyCheckForApp()) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (bool)wxSystemSettings::HasFeature(arg1
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3298 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
= NULL
;
3300 wxSystemScreenType result
;
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3307 if (!wxPyCheckForApp()) SWIG_fail
;
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 resultobj
= SWIG_From_int((result
));
3321 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
= NULL
;
3323 wxSystemScreenType arg1
;
3324 PyObject
* obj0
= 0 ;
3326 (char *) "screen", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3331 arg1
= static_cast<wxSystemScreenType
>(SWIG_As_int(obj0
));
3332 if (SWIG_arg_fail(1)) SWIG_fail
;
3335 if (!wxPyCheckForApp()) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 wxSystemSettings::SetScreenType(arg1
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3352 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3354 return Py_BuildValue((char *)"");
3356 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3357 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3362 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3363 PyObject
*pyobj
= NULL
;
3367 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3369 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3376 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
= NULL
;
3378 wxSystemOptions
*result
;
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= (wxSystemOptions
*)new wxSystemOptions();
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3398 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= NULL
;
3400 wxString
*arg1
= 0 ;
3401 wxString
*arg2
= 0 ;
3402 bool temp1
= false ;
3403 bool temp2
= false ;
3404 PyObject
* obj0
= 0 ;
3405 PyObject
* obj1
= 0 ;
3407 (char *) "name",(char *) "value", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3412 arg1
= wxString_in_helper(obj0
);
3413 if (arg1
== NULL
) SWIG_fail
;
3417 arg2
= wxString_in_helper(obj1
);
3418 if (arg2
== NULL
) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3428 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
= NULL
;
3453 wxString
*arg1
= 0 ;
3455 bool temp1
= false ;
3456 PyObject
* obj0
= 0 ;
3457 PyObject
* obj1
= 0 ;
3459 (char *) "name",(char *) "value", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3464 arg1
= wxString_in_helper(obj0
);
3465 if (arg1
== NULL
) SWIG_fail
;
3469 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3470 if (SWIG_arg_fail(2)) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 Py_INCREF(Py_None
); resultobj
= Py_None
;
3494 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
*resultobj
= NULL
;
3496 wxString
*arg1
= 0 ;
3498 bool temp1
= false ;
3499 PyObject
* obj0
= 0 ;
3501 (char *) "name", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3506 arg1
= wxString_in_helper(obj0
);
3507 if (arg1
== NULL
) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3538 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
= NULL
;
3540 wxString
*arg1
= 0 ;
3542 bool temp1
= false ;
3543 PyObject
* obj0
= 0 ;
3545 (char *) "name", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3550 arg1
= wxString_in_helper(obj0
);
3551 if (arg1
== NULL
) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= SWIG_From_int(static_cast<int >(result
));
3578 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
= NULL
;
3580 wxString
*arg1
= 0 ;
3582 bool temp1
= false ;
3583 PyObject
* obj0
= 0 ;
3585 (char *) "name", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3590 arg1
= wxString_in_helper(obj0
);
3591 if (arg1
== NULL
) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3618 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
= NULL
;
3620 wxString
*arg1
= 0 ;
3622 bool temp1
= false ;
3623 PyObject
* obj0
= 0 ;
3625 (char *) "name", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3630 arg1
= wxString_in_helper(obj0
);
3631 if (arg1
== NULL
) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3658 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3661 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3663 return Py_BuildValue((char *)"");
3665 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3666 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3671 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3672 PyObject
*pyobj
= NULL
;
3676 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3678 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3685 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3686 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3691 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3692 PyObject
*pyobj
= NULL
;
3696 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3698 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3705 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3706 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3711 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3712 PyObject
*pyobj
= NULL
;
3716 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3718 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3725 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
= NULL
;
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 result
= (long)wxNewId();
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_From_long(static_cast<long >(result
));
3749 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
= NULL
;
3752 PyObject
* obj0
= 0 ;
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3759 arg1
= static_cast<long >(SWIG_As_long(obj0
));
3760 if (SWIG_arg_fail(1)) SWIG_fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 Py_INCREF(Py_None
); resultobj
= Py_None
;
3776 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
= NULL
;
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 result
= (long)wxGetCurrentId();
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3792 resultobj
= SWIG_From_long(static_cast<long >(result
));
3800 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
= NULL
;
3804 PyObject
* obj0
= 0 ;
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3811 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3812 if (SWIG_arg_fail(1)) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (bool)wxIsStockID(arg1
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3830 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
= NULL
;
3833 wxString
*arg2
= 0 ;
3835 bool temp2
= false ;
3836 PyObject
* obj0
= 0 ;
3837 PyObject
* obj1
= 0 ;
3839 (char *) "id",(char *) "label", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3844 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3845 if (SWIG_arg_fail(1)) SWIG_fail
;
3848 arg2
= wxString_in_helper(obj1
);
3849 if (arg2
== NULL
) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3876 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
= NULL
;
3879 bool arg2
= (bool) true ;
3880 wxString arg3
= (wxString
) wxPyEmptyString
;
3882 PyObject
* obj0
= 0 ;
3883 PyObject
* obj1
= 0 ;
3884 PyObject
* obj2
= 0 ;
3886 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3891 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3892 if (SWIG_arg_fail(1)) SWIG_fail
;
3896 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3897 if (SWIG_arg_fail(2)) SWIG_fail
;
3902 wxString
* sptr
= wxString_in_helper(obj2
);
3903 if (sptr
== NULL
) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3928 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
= NULL
;
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3936 if (!wxPyCheckForApp()) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 Py_INCREF(Py_None
); resultobj
= Py_None
;
3950 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
= NULL
;
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3958 if (!wxPyCheckForApp()) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 Py_INCREF(Py_None
); resultobj
= Py_None
;
3972 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
= NULL
;
3974 bool arg1
= (bool) true ;
3976 PyObject
* obj0
= 0 ;
3978 (char *) "resetTimer", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3984 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
3985 if (SWIG_arg_fail(1)) SWIG_fail
;
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 result
= (long)wxGetElapsedTime(arg1
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3996 resultobj
= SWIG_From_long(static_cast<long >(result
));
4004 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
= NULL
;
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= (bool)wxIsBusy();
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4028 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
= NULL
;
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4056 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
= NULL
;
4058 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4059 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4061 bool temp1
= false ;
4062 PyObject
* obj0
= 0 ;
4064 (char *) "command", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
4070 arg1
= wxString_in_helper(obj0
);
4071 if (arg1
== NULL
) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (bool)wxShell((wxString
const &)*arg1
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4099 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
= NULL
;
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 Py_INCREF(Py_None
); resultobj
= Py_None
;
4120 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= NULL
;
4122 int *arg1
= (int *) 0 ;
4123 int *arg2
= (int *) 0 ;
4133 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4134 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (int)wxGetOsVersion(arg1
,arg2
);
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_From_int(static_cast<int >(result
));
4146 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4147 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4148 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4149 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4156 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
= NULL
;
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= wxGetOsDescription();
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4184 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
= NULL
;
4186 wxMemorySize result
;
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= wxGetFreeMemory();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4200 wxMemorySize
* resultptr
;
4201 resultptr
= new wxMemorySize(static_cast<wxMemorySize
& >(result
));
4202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4210 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
= NULL
;
4212 wxShutdownFlags arg1
;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "wFlags", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4221 arg1
= static_cast<wxShutdownFlags
>(SWIG_As_int(obj0
));
4222 if (SWIG_arg_fail(1)) SWIG_fail
;
4225 if (!wxPyCheckForApp()) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)wxShutdown(arg1
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4241 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
= NULL
;
4244 PyObject
* obj0
= 0 ;
4246 (char *) "secs", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4251 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4252 if (SWIG_arg_fail(1)) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 Py_INCREF(Py_None
); resultobj
= Py_None
;
4268 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
= NULL
;
4270 unsigned long arg1
;
4271 PyObject
* obj0
= 0 ;
4273 (char *) "milliseconds", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4278 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4279 if (SWIG_arg_fail(1)) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 Py_INCREF(Py_None
); resultobj
= Py_None
;
4295 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
= NULL
;
4297 unsigned long arg1
;
4298 PyObject
* obj0
= 0 ;
4300 (char *) "microseconds", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4305 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4306 if (SWIG_arg_fail(1)) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 Py_INCREF(Py_None
); resultobj
= Py_None
;
4322 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
= NULL
;
4325 PyObject
* obj0
= 0 ;
4327 (char *) "enable", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4332 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4333 if (SWIG_arg_fail(1)) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 wxEnableTopLevelWindows(arg1
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
= NULL
;
4351 wxString
*arg1
= 0 ;
4353 bool temp1
= false ;
4354 PyObject
* obj0
= 0 ;
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4361 arg1
= wxString_in_helper(obj0
);
4362 if (arg1
== NULL
) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4393 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= NULL
;
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= wxGetEmailAddress();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4421 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
= NULL
;
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= wxGetHostName();
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4449 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
= NULL
;
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= wxGetFullHostName();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4477 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
= NULL
;
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= wxGetUserId();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4505 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
= NULL
;
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 result
= wxGetUserName();
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4533 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
= NULL
;
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= wxGetHomeDir();
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4561 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
= NULL
;
4563 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4564 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4566 bool temp1
= false ;
4567 PyObject
* obj0
= 0 ;
4569 (char *) "user", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4575 arg1
= wxString_in_helper(obj0
);
4576 if (arg1
== NULL
) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= wxGetUserHome((wxString
const &)*arg1
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4608 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
= NULL
;
4610 unsigned long result
;
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (unsigned long)wxGetProcessId();
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
4632 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
= NULL
;
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4646 Py_INCREF(Py_None
); resultobj
= Py_None
;
4653 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
= NULL
;
4655 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4656 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4657 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4658 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4659 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4660 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4663 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4664 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4665 int arg6
= (int) 0 ;
4666 wxWindow
*arg7
= (wxWindow
*) NULL
;
4667 int arg8
= (int) -1 ;
4668 int arg9
= (int) -1 ;
4670 bool temp1
= false ;
4671 bool temp2
= false ;
4672 bool temp3
= false ;
4673 bool temp4
= false ;
4674 bool temp5
= false ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4678 PyObject
* obj3
= 0 ;
4679 PyObject
* obj4
= 0 ;
4680 PyObject
* obj5
= 0 ;
4681 PyObject
* obj6
= 0 ;
4682 PyObject
* obj7
= 0 ;
4683 PyObject
* obj8
= 0 ;
4685 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4691 arg1
= wxString_in_helper(obj0
);
4692 if (arg1
== NULL
) SWIG_fail
;
4698 arg2
= wxString_in_helper(obj1
);
4699 if (arg2
== NULL
) SWIG_fail
;
4705 arg3
= wxString_in_helper(obj2
);
4706 if (arg3
== NULL
) SWIG_fail
;
4712 arg4
= wxString_in_helper(obj3
);
4713 if (arg4
== NULL
) SWIG_fail
;
4719 arg5
= wxString_in_helper(obj4
);
4720 if (arg5
== NULL
) SWIG_fail
;
4726 arg6
= static_cast<int >(SWIG_As_int(obj5
));
4727 if (SWIG_arg_fail(6)) SWIG_fail
;
4731 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4732 if (SWIG_arg_fail(7)) SWIG_fail
;
4736 arg8
= static_cast<int >(SWIG_As_int(obj7
));
4737 if (SWIG_arg_fail(8)) SWIG_fail
;
4742 arg9
= static_cast<int >(SWIG_As_int(obj8
));
4743 if (SWIG_arg_fail(9)) SWIG_fail
;
4747 if (!wxPyCheckForApp()) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4807 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
= NULL
;
4809 wxString
*arg1
= 0 ;
4810 wxString
*arg2
= 0 ;
4811 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4812 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4813 wxWindow
*arg4
= (wxWindow
*) NULL
;
4815 bool temp1
= false ;
4816 bool temp2
= false ;
4817 bool temp3
= false ;
4818 PyObject
* obj0
= 0 ;
4819 PyObject
* obj1
= 0 ;
4820 PyObject
* obj2
= 0 ;
4821 PyObject
* obj3
= 0 ;
4823 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4828 arg1
= wxString_in_helper(obj0
);
4829 if (arg1
== NULL
) SWIG_fail
;
4833 arg2
= wxString_in_helper(obj1
);
4834 if (arg2
== NULL
) SWIG_fail
;
4839 arg3
= wxString_in_helper(obj2
);
4840 if (arg3
== NULL
) SWIG_fail
;
4845 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4846 if (SWIG_arg_fail(4)) SWIG_fail
;
4849 if (!wxPyCheckForApp()) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4893 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
= NULL
;
4895 wxString
*arg1
= 0 ;
4896 wxString
*arg2
= 0 ;
4897 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4898 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4899 wxWindow
*arg4
= (wxWindow
*) NULL
;
4901 bool temp1
= false ;
4902 bool temp2
= false ;
4903 bool temp3
= false ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 PyObject
* obj2
= 0 ;
4907 PyObject
* obj3
= 0 ;
4909 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4914 arg1
= wxString_in_helper(obj0
);
4915 if (arg1
== NULL
) SWIG_fail
;
4919 arg2
= wxString_in_helper(obj1
);
4920 if (arg2
== NULL
) SWIG_fail
;
4925 arg3
= wxString_in_helper(obj2
);
4926 if (arg3
== NULL
) SWIG_fail
;
4931 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4932 if (SWIG_arg_fail(4)) SWIG_fail
;
4935 if (!wxPyCheckForApp()) SWIG_fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4979 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
= NULL
;
4981 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4982 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4983 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4984 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4985 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4988 wxWindow
*arg5
= (wxWindow
*) NULL
;
4990 bool temp1
= false ;
4991 bool temp2
= false ;
4993 PyObject
* obj0
= 0 ;
4994 PyObject
* obj1
= 0 ;
4995 PyObject
* obj2
= 0 ;
4996 PyObject
* obj3
= 0 ;
4997 PyObject
* obj4
= 0 ;
4999 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5005 arg1
= wxString_in_helper(obj0
);
5006 if (arg1
== NULL
) SWIG_fail
;
5012 arg2
= wxString_in_helper(obj1
);
5013 if (arg2
== NULL
) SWIG_fail
;
5019 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5020 if (SWIG_arg_fail(3)) SWIG_fail
;
5026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5030 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5031 if (SWIG_arg_fail(5)) SWIG_fail
;
5034 if (!wxPyCheckForApp()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5070 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
= NULL
;
5072 wxString
*arg1
= 0 ;
5073 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5074 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5075 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5076 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5077 wxWindow
*arg4
= (wxWindow
*) NULL
;
5078 int arg5
= (int) -1 ;
5079 int arg6
= (int) -1 ;
5080 bool arg7
= (bool) true ;
5082 bool temp1
= false ;
5083 bool temp2
= false ;
5084 bool temp3
= false ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 PyObject
* obj2
= 0 ;
5088 PyObject
* obj3
= 0 ;
5089 PyObject
* obj4
= 0 ;
5090 PyObject
* obj5
= 0 ;
5091 PyObject
* obj6
= 0 ;
5093 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5098 arg1
= wxString_in_helper(obj0
);
5099 if (arg1
== NULL
) SWIG_fail
;
5104 arg2
= wxString_in_helper(obj1
);
5105 if (arg2
== NULL
) SWIG_fail
;
5111 arg3
= wxString_in_helper(obj2
);
5112 if (arg3
== NULL
) SWIG_fail
;
5117 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5118 if (SWIG_arg_fail(4)) SWIG_fail
;
5122 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5123 if (SWIG_arg_fail(5)) SWIG_fail
;
5128 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5129 if (SWIG_arg_fail(6)) SWIG_fail
;
5134 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
5135 if (SWIG_arg_fail(7)) SWIG_fail
;
5139 if (!wxPyCheckForApp()) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5183 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
= NULL
;
5185 wxString
*arg1
= 0 ;
5186 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5187 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5190 wxWindow
*arg4
= (wxWindow
*) NULL
;
5192 bool temp1
= false ;
5193 bool temp2
= false ;
5194 bool temp3
= false ;
5195 PyObject
* obj0
= 0 ;
5196 PyObject
* obj1
= 0 ;
5197 PyObject
* obj2
= 0 ;
5198 PyObject
* obj3
= 0 ;
5200 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5205 arg1
= wxString_in_helper(obj0
);
5206 if (arg1
== NULL
) SWIG_fail
;
5211 arg2
= wxString_in_helper(obj1
);
5212 if (arg2
== NULL
) SWIG_fail
;
5218 arg3
= wxString_in_helper(obj2
);
5219 if (arg3
== NULL
) SWIG_fail
;
5224 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5225 if (SWIG_arg_fail(4)) SWIG_fail
;
5228 if (!wxPyCheckForApp()) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5272 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
= NULL
;
5274 wxString
*arg1
= 0 ;
5275 wxString
*arg2
= 0 ;
5277 wxString
*arg4
= (wxString
*) 0 ;
5278 wxWindow
*arg5
= (wxWindow
*) NULL
;
5279 int arg6
= (int) -1 ;
5280 int arg7
= (int) -1 ;
5281 bool arg8
= (bool) true ;
5282 int arg9
= (int) 150 ;
5283 int arg10
= (int) 200 ;
5285 bool temp1
= false ;
5286 bool temp2
= false ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 PyObject
* obj2
= 0 ;
5290 PyObject
* obj3
= 0 ;
5291 PyObject
* obj4
= 0 ;
5292 PyObject
* obj5
= 0 ;
5293 PyObject
* obj6
= 0 ;
5294 PyObject
* obj7
= 0 ;
5295 PyObject
* obj8
= 0 ;
5297 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5302 arg1
= wxString_in_helper(obj0
);
5303 if (arg1
== NULL
) SWIG_fail
;
5307 arg2
= wxString_in_helper(obj1
);
5308 if (arg2
== NULL
) SWIG_fail
;
5312 arg3
= PyList_Size(obj2
);
5313 arg4
= wxString_LIST_helper(obj2
);
5314 if (arg4
== NULL
) SWIG_fail
;
5317 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5318 if (SWIG_arg_fail(5)) SWIG_fail
;
5322 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5323 if (SWIG_arg_fail(6)) SWIG_fail
;
5328 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5329 if (SWIG_arg_fail(7)) SWIG_fail
;
5334 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5335 if (SWIG_arg_fail(8)) SWIG_fail
;
5340 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5341 if (SWIG_arg_fail(9)) SWIG_fail
;
5346 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5347 if (SWIG_arg_fail(10)) SWIG_fail
;
5351 if (!wxPyCheckForApp()) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5374 if (arg4
) delete [] arg4
;
5387 if (arg4
) delete [] arg4
;
5393 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
= NULL
;
5395 wxString
*arg1
= 0 ;
5396 wxString
*arg2
= 0 ;
5398 wxString
*arg4
= (wxString
*) 0 ;
5399 wxWindow
*arg5
= (wxWindow
*) NULL
;
5400 int arg6
= (int) -1 ;
5401 int arg7
= (int) -1 ;
5402 bool arg8
= (bool) true ;
5403 int arg9
= (int) 150 ;
5404 int arg10
= (int) 200 ;
5406 bool temp1
= false ;
5407 bool temp2
= false ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5410 PyObject
* obj2
= 0 ;
5411 PyObject
* obj3
= 0 ;
5412 PyObject
* obj4
= 0 ;
5413 PyObject
* obj5
= 0 ;
5414 PyObject
* obj6
= 0 ;
5415 PyObject
* obj7
= 0 ;
5416 PyObject
* obj8
= 0 ;
5418 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5423 arg1
= wxString_in_helper(obj0
);
5424 if (arg1
== NULL
) SWIG_fail
;
5428 arg2
= wxString_in_helper(obj1
);
5429 if (arg2
== NULL
) SWIG_fail
;
5433 arg3
= PyList_Size(obj2
);
5434 arg4
= wxString_LIST_helper(obj2
);
5435 if (arg4
== NULL
) SWIG_fail
;
5438 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5439 if (SWIG_arg_fail(5)) SWIG_fail
;
5443 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5444 if (SWIG_arg_fail(6)) SWIG_fail
;
5449 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5450 if (SWIG_arg_fail(7)) SWIG_fail
;
5455 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5456 if (SWIG_arg_fail(8)) SWIG_fail
;
5461 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5462 if (SWIG_arg_fail(9)) SWIG_fail
;
5467 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5468 if (SWIG_arg_fail(10)) SWIG_fail
;
5472 if (!wxPyCheckForApp()) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_From_int(static_cast<int >(result
));
5491 if (arg4
) delete [] arg4
;
5504 if (arg4
) delete [] arg4
;
5510 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
= NULL
;
5512 wxString
*arg1
= 0 ;
5513 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5514 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5515 int arg3
= (int) wxOK
|wxCENTRE
;
5516 wxWindow
*arg4
= (wxWindow
*) NULL
;
5517 int arg5
= (int) -1 ;
5518 int arg6
= (int) -1 ;
5520 bool temp1
= false ;
5521 bool temp2
= false ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5524 PyObject
* obj2
= 0 ;
5525 PyObject
* obj3
= 0 ;
5526 PyObject
* obj4
= 0 ;
5527 PyObject
* obj5
= 0 ;
5529 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5534 arg1
= wxString_in_helper(obj0
);
5535 if (arg1
== NULL
) SWIG_fail
;
5540 arg2
= wxString_in_helper(obj1
);
5541 if (arg2
== NULL
) SWIG_fail
;
5547 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5548 if (SWIG_arg_fail(3)) SWIG_fail
;
5552 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5553 if (SWIG_arg_fail(4)) SWIG_fail
;
5557 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5558 if (SWIG_arg_fail(5)) SWIG_fail
;
5563 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5564 if (SWIG_arg_fail(6)) SWIG_fail
;
5568 if (!wxPyCheckForApp()) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_From_int(static_cast<int >(result
));
5600 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
= NULL
;
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5609 if (!wxPyCheckForApp()) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (bool)wxColourDisplay();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5625 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= NULL
;
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5634 if (!wxPyCheckForApp()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (int)wxDisplayDepth();
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_From_int(static_cast<int >(result
));
5650 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
= NULL
;
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5659 if (!wxPyCheckForApp()) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (int)wxGetDisplayDepth();
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5667 resultobj
= SWIG_From_int(static_cast<int >(result
));
5675 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
= NULL
;
5677 int *arg1
= (int *) 0 ;
5678 int *arg2
= (int *) 0 ;
5687 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5688 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5691 if (!wxPyCheckForApp()) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 wxDisplaySize(arg1
,arg2
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 Py_INCREF(Py_None
); resultobj
= Py_None
;
5699 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5700 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5701 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5702 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5709 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
= NULL
;
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5718 if (!wxPyCheckForApp()) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= wxGetDisplaySize();
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5727 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5736 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
= NULL
;
5738 int *arg1
= (int *) 0 ;
5739 int *arg2
= (int *) 0 ;
5748 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5749 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5752 if (!wxPyCheckForApp()) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 wxDisplaySizeMM(arg1
,arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 Py_INCREF(Py_None
); resultobj
= Py_None
;
5760 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5761 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5762 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5763 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5770 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
= NULL
;
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5779 if (!wxPyCheckForApp()) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 result
= wxGetDisplaySizeMM();
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5788 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5797 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
= NULL
;
5799 int *arg1
= (int *) 0 ;
5800 int *arg2
= (int *) 0 ;
5801 int *arg3
= (int *) 0 ;
5802 int *arg4
= (int *) 0 ;
5815 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5816 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5817 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5818 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5821 if (!wxPyCheckForApp()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 Py_INCREF(Py_None
); resultobj
= Py_None
;
5829 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5830 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5831 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5832 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5833 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5834 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5835 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5836 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5843 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
= NULL
;
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5852 if (!wxPyCheckForApp()) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= wxGetClientDisplayRect();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5861 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
5862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5870 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= NULL
;
5872 wxCursor
*arg1
= 0 ;
5873 PyObject
* obj0
= 0 ;
5875 (char *) "cursor", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5881 if (SWIG_arg_fail(1)) SWIG_fail
;
5883 SWIG_null_ref("wxCursor");
5885 if (SWIG_arg_fail(1)) SWIG_fail
;
5888 if (!wxPyCheckForApp()) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 Py_INCREF(Py_None
); resultobj
= Py_None
;
5902 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
= NULL
;
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5911 if (!wxPyCheckForApp()) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (void *)wxGetXDisplay();
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5925 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
= NULL
;
5927 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5928 PyObject
* obj0
= 0 ;
5930 (char *) "cursor", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5936 if (SWIG_arg_fail(1)) SWIG_fail
;
5939 if (!wxPyCheckForApp()) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 wxBeginBusyCursor(arg1
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 Py_INCREF(Py_None
); resultobj
= Py_None
;
5953 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
= NULL
;
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
5962 if (!wxPyCheckForApp()) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= wxGetMousePosition();
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 wxPoint
* resultptr
;
5971 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5980 static PyObject
*_wrap_FindWindowAtPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
= NULL
;
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FindWindowAtPointer",kwnames
)) goto fail
;
5989 if (!wxPyCheckForApp()) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (wxWindow
*)FindWindowAtPointer();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= wxPyMake_wxObject(result
, 0);
6005 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
= NULL
;
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
6014 if (!wxPyCheckForApp()) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (wxWindow
*)wxGetActiveWindow();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= wxPyMake_wxObject(result
, 0);
6030 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
*resultobj
= NULL
;
6035 PyObject
* obj0
= 0 ;
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6043 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6046 if (!wxPyCheckForApp()) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= wxPyMake_wxObject(result
, 0);
6062 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
= NULL
;
6067 PyObject
* obj0
= 0 ;
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6075 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6078 if (!wxPyCheckForApp()) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= wxPyMake_wxObject(result
, 0);
6094 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
= NULL
;
6096 wxWindow
*arg1
= (wxWindow
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6100 (char *) "win", NULL
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6105 if (SWIG_arg_fail(1)) SWIG_fail
;
6107 if (!wxPyCheckForApp()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= wxPyMake_wxObject(result
, 0);
6123 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
= NULL
;
6125 wxString
*arg1
= 0 ;
6127 bool temp1
= false ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "url", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6135 arg1
= wxString_in_helper(obj0
);
6136 if (arg1
== NULL
) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6163 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
= NULL
;
6167 PyObject
* obj0
= 0 ;
6169 (char *) "key", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6174 arg1
= static_cast<wxKeyCode
>(SWIG_As_int(obj0
));
6175 if (SWIG_arg_fail(1)) SWIG_fail
;
6178 if (!wxPyCheckForApp()) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 result
= (bool)wxGetKeyState(arg1
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6194 static PyObject
*_wrap_new_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
= NULL
;
6196 wxMouseState
*result
;
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MouseState",kwnames
)) goto fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (wxMouseState
*)new wxMouseState();
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseState
, 1);
6216 static PyObject
*_wrap_delete_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
= NULL
;
6218 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MouseState",kwnames
,&obj0
)) goto fail
;
6225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6226 if (SWIG_arg_fail(1)) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 Py_INCREF(Py_None
); resultobj
= Py_None
;
6241 static PyObject
*_wrap_MouseState_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
= NULL
;
6243 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6247 (char *) "self", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetX",kwnames
,&obj0
)) goto fail
;
6251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6252 if (SWIG_arg_fail(1)) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (int)(arg1
)->GetX();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_From_int(static_cast<int >(result
));
6269 static PyObject
*_wrap_MouseState_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= NULL
;
6271 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetY",kwnames
,&obj0
)) goto fail
;
6279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6280 if (SWIG_arg_fail(1)) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (int)(arg1
)->GetY();
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= SWIG_From_int(static_cast<int >(result
));
6297 static PyObject
*_wrap_MouseState_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
= NULL
;
6299 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6303 (char *) "self", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_LeftDown",kwnames
,&obj0
)) goto fail
;
6307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6308 if (SWIG_arg_fail(1)) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (bool)(arg1
)->LeftDown();
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6325 static PyObject
*_wrap_MouseState_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
= NULL
;
6327 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6331 (char *) "self", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MiddleDown",kwnames
,&obj0
)) goto fail
;
6335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6336 if (SWIG_arg_fail(1)) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (bool)(arg1
)->MiddleDown();
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6353 static PyObject
*_wrap_MouseState_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
= NULL
;
6355 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_RightDown",kwnames
,&obj0
)) goto fail
;
6363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (bool)(arg1
)->RightDown();
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6381 static PyObject
*_wrap_MouseState_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
= NULL
;
6383 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6385 PyObject
* obj0
= 0 ;
6387 (char *) "self", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ControlDown",kwnames
,&obj0
)) goto fail
;
6391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6392 if (SWIG_arg_fail(1)) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (bool)(arg1
)->ControlDown();
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6409 static PyObject
*_wrap_MouseState_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
= NULL
;
6411 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6413 PyObject
* obj0
= 0 ;
6415 (char *) "self", NULL
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ShiftDown",kwnames
,&obj0
)) goto fail
;
6419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6420 if (SWIG_arg_fail(1)) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (bool)(arg1
)->ShiftDown();
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6437 static PyObject
*_wrap_MouseState_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
= NULL
;
6439 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_AltDown",kwnames
,&obj0
)) goto fail
;
6447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6448 if (SWIG_arg_fail(1)) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (bool)(arg1
)->AltDown();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6465 static PyObject
*_wrap_MouseState_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
= NULL
;
6467 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6471 (char *) "self", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MetaDown",kwnames
,&obj0
)) goto fail
;
6475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6476 if (SWIG_arg_fail(1)) SWIG_fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 result
= (bool)(arg1
)->MetaDown();
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6493 static PyObject
*_wrap_MouseState_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
= NULL
;
6495 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6497 PyObject
* obj0
= 0 ;
6499 (char *) "self", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_CmdDown",kwnames
,&obj0
)) goto fail
;
6503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6504 if (SWIG_arg_fail(1)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (bool)(arg1
)->CmdDown();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6521 static PyObject
*_wrap_MouseState_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= NULL
;
6523 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6528 (char *) "self",(char *) "x", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
6532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6533 if (SWIG_arg_fail(1)) SWIG_fail
;
6535 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6536 if (SWIG_arg_fail(2)) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 Py_INCREF(Py_None
); resultobj
= Py_None
;
6552 static PyObject
*_wrap_MouseState_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
= NULL
;
6554 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6557 PyObject
* obj1
= 0 ;
6559 (char *) "self",(char *) "y", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
6563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6564 if (SWIG_arg_fail(1)) SWIG_fail
;
6566 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6567 if (SWIG_arg_fail(2)) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 Py_INCREF(Py_None
); resultobj
= Py_None
;
6583 static PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
= NULL
;
6585 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6588 PyObject
* obj1
= 0 ;
6590 (char *) "self",(char *) "down", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6595 if (SWIG_arg_fail(1)) SWIG_fail
;
6597 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6598 if (SWIG_arg_fail(2)) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 (arg1
)->SetLeftDown(arg2
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 Py_INCREF(Py_None
); resultobj
= Py_None
;
6614 static PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
= NULL
;
6616 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6618 PyObject
* obj0
= 0 ;
6619 PyObject
* obj1
= 0 ;
6621 (char *) "self",(char *) "down", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6626 if (SWIG_arg_fail(1)) SWIG_fail
;
6628 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6629 if (SWIG_arg_fail(2)) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 (arg1
)->SetMiddleDown(arg2
);
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 Py_INCREF(Py_None
); resultobj
= Py_None
;
6645 static PyObject
*_wrap_MouseState_SetRightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
= NULL
;
6647 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6652 (char *) "self",(char *) "down", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6657 if (SWIG_arg_fail(1)) SWIG_fail
;
6659 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6660 if (SWIG_arg_fail(2)) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 (arg1
)->SetRightDown(arg2
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 Py_INCREF(Py_None
); resultobj
= Py_None
;
6676 static PyObject
*_wrap_MouseState_SetControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= NULL
;
6678 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6683 (char *) "self",(char *) "down", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6688 if (SWIG_arg_fail(1)) SWIG_fail
;
6690 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6691 if (SWIG_arg_fail(2)) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 (arg1
)->SetControlDown(arg2
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 Py_INCREF(Py_None
); resultobj
= Py_None
;
6707 static PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
= NULL
;
6709 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6711 PyObject
* obj0
= 0 ;
6712 PyObject
* obj1
= 0 ;
6714 (char *) "self",(char *) "down", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail
;
6721 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6722 if (SWIG_arg_fail(2)) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 (arg1
)->SetShiftDown(arg2
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 Py_INCREF(Py_None
); resultobj
= Py_None
;
6738 static PyObject
*_wrap_MouseState_SetAltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
= NULL
;
6740 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6745 (char *) "self",(char *) "down", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6750 if (SWIG_arg_fail(1)) SWIG_fail
;
6752 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6753 if (SWIG_arg_fail(2)) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 (arg1
)->SetAltDown(arg2
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 Py_INCREF(Py_None
); resultobj
= Py_None
;
6769 static PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
= NULL
;
6771 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6773 PyObject
* obj0
= 0 ;
6774 PyObject
* obj1
= 0 ;
6776 (char *) "self",(char *) "down", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6781 if (SWIG_arg_fail(1)) SWIG_fail
;
6783 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6784 if (SWIG_arg_fail(2)) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 (arg1
)->SetMetaDown(arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 Py_INCREF(Py_None
); resultobj
= Py_None
;
6800 static PyObject
* MouseState_swigregister(PyObject
*, PyObject
*args
) {
6802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6803 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState
, obj
);
6805 return Py_BuildValue((char *)"");
6807 static PyObject
*_wrap_GetMouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
= NULL
;
6809 wxMouseState result
;
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMouseState",kwnames
)) goto fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= wxGetMouseState();
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6823 wxMouseState
* resultptr
;
6824 resultptr
= new wxMouseState(static_cast<wxMouseState
& >(result
));
6825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMouseState
, 1);
6833 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
= NULL
;
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6841 if (!wxPyCheckForApp()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 wxWakeUpMainThread();
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 Py_INCREF(Py_None
); resultobj
= Py_None
;
6855 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
= NULL
;
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6863 if (!wxPyCheckForApp()) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 Py_INCREF(Py_None
); resultobj
= Py_None
;
6877 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
= NULL
;
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6885 if (!wxPyCheckForApp()) SWIG_fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 Py_INCREF(Py_None
); resultobj
= Py_None
;
6899 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
= NULL
;
6901 wxMutexGuiLocker
*result
;
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6908 if (!wxPyCheckForApp()) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6922 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
= NULL
;
6924 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6927 (char *) "self", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6950 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6952 return Py_BuildValue((char *)"");
6954 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
= NULL
;
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (bool)wxThread_IsMain();
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6978 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
= NULL
;
6980 wxString
*arg1
= 0 ;
6982 bool temp1
= false ;
6983 PyObject
* obj0
= 0 ;
6985 (char *) "tip", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6990 arg1
= wxString_in_helper(obj0
);
6991 if (arg1
== NULL
) SWIG_fail
;
6995 if (!wxPyCheckForApp()) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolTip
, 1);
7017 static PyObject
*_wrap_delete_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= NULL
;
7019 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ToolTip",kwnames
,&obj0
)) goto fail
;
7026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7027 if (SWIG_arg_fail(1)) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= NULL
;
7044 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7045 wxString
*arg2
= 0 ;
7046 bool temp2
= false ;
7047 PyObject
* obj0
= 0 ;
7048 PyObject
* obj1
= 0 ;
7050 (char *) "self",(char *) "tip", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7055 if (SWIG_arg_fail(1)) SWIG_fail
;
7057 arg2
= wxString_in_helper(obj1
);
7058 if (arg2
== NULL
) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 (arg1
)->SetTip((wxString
const &)*arg2
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 Py_INCREF(Py_None
); resultobj
= Py_None
;
7083 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= NULL
;
7085 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 (char *) "self", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7094 if (SWIG_arg_fail(1)) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (arg1
)->GetTip();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7115 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
= NULL
;
7117 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7121 (char *) "self", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7126 if (SWIG_arg_fail(1)) SWIG_fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 result
= (wxWindow
*)(arg1
)->GetWindow();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= wxPyMake_wxObject(result
, 0);
7143 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
= NULL
;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "flag", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7153 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7154 if (SWIG_arg_fail(1)) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 wxToolTip::Enable(arg1
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 Py_INCREF(Py_None
); resultobj
= Py_None
;
7170 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
= NULL
;
7173 PyObject
* obj0
= 0 ;
7175 (char *) "milliseconds", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7180 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7181 if (SWIG_arg_fail(1)) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 wxToolTip::SetDelay(arg1
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 Py_INCREF(Py_None
); resultobj
= Py_None
;
7197 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7200 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7202 return Py_BuildValue((char *)"");
7204 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
= NULL
;
7206 wxWindow
*arg1
= (wxWindow
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7213 (char *) "window",(char *) "size", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7218 if (SWIG_arg_fail(1)) SWIG_fail
;
7221 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7224 if (!wxPyCheckForApp()) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7238 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
= NULL
;
7240 wxCaret
*arg1
= (wxCaret
*) 0 ;
7241 PyObject
* obj0
= 0 ;
7243 (char *) "self", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
7247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7248 if (SWIG_arg_fail(1)) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
= NULL
;
7265 wxCaret
*arg1
= (wxCaret
*) 0 ;
7266 PyObject
* obj0
= 0 ;
7268 (char *) "self", NULL
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7273 if (SWIG_arg_fail(1)) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 wxCaret_Destroy(arg1
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 Py_INCREF(Py_None
); resultobj
= Py_None
;
7288 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
= NULL
;
7290 wxCaret
*arg1
= (wxCaret
*) 0 ;
7292 PyObject
* obj0
= 0 ;
7294 (char *) "self", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7299 if (SWIG_arg_fail(1)) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= (bool)(arg1
)->IsOk();
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7316 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
= NULL
;
7318 wxCaret
*arg1
= (wxCaret
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7322 (char *) "self", NULL
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7327 if (SWIG_arg_fail(1)) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (bool)(arg1
)->IsVisible();
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7344 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
= NULL
;
7346 wxCaret
*arg1
= (wxCaret
*) 0 ;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "self", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7355 if (SWIG_arg_fail(1)) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= (arg1
)->GetPosition();
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7364 wxPoint
* resultptr
;
7365 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7374 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
= NULL
;
7376 wxCaret
*arg1
= (wxCaret
*) 0 ;
7377 int *arg2
= (int *) 0 ;
7378 int *arg3
= (int *) 0 ;
7383 PyObject
* obj0
= 0 ;
7385 (char *) "self", NULL
7388 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7389 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7392 if (SWIG_arg_fail(1)) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 (arg1
)->GetPosition(arg2
,arg3
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7402 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7403 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7404 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7411 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
= NULL
;
7413 wxCaret
*arg1
= (wxCaret
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7417 (char *) "self", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 result
= (arg1
)->GetSize();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7432 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7441 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
= NULL
;
7443 wxCaret
*arg1
= (wxCaret
*) 0 ;
7444 int *arg2
= (int *) 0 ;
7445 int *arg3
= (int *) 0 ;
7450 PyObject
* obj0
= 0 ;
7452 (char *) "self", NULL
7455 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7456 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7459 if (SWIG_arg_fail(1)) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 (arg1
)->GetSize(arg2
,arg3
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 Py_INCREF(Py_None
); resultobj
= Py_None
;
7468 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7469 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7470 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7471 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7478 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
= NULL
;
7480 wxCaret
*arg1
= (wxCaret
*) 0 ;
7482 PyObject
* obj0
= 0 ;
7484 (char *) "self", NULL
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7489 if (SWIG_arg_fail(1)) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (wxWindow
*)(arg1
)->GetWindow();
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= wxPyMake_wxObject(result
, 0);
7506 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
= NULL
;
7508 wxCaret
*arg1
= (wxCaret
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 PyObject
* obj2
= 0 ;
7515 (char *) "self",(char *) "x",(char *) "y", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7520 if (SWIG_arg_fail(1)) SWIG_fail
;
7522 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7523 if (SWIG_arg_fail(2)) SWIG_fail
;
7526 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7527 if (SWIG_arg_fail(3)) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 (arg1
)->Move(arg2
,arg3
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 Py_INCREF(Py_None
); resultobj
= Py_None
;
7543 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
= NULL
;
7545 wxCaret
*arg1
= (wxCaret
*) 0 ;
7548 PyObject
* obj0
= 0 ;
7549 PyObject
* obj1
= 0 ;
7551 (char *) "self",(char *) "pt", NULL
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7556 if (SWIG_arg_fail(1)) SWIG_fail
;
7559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 (arg1
)->Move((wxPoint
const &)*arg2
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 Py_INCREF(Py_None
); resultobj
= Py_None
;
7575 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
= NULL
;
7577 wxCaret
*arg1
= (wxCaret
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7582 PyObject
* obj2
= 0 ;
7584 (char *) "self",(char *) "width",(char *) "height", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7589 if (SWIG_arg_fail(1)) SWIG_fail
;
7591 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7592 if (SWIG_arg_fail(2)) SWIG_fail
;
7595 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7596 if (SWIG_arg_fail(3)) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 (arg1
)->SetSize(arg2
,arg3
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 Py_INCREF(Py_None
); resultobj
= Py_None
;
7612 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
= NULL
;
7614 wxCaret
*arg1
= (wxCaret
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7620 (char *) "self",(char *) "size", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7625 if (SWIG_arg_fail(1)) SWIG_fail
;
7628 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 (arg1
)->SetSize((wxSize
const &)*arg2
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 Py_INCREF(Py_None
); resultobj
= Py_None
;
7644 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
= NULL
;
7646 wxCaret
*arg1
= (wxCaret
*) 0 ;
7647 int arg2
= (int) true ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7651 (char *) "self",(char *) "show", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7656 if (SWIG_arg_fail(1)) SWIG_fail
;
7659 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7660 if (SWIG_arg_fail(2)) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 Py_INCREF(Py_None
); resultobj
= Py_None
;
7677 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
= NULL
;
7679 wxCaret
*arg1
= (wxCaret
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "self", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 Py_INCREF(Py_None
); resultobj
= Py_None
;
7702 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
= NULL
;
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (int)wxCaret::GetBlinkTime();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= SWIG_From_int(static_cast<int >(result
));
7726 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
= NULL
;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "milliseconds", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7736 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7737 if (SWIG_arg_fail(1)) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 wxCaret::SetBlinkTime(arg1
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7756 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7758 return Py_BuildValue((char *)"");
7760 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
= NULL
;
7762 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7763 wxBusyCursor
*result
;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "cursor", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7772 if (SWIG_arg_fail(1)) SWIG_fail
;
7775 if (!wxPyCheckForApp()) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7789 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
= NULL
;
7791 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "self", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7799 if (SWIG_arg_fail(1)) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 Py_INCREF(Py_None
); resultobj
= Py_None
;
7814 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7817 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7819 return Py_BuildValue((char *)"");
7821 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
= NULL
;
7823 wxWindow
*arg1
= (wxWindow
*) NULL
;
7824 wxWindowDisabler
*result
;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "winToSkip", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7833 if (SWIG_arg_fail(1)) SWIG_fail
;
7836 if (!wxPyCheckForApp()) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7850 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
= NULL
;
7852 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7855 (char *) "self", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7860 if (SWIG_arg_fail(1)) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7878 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7880 return Py_BuildValue((char *)"");
7882 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
= NULL
;
7884 wxString
*arg1
= 0 ;
7886 bool temp1
= false ;
7887 PyObject
* obj0
= 0 ;
7889 (char *) "message", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7894 arg1
= wxString_in_helper(obj0
);
7895 if (arg1
== NULL
) SWIG_fail
;
7899 if (!wxPyCheckForApp()) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7921 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
= NULL
;
7923 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7926 (char *) "self", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7931 if (SWIG_arg_fail(1)) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 Py_INCREF(Py_None
); resultobj
= Py_None
;
7946 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7949 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7951 return Py_BuildValue((char *)"");
7953 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
= NULL
;
7955 wxStopWatch
*result
;
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (wxStopWatch
*)new wxStopWatch();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7975 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
= NULL
;
7977 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7978 long arg2
= (long) 0 ;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7982 (char *) "self",(char *) "t0", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7987 if (SWIG_arg_fail(1)) SWIG_fail
;
7990 arg2
= static_cast<long >(SWIG_As_long(obj1
));
7991 if (SWIG_arg_fail(2)) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 (arg1
)->Start(arg2
);
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8001 Py_INCREF(Py_None
); resultobj
= Py_None
;
8008 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
= NULL
;
8010 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8013 (char *) "self", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
8017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8018 if (SWIG_arg_fail(1)) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
= NULL
;
8035 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8036 PyObject
* obj0
= 0 ;
8038 (char *) "self", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8043 if (SWIG_arg_fail(1)) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 Py_INCREF(Py_None
); resultobj
= Py_None
;
8058 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= NULL
;
8060 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8062 PyObject
* obj0
= 0 ;
8064 (char *) "self", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8069 if (SWIG_arg_fail(1)) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= SWIG_From_long(static_cast<long >(result
));
8086 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8089 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8091 return Py_BuildValue((char *)"");
8093 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
= NULL
;
8095 int arg1
= (int) 9 ;
8096 int arg2
= (int) wxID_FILE1
;
8097 wxFileHistory
*result
;
8098 PyObject
* obj0
= 0 ;
8099 PyObject
* obj1
= 0 ;
8101 (char *) "maxFiles",(char *) "idBase", NULL
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8108 if (SWIG_arg_fail(1)) SWIG_fail
;
8113 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8114 if (SWIG_arg_fail(2)) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8131 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
= NULL
;
8133 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "self", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8141 if (SWIG_arg_fail(1)) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 Py_INCREF(Py_None
); resultobj
= Py_None
;
8156 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
= NULL
;
8158 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8159 wxString
*arg2
= 0 ;
8160 bool temp2
= false ;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8164 (char *) "self",(char *) "file", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8169 if (SWIG_arg_fail(1)) SWIG_fail
;
8171 arg2
= wxString_in_helper(obj1
);
8172 if (arg2
== NULL
) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 Py_INCREF(Py_None
); resultobj
= Py_None
;
8197 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
= NULL
;
8199 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8201 PyObject
* obj0
= 0 ;
8202 PyObject
* obj1
= 0 ;
8204 (char *) "self",(char *) "i", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8209 if (SWIG_arg_fail(1)) SWIG_fail
;
8211 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8212 if (SWIG_arg_fail(2)) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 (arg1
)->RemoveFileFromHistory(arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 Py_INCREF(Py_None
); resultobj
= Py_None
;
8228 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
= NULL
;
8230 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8232 PyObject
* obj0
= 0 ;
8234 (char *) "self", NULL
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8239 if (SWIG_arg_fail(1)) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_From_int(static_cast<int >(result
));
8256 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
= NULL
;
8258 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8259 wxMenu
*arg2
= (wxMenu
*) 0 ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8263 (char *) "self",(char *) "menu", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail
;
8269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8270 if (SWIG_arg_fail(2)) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 (arg1
)->UseMenu(arg2
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 Py_INCREF(Py_None
); resultobj
= Py_None
;
8285 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
= NULL
;
8287 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8288 wxMenu
*arg2
= (wxMenu
*) 0 ;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj1
= 0 ;
8292 (char *) "self",(char *) "menu", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8297 if (SWIG_arg_fail(1)) SWIG_fail
;
8298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8299 if (SWIG_arg_fail(2)) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 (arg1
)->RemoveMenu(arg2
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 Py_INCREF(Py_None
); resultobj
= Py_None
;
8314 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
= NULL
;
8316 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8317 wxConfigBase
*arg2
= 0 ;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8321 (char *) "self",(char *) "config", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8326 if (SWIG_arg_fail(1)) SWIG_fail
;
8328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8329 if (SWIG_arg_fail(2)) SWIG_fail
;
8331 SWIG_null_ref("wxConfigBase");
8333 if (SWIG_arg_fail(2)) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->Load(*arg2
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
= NULL
;
8351 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8352 wxConfigBase
*arg2
= 0 ;
8353 PyObject
* obj0
= 0 ;
8354 PyObject
* obj1
= 0 ;
8356 (char *) "self",(char *) "config", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8364 if (SWIG_arg_fail(2)) SWIG_fail
;
8366 SWIG_null_ref("wxConfigBase");
8368 if (SWIG_arg_fail(2)) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 (arg1
)->Save(*arg2
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 Py_INCREF(Py_None
); resultobj
= Py_None
;
8384 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
= NULL
;
8386 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8387 PyObject
* obj0
= 0 ;
8389 (char *) "self", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8394 if (SWIG_arg_fail(1)) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 (arg1
)->AddFilesToMenu();
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 Py_INCREF(Py_None
); resultobj
= Py_None
;
8409 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
= NULL
;
8411 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8412 wxMenu
*arg2
= (wxMenu
*) 0 ;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8416 (char *) "self",(char *) "menu", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8421 if (SWIG_arg_fail(1)) SWIG_fail
;
8422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8423 if (SWIG_arg_fail(2)) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 (arg1
)->AddFilesToMenu(arg2
);
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
= NULL
;
8440 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8446 (char *) "self",(char *) "i", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8451 if (SWIG_arg_fail(1)) SWIG_fail
;
8453 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8454 if (SWIG_arg_fail(2)) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8476 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
= NULL
;
8478 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8480 PyObject
* obj0
= 0 ;
8482 (char *) "self", NULL
8485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8487 if (SWIG_arg_fail(1)) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= SWIG_From_int(static_cast<int >(result
));
8504 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8507 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8509 return Py_BuildValue((char *)"");
8511 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
= NULL
;
8513 wxString
*arg1
= 0 ;
8514 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8515 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8516 wxSingleInstanceChecker
*result
;
8517 bool temp1
= false ;
8518 bool temp2
= false ;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8522 (char *) "name",(char *) "path", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8527 arg1
= wxString_in_helper(obj0
);
8528 if (arg1
== NULL
) SWIG_fail
;
8533 arg2
= wxString_in_helper(obj1
);
8534 if (arg2
== NULL
) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8568 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
= NULL
;
8570 wxSingleInstanceChecker
*result
;
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8590 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
= NULL
;
8592 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8593 PyObject
* obj0
= 0 ;
8595 (char *) "self", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 Py_INCREF(Py_None
); resultobj
= Py_None
;
8615 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
= NULL
;
8617 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8618 wxString
*arg2
= 0 ;
8619 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8622 bool temp2
= false ;
8623 bool temp3
= false ;
8624 PyObject
* obj0
= 0 ;
8625 PyObject
* obj1
= 0 ;
8626 PyObject
* obj2
= 0 ;
8628 (char *) "self",(char *) "name",(char *) "path", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8633 if (SWIG_arg_fail(1)) SWIG_fail
;
8635 arg2
= wxString_in_helper(obj1
);
8636 if (arg2
== NULL
) SWIG_fail
;
8641 arg3
= wxString_in_helper(obj2
);
8642 if (arg3
== NULL
) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8678 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
= NULL
;
8680 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8682 PyObject
* obj0
= 0 ;
8684 (char *) "self", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8689 if (SWIG_arg_fail(1)) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8706 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8709 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8711 return Py_BuildValue((char *)"");
8713 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
= NULL
;
8715 wxWindow
*arg1
= (wxWindow
*) 0 ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8721 (char *) "window",(char *) "dc", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8726 if (SWIG_arg_fail(1)) SWIG_fail
;
8728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8729 if (SWIG_arg_fail(2)) SWIG_fail
;
8731 SWIG_null_ref("wxDC");
8733 if (SWIG_arg_fail(2)) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8751 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
= NULL
;
8753 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8756 (char *) "self", NULL
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8761 if (SWIG_arg_fail(1)) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 Py_INCREF(Py_None
); resultobj
= Py_None
;
8776 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
= NULL
;
8778 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8780 PyObject
* obj0
= 0 ;
8782 (char *) "self", NULL
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8787 if (SWIG_arg_fail(1)) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (arg1
)->GetTip();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8808 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
= NULL
;
8810 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8812 PyObject
* obj0
= 0 ;
8814 (char *) "self", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8819 if (SWIG_arg_fail(1)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 result
= (size_t)(arg1
)->GetCurrentTip();
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8836 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
= NULL
;
8838 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8839 wxString
*arg2
= 0 ;
8841 bool temp2
= false ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8845 (char *) "self",(char *) "tip", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8850 if (SWIG_arg_fail(1)) SWIG_fail
;
8852 arg2
= wxString_in_helper(obj1
);
8853 if (arg2
== NULL
) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8884 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8887 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8889 return Py_BuildValue((char *)"");
8891 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
= NULL
;
8894 wxPyTipProvider
*result
;
8895 PyObject
* obj0
= 0 ;
8897 (char *) "currentTip", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8902 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8903 if (SWIG_arg_fail(1)) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8919 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
= NULL
;
8921 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8922 PyObject
*arg2
= (PyObject
*) 0 ;
8923 PyObject
*arg3
= (PyObject
*) 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 PyObject
* obj2
= 0 ;
8928 (char *) "self",(char *) "self",(char *) "_class", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8933 if (SWIG_arg_fail(1)) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8953 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8955 return Py_BuildValue((char *)"");
8957 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
= NULL
;
8959 wxWindow
*arg1
= (wxWindow
*) 0 ;
8960 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8961 bool arg3
= (bool) true ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8967 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8972 if (SWIG_arg_fail(1)) SWIG_fail
;
8973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8974 if (SWIG_arg_fail(2)) SWIG_fail
;
8977 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8978 if (SWIG_arg_fail(3)) SWIG_fail
;
8982 if (!wxPyCheckForApp()) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8998 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
= NULL
;
9000 wxString
*arg1
= 0 ;
9002 wxTipProvider
*result
;
9003 bool temp1
= false ;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9007 (char *) "filename",(char *) "currentTip", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
9012 arg1
= wxString_in_helper(obj0
);
9013 if (arg1
== NULL
) SWIG_fail
;
9017 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
9018 if (SWIG_arg_fail(2)) SWIG_fail
;
9021 if (!wxPyCheckForApp()) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9043 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= NULL
;
9045 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9046 int arg2
= (int) -1 ;
9048 PyObject
* obj0
= 0 ;
9049 PyObject
* obj1
= 0 ;
9051 (char *) "owner",(char *) "id", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9057 if (SWIG_arg_fail(1)) SWIG_fail
;
9061 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9062 if (SWIG_arg_fail(2)) SWIG_fail
;
9066 if (!wxPyCheckForApp()) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9080 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
= NULL
;
9082 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9083 PyObject
* obj0
= 0 ;
9085 (char *) "self", NULL
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9090 if (SWIG_arg_fail(1)) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 Py_INCREF(Py_None
); resultobj
= Py_None
;
9105 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
= NULL
;
9107 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9108 PyObject
*arg2
= (PyObject
*) 0 ;
9109 PyObject
*arg3
= (PyObject
*) 0 ;
9110 int arg4
= (int) 1 ;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9113 PyObject
* obj2
= 0 ;
9114 PyObject
* obj3
= 0 ;
9116 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9121 if (SWIG_arg_fail(1)) SWIG_fail
;
9126 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9127 if (SWIG_arg_fail(4)) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9144 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
= NULL
;
9146 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9147 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9148 int arg3
= (int) -1 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9151 PyObject
* obj2
= 0 ;
9153 (char *) "self",(char *) "owner",(char *) "id", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9158 if (SWIG_arg_fail(1)) SWIG_fail
;
9159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9160 if (SWIG_arg_fail(2)) SWIG_fail
;
9163 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9164 if (SWIG_arg_fail(3)) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 (arg1
)->SetOwner(arg2
,arg3
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 Py_INCREF(Py_None
); resultobj
= Py_None
;
9181 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
= NULL
;
9183 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9184 wxEvtHandler
*result
;
9185 PyObject
* obj0
= 0 ;
9187 (char *) "self", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= wxPyMake_wxObject(result
, 0);
9209 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
= NULL
;
9211 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9212 int arg2
= (int) -1 ;
9213 bool arg3
= (bool) false ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9217 PyObject
* obj2
= 0 ;
9219 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9224 if (SWIG_arg_fail(1)) SWIG_fail
;
9227 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9228 if (SWIG_arg_fail(2)) SWIG_fail
;
9233 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9234 if (SWIG_arg_fail(3)) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9253 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
= NULL
;
9255 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9258 (char *) "self", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9263 if (SWIG_arg_fail(1)) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 Py_INCREF(Py_None
); resultobj
= Py_None
;
9278 static PyObject
*_wrap_Timer_Notify(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
= NULL
;
9280 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9283 (char *) "self", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Notify",kwnames
,&obj0
)) goto fail
;
9287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9288 if (SWIG_arg_fail(1)) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 Py_INCREF(Py_None
); resultobj
= Py_None
;
9303 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
= NULL
;
9305 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9331 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
= NULL
;
9333 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9337 (char *) "self", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9342 if (SWIG_arg_fail(1)) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_From_int(static_cast<int >(result
));
9359 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= NULL
;
9361 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9370 if (SWIG_arg_fail(1)) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9387 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
= NULL
;
9389 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "self", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9398 if (SWIG_arg_fail(1)) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_From_int(static_cast<int >(result
));
9415 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9418 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9420 return Py_BuildValue((char *)"");
9422 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
= NULL
;
9424 int arg1
= (int) 0 ;
9425 int arg2
= (int) 0 ;
9426 wxTimerEvent
*result
;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9430 (char *) "timerid",(char *) "interval", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9436 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9437 if (SWIG_arg_fail(1)) SWIG_fail
;
9442 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9443 if (SWIG_arg_fail(2)) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9460 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
= NULL
;
9462 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9471 if (SWIG_arg_fail(1)) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= SWIG_From_int(static_cast<int >(result
));
9488 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9491 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9493 return Py_BuildValue((char *)"");
9495 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9496 PyObject
*resultobj
= NULL
;
9498 wxTimerRunner
*result
;
9499 PyObject
* obj0
= 0 ;
9501 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail
;
9506 SWIG_null_ref("wxTimer");
9508 if (SWIG_arg_fail(1)) SWIG_fail
;
9511 if (!wxPyCheckForApp()) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9525 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9526 PyObject
*resultobj
= NULL
;
9529 bool arg3
= (bool) false ;
9530 wxTimerRunner
*result
;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9533 PyObject
* obj2
= 0 ;
9535 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9538 if (SWIG_arg_fail(1)) SWIG_fail
;
9540 SWIG_null_ref("wxTimer");
9542 if (SWIG_arg_fail(1)) SWIG_fail
;
9545 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9546 if (SWIG_arg_fail(2)) SWIG_fail
;
9550 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9551 if (SWIG_arg_fail(3)) SWIG_fail
;
9555 if (!wxPyCheckForApp()) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9569 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9574 argc
= PyObject_Length(args
);
9575 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9576 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9582 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9590 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9593 if ((argc
>= 2) && (argc
<= 3)) {
9597 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9605 _v
= SWIG_Check_int(argv
[1]);
9608 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9610 _v
= SWIG_Check_bool(argv
[2]);
9612 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9618 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9623 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
= NULL
;
9625 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9628 (char *) "self", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9633 if (SWIG_arg_fail(1)) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 Py_INCREF(Py_None
); resultobj
= Py_None
;
9648 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
= NULL
;
9650 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9652 bool arg3
= (bool) false ;
9653 PyObject
* obj0
= 0 ;
9654 PyObject
* obj1
= 0 ;
9655 PyObject
* obj2
= 0 ;
9657 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9662 if (SWIG_arg_fail(1)) SWIG_fail
;
9664 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9665 if (SWIG_arg_fail(2)) SWIG_fail
;
9669 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9670 if (SWIG_arg_fail(3)) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 (arg1
)->Start(arg2
,arg3
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 Py_INCREF(Py_None
); resultobj
= Py_None
;
9687 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9690 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9692 return Py_BuildValue((char *)"");
9694 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
= NULL
;
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 result
= (wxLog
*)new wxLog();
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9716 static PyObject
*_wrap_delete_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
= NULL
;
9718 wxLog
*arg1
= (wxLog
*) 0 ;
9719 PyObject
* obj0
= 0 ;
9721 (char *) "self", NULL
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Log",kwnames
,&obj0
)) goto fail
;
9725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9726 if (SWIG_arg_fail(1)) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 Py_INCREF(Py_None
); resultobj
= Py_None
;
9741 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
= NULL
;
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (bool)wxLog::IsEnabled();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9765 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
= NULL
;
9767 bool arg1
= (bool) true ;
9769 PyObject
* obj0
= 0 ;
9771 (char *) "doIt", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9777 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9778 if (SWIG_arg_fail(1)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (bool)wxLog::EnableLogging(arg1
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9797 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= NULL
;
9800 wxChar
*arg2
= (wxChar
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 PyObject
* obj2
= 0 ;
9806 (char *) "level",(char *) "szString",(char *) "t", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9811 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9812 if (SWIG_arg_fail(1)) SWIG_fail
;
9814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9815 if (SWIG_arg_fail(2)) SWIG_fail
;
9817 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9818 if (SWIG_arg_fail(3)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 Py_INCREF(Py_None
); resultobj
= Py_None
;
9834 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
= NULL
;
9836 wxLog
*arg1
= (wxLog
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9839 (char *) "self", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9844 if (SWIG_arg_fail(1)) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 Py_INCREF(Py_None
); resultobj
= Py_None
;
9859 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
= NULL
;
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 wxLog::FlushActive();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 Py_INCREF(Py_None
); resultobj
= Py_None
;
9880 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
= NULL
;
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= (wxLog
*)wxLog::GetActiveTarget();
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9902 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
= NULL
;
9904 wxLog
*arg1
= (wxLog
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "pLogger", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
9913 if (SWIG_arg_fail(1)) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9928 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
= NULL
;
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 Py_INCREF(Py_None
); resultobj
= Py_None
;
9949 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
= NULL
;
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 Py_INCREF(Py_None
); resultobj
= Py_None
;
9970 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
= NULL
;
9972 bool arg1
= (bool) true ;
9973 PyObject
* obj0
= 0 ;
9975 (char *) "bVerbose", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9981 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9982 if (SWIG_arg_fail(1)) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 wxLog::SetVerbose(arg1
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 Py_INCREF(Py_None
); resultobj
= Py_None
;
9999 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
= NULL
;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "logLevel", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
10009 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
10010 if (SWIG_arg_fail(1)) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 wxLog::SetLogLevel(arg1
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10019 Py_INCREF(Py_None
); resultobj
= Py_None
;
10026 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
= NULL
;
10028 char *kwnames
[] = {
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 wxLog::DontCreateOnDemand();
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 Py_INCREF(Py_None
); resultobj
= Py_None
;
10047 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
= NULL
;
10050 PyObject
* obj0
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "ulMask", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
10057 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
10058 if (SWIG_arg_fail(1)) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 wxLog::SetTraceMask(arg1
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 Py_INCREF(Py_None
); resultobj
= Py_None
;
10074 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= NULL
;
10076 wxString
*arg1
= 0 ;
10077 bool temp1
= false ;
10078 PyObject
* obj0
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "str", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
10085 arg1
= wxString_in_helper(obj0
);
10086 if (arg1
== NULL
) SWIG_fail
;
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 wxLog::AddTraceMask((wxString
const &)*arg1
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 Py_INCREF(Py_None
); resultobj
= Py_None
;
10111 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
= NULL
;
10113 wxString
*arg1
= 0 ;
10114 bool temp1
= false ;
10115 PyObject
* obj0
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "str", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10122 arg1
= wxString_in_helper(obj0
);
10123 if (arg1
== NULL
) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 Py_INCREF(Py_None
); resultobj
= Py_None
;
10148 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
= NULL
;
10150 char *kwnames
[] = {
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 wxLog::ClearTraceMasks();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 Py_INCREF(Py_None
); resultobj
= Py_None
;
10169 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
= NULL
;
10171 wxArrayString
*result
;
10172 char *kwnames
[] = {
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10181 result
= (wxArrayString
*) &_result_ref
;
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= wxArrayString2PyList_helper(*result
);
10196 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
= NULL
;
10198 wxChar
*arg1
= (wxChar
*) 0 ;
10199 PyObject
* obj0
= 0 ;
10200 char *kwnames
[] = {
10201 (char *) "ts", NULL
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10206 if (SWIG_arg_fail(1)) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 wxLog::SetTimestamp((wxChar
const *)arg1
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 Py_INCREF(Py_None
); resultobj
= Py_None
;
10221 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
= NULL
;
10224 char *kwnames
[] = {
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (bool)wxLog::GetVerbose();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10245 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
= NULL
;
10247 wxTraceMask result
;
10248 char *kwnames
[] = {
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (wxTraceMask
)wxLog::GetTraceMask();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10269 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
= NULL
;
10271 wxChar
*arg1
= (wxChar
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "mask", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10280 if (SWIG_arg_fail(1)) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10297 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
= NULL
;
10300 char *kwnames
[] = {
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (wxLogLevel
)wxLog::GetLogLevel();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10321 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
= NULL
;
10324 char *kwnames
[] = {
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (wxChar
*)wxLog::GetTimestamp();
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10343 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
= NULL
;
10346 char *kwnames
[] = {
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= wxLog_TimeStamp();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10371 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
= NULL
;
10373 wxLog
*arg1
= (wxLog
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10381 if (SWIG_arg_fail(1)) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 wxLog_Destroy(arg1
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 Py_INCREF(Py_None
); resultobj
= Py_None
;
10396 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10399 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10401 return Py_BuildValue((char *)"");
10403 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= NULL
;
10405 wxLogStderr
*result
;
10406 char *kwnames
[] = {
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (wxLogStderr
*)new wxLogStderr();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10425 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10428 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10430 return Py_BuildValue((char *)"");
10432 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
= NULL
;
10434 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10435 wxLogTextCtrl
*result
;
10436 PyObject
* obj0
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "pTextCtrl", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10443 if (SWIG_arg_fail(1)) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10458 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10461 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10463 return Py_BuildValue((char *)"");
10465 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
= NULL
;
10468 char *kwnames
[] = {
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (wxLogGui
*)new wxLogGui();
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10487 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10490 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10492 return Py_BuildValue((char *)"");
10494 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
= NULL
;
10496 wxFrame
*arg1
= (wxFrame
*) 0 ;
10497 wxString
*arg2
= 0 ;
10498 bool arg3
= (bool) true ;
10499 bool arg4
= (bool) true ;
10500 wxLogWindow
*result
;
10501 bool temp2
= false ;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 PyObject
* obj2
= 0 ;
10505 PyObject
* obj3
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10512 if (SWIG_arg_fail(1)) SWIG_fail
;
10514 arg2
= wxString_in_helper(obj1
);
10515 if (arg2
== NULL
) SWIG_fail
;
10520 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10521 if (SWIG_arg_fail(3)) SWIG_fail
;
10526 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10527 if (SWIG_arg_fail(4)) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10552 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
= NULL
;
10554 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10555 bool arg2
= (bool) true ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self",(char *) "bShow", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10564 if (SWIG_arg_fail(1)) SWIG_fail
;
10567 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10568 if (SWIG_arg_fail(2)) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 (arg1
)->Show(arg2
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 Py_INCREF(Py_None
); resultobj
= Py_None
;
10585 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
= NULL
;
10587 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10589 PyObject
* obj0
= 0 ;
10590 char *kwnames
[] = {
10591 (char *) "self", NULL
10594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10596 if (SWIG_arg_fail(1)) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= wxPyMake_wxObject(result
, (bool)0);
10613 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
= NULL
;
10615 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10624 if (SWIG_arg_fail(1)) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10639 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
= NULL
;
10641 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10650 if (SWIG_arg_fail(1)) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10667 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= NULL
;
10669 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self",(char *) "bDoPass", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10679 if (SWIG_arg_fail(1)) SWIG_fail
;
10681 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10682 if (SWIG_arg_fail(2)) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->PassMessages(arg2
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 Py_INCREF(Py_None
); resultobj
= Py_None
;
10698 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10701 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10703 return Py_BuildValue((char *)"");
10705 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
= NULL
;
10707 wxLog
*arg1
= (wxLog
*) 0 ;
10708 wxLogChain
*result
;
10709 PyObject
* obj0
= 0 ;
10710 char *kwnames
[] = {
10711 (char *) "logger", NULL
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10716 if (SWIG_arg_fail(1)) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (wxLogChain
*)new wxLogChain(arg1
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10731 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
= NULL
;
10733 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10734 wxLog
*arg2
= (wxLog
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "logger", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10743 if (SWIG_arg_fail(1)) SWIG_fail
;
10744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10745 if (SWIG_arg_fail(2)) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 (arg1
)->SetLog(arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 Py_INCREF(Py_None
); resultobj
= Py_None
;
10760 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
= NULL
;
10762 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self",(char *) "bDoPass", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10772 if (SWIG_arg_fail(1)) SWIG_fail
;
10774 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10775 if (SWIG_arg_fail(2)) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 (arg1
)->PassMessages(arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
= NULL
;
10793 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10802 if (SWIG_arg_fail(1)) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (bool)(arg1
)->IsPassingMessages();
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10819 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
= NULL
;
10821 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10830 if (SWIG_arg_fail(1)) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= (wxLog
*)(arg1
)->GetOldLog();
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10845 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10848 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10850 return Py_BuildValue((char *)"");
10852 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= NULL
;
10854 wxLogBuffer
*result
;
10855 char *kwnames
[] = {
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= (wxLogBuffer
*)new wxLogBuffer();
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10874 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
= NULL
;
10876 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",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();
10889 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10890 result
= (wxString
*) &_result_ref
;
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10900 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10909 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
= NULL
;
10911 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10912 PyObject
* obj0
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "self", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10919 if (SWIG_arg_fail(1)) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 Py_INCREF(Py_None
); resultobj
= Py_None
;
10934 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10937 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10939 return Py_BuildValue((char *)"");
10941 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
= NULL
;
10943 unsigned long result
;
10944 char *kwnames
[] = {
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 result
= (unsigned long)wxSysErrorCode();
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10965 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
= NULL
;
10967 unsigned long arg1
= (unsigned long) 0 ;
10969 PyObject
* obj0
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "nErrCode", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10977 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10978 if (SWIG_arg_fail(1)) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= wxSysErrorMsg(arg1
);
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11001 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
= NULL
;
11003 wxString
*arg1
= 0 ;
11004 bool temp1
= false ;
11005 PyObject
* obj0
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "msg", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
11012 arg1
= wxString_in_helper(obj0
);
11013 if (arg1
== NULL
) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 wxPyLogFatalError((wxString
const &)*arg1
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 Py_INCREF(Py_None
); resultobj
= Py_None
;
11038 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
= NULL
;
11040 wxString
*arg1
= 0 ;
11041 bool temp1
= false ;
11042 PyObject
* obj0
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "msg", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
11049 arg1
= wxString_in_helper(obj0
);
11050 if (arg1
== NULL
) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 wxPyLogError((wxString
const &)*arg1
);
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 Py_INCREF(Py_None
); resultobj
= Py_None
;
11075 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
= NULL
;
11077 wxString
*arg1
= 0 ;
11078 bool temp1
= false ;
11079 PyObject
* obj0
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "msg", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
11086 arg1
= wxString_in_helper(obj0
);
11087 if (arg1
== NULL
) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 wxPyLogWarning((wxString
const &)*arg1
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 Py_INCREF(Py_None
); resultobj
= Py_None
;
11112 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
= NULL
;
11114 wxString
*arg1
= 0 ;
11115 bool temp1
= false ;
11116 PyObject
* obj0
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "msg", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11123 arg1
= wxString_in_helper(obj0
);
11124 if (arg1
== NULL
) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 wxPyLogMessage((wxString
const &)*arg1
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 Py_INCREF(Py_None
); resultobj
= Py_None
;
11149 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
= NULL
;
11151 wxString
*arg1
= 0 ;
11152 bool temp1
= false ;
11153 PyObject
* obj0
= 0 ;
11154 char *kwnames
[] = {
11155 (char *) "msg", NULL
11158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11160 arg1
= wxString_in_helper(obj0
);
11161 if (arg1
== NULL
) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 wxPyLogInfo((wxString
const &)*arg1
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 Py_INCREF(Py_None
); resultobj
= Py_None
;
11186 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= NULL
;
11188 wxString
*arg1
= 0 ;
11189 bool temp1
= false ;
11190 PyObject
* obj0
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "msg", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11197 arg1
= wxString_in_helper(obj0
);
11198 if (arg1
== NULL
) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 wxPyLogDebug((wxString
const &)*arg1
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 Py_INCREF(Py_None
); resultobj
= Py_None
;
11223 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
= NULL
;
11225 wxString
*arg1
= 0 ;
11226 bool temp1
= false ;
11227 PyObject
* obj0
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "msg", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11234 arg1
= wxString_in_helper(obj0
);
11235 if (arg1
== NULL
) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 wxPyLogVerbose((wxString
const &)*arg1
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 Py_INCREF(Py_None
); resultobj
= Py_None
;
11260 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
= NULL
;
11262 wxString
*arg1
= 0 ;
11263 bool temp1
= false ;
11264 PyObject
* obj0
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "msg", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11271 arg1
= wxString_in_helper(obj0
);
11272 if (arg1
== NULL
) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 wxPyLogStatus((wxString
const &)*arg1
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= NULL
;
11299 wxFrame
*arg1
= (wxFrame
*) 0 ;
11300 wxString
*arg2
= 0 ;
11301 bool temp2
= false ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "pFrame",(char *) "msg", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail
;
11312 arg2
= wxString_in_helper(obj1
);
11313 if (arg2
== NULL
) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
= NULL
;
11340 wxString
*arg1
= 0 ;
11341 bool temp1
= false ;
11342 PyObject
* obj0
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "msg", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11349 arg1
= wxString_in_helper(obj0
);
11350 if (arg1
== NULL
) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 wxPyLogSysError((wxString
const &)*arg1
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
= NULL
;
11377 unsigned long arg1
;
11378 wxString
*arg2
= 0 ;
11379 bool temp2
= false ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "level",(char *) "msg", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11388 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11389 if (SWIG_arg_fail(1)) SWIG_fail
;
11392 arg2
= wxString_in_helper(obj1
);
11393 if (arg2
== NULL
) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 Py_INCREF(Py_None
); resultobj
= Py_None
;
11418 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11419 PyObject
*resultobj
= NULL
;
11420 unsigned long arg1
;
11421 wxString
*arg2
= 0 ;
11422 bool temp2
= false ;
11423 PyObject
* obj0
= 0 ;
11424 PyObject
* obj1
= 0 ;
11426 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11428 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11429 if (SWIG_arg_fail(1)) SWIG_fail
;
11432 arg2
= wxString_in_helper(obj1
);
11433 if (arg2
== NULL
) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11458 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11459 PyObject
*resultobj
= NULL
;
11460 wxString
*arg1
= 0 ;
11461 wxString
*arg2
= 0 ;
11462 bool temp1
= false ;
11463 bool temp2
= false ;
11464 PyObject
* obj0
= 0 ;
11465 PyObject
* obj1
= 0 ;
11467 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11469 arg1
= wxString_in_helper(obj0
);
11470 if (arg1
== NULL
) SWIG_fail
;
11474 arg2
= wxString_in_helper(obj1
);
11475 if (arg2
== NULL
) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 Py_INCREF(Py_None
); resultobj
= Py_None
;
11508 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11513 argc
= PyObject_Length(args
);
11514 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11515 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11520 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11524 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11527 return _wrap_LogTrace__SWIG_1(self
,args
);
11533 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11536 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11539 return _wrap_LogTrace__SWIG_0(self
,args
);
11544 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11549 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
= NULL
;
11551 wxString
*arg1
= 0 ;
11552 wxString
*arg2
= 0 ;
11553 bool temp1
= false ;
11554 bool temp2
= false ;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "title",(char *) "text", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11563 arg1
= wxString_in_helper(obj0
);
11564 if (arg1
== NULL
) SWIG_fail
;
11568 arg2
= wxString_in_helper(obj1
);
11569 if (arg2
== NULL
) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 Py_INCREF(Py_None
); resultobj
= Py_None
;
11602 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
= NULL
;
11605 char *kwnames
[] = {
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (wxLogNull
*)new wxLogNull();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11624 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
= NULL
;
11626 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11627 PyObject
* obj0
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11634 if (SWIG_arg_fail(1)) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 Py_INCREF(Py_None
); resultobj
= Py_None
;
11649 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11652 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11654 return Py_BuildValue((char *)"");
11656 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
= NULL
;
11659 char *kwnames
[] = {
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (wxPyLog
*)new wxPyLog();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11678 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
= NULL
;
11680 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11681 PyObject
*arg2
= (PyObject
*) 0 ;
11682 PyObject
*arg3
= (PyObject
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 PyObject
* obj2
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self",(char *) "self",(char *) "_class", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11692 if (SWIG_arg_fail(1)) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 Py_INCREF(Py_None
); resultobj
= Py_None
;
11709 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11712 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11714 return Py_BuildValue((char *)"");
11716 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
= NULL
;
11719 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11720 int arg3
= (int) wxKILL_NOCHILDREN
;
11721 wxKillError result
;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 PyObject
* obj2
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11731 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11732 if (SWIG_arg_fail(1)) SWIG_fail
;
11736 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11737 if (SWIG_arg_fail(2)) SWIG_fail
;
11742 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11743 if (SWIG_arg_fail(3)) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= SWIG_From_int((result
));
11760 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
= NULL
;
11764 PyObject
* obj0
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "pid", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11771 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11772 if (SWIG_arg_fail(1)) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 result
= (bool)wxPyProcess::Exists(arg1
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11790 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
= NULL
;
11792 wxString
*arg1
= 0 ;
11793 int arg2
= (int) wxEXEC_ASYNC
;
11794 wxPyProcess
*result
;
11795 bool temp1
= false ;
11796 PyObject
* obj0
= 0 ;
11797 PyObject
* obj1
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "cmd",(char *) "flags", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11804 arg1
= wxString_in_helper(obj0
);
11805 if (arg1
== NULL
) SWIG_fail
;
11810 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11811 if (SWIG_arg_fail(2)) SWIG_fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11836 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
= NULL
;
11838 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11839 int arg2
= (int) -1 ;
11840 wxPyProcess
*result
;
11841 PyObject
* obj0
= 0 ;
11842 PyObject
* obj1
= 0 ;
11843 char *kwnames
[] = {
11844 (char *) "parent",(char *) "id", NULL
11847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11850 if (SWIG_arg_fail(1)) SWIG_fail
;
11854 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11855 if (SWIG_arg_fail(2)) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11872 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
= NULL
;
11874 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11875 PyObject
*arg2
= (PyObject
*) 0 ;
11876 PyObject
*arg3
= (PyObject
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self",(char *) "self",(char *) "_class", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11886 if (SWIG_arg_fail(1)) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 Py_INCREF(Py_None
); resultobj
= Py_None
;
11903 static PyObject
*_wrap_Process_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
= NULL
;
11905 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 PyObject
* obj1
= 0 ;
11910 PyObject
* obj2
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self",(char *) "pid",(char *) "status", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11917 if (SWIG_arg_fail(1)) SWIG_fail
;
11919 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11920 if (SWIG_arg_fail(2)) SWIG_fail
;
11923 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11924 if (SWIG_arg_fail(3)) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 (arg1
)->OnTerminate(arg2
,arg3
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 Py_INCREF(Py_None
); resultobj
= Py_None
;
11940 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
= NULL
;
11942 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 (arg1
)->Redirect();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 Py_INCREF(Py_None
); resultobj
= Py_None
;
11965 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
= NULL
;
11967 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (bool)(arg1
)->IsRedirected();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11993 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
= NULL
;
11995 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11996 PyObject
* obj0
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
12002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12003 if (SWIG_arg_fail(1)) SWIG_fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 Py_INCREF(Py_None
); resultobj
= Py_None
;
12018 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
= NULL
;
12020 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12021 wxInputStream
*result
;
12022 PyObject
* obj0
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
12028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (wxInputStream
*)(arg1
)->GetInputStream();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 wxPyInputStream
* _ptr
= NULL
;
12041 _ptr
= new wxPyInputStream(result
);
12043 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12051 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
= NULL
;
12053 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12054 wxInputStream
*result
;
12055 PyObject
* obj0
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
12061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12062 if (SWIG_arg_fail(1)) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 wxPyInputStream
* _ptr
= NULL
;
12074 _ptr
= new wxPyInputStream(result
);
12076 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12084 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
= NULL
;
12086 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12087 wxOutputStream
*result
;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12095 if (SWIG_arg_fail(1)) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12110 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
= NULL
;
12112 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12120 if (SWIG_arg_fail(1)) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 (arg1
)->CloseOutput();
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
= NULL
;
12137 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12146 if (SWIG_arg_fail(1)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12163 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
= NULL
;
12165 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12191 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
= NULL
;
12193 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12219 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12222 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12224 return Py_BuildValue((char *)"");
12226 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
= NULL
;
12228 int arg1
= (int) 0 ;
12229 int arg2
= (int) 0 ;
12230 int arg3
= (int) 0 ;
12231 wxProcessEvent
*result
;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 PyObject
* obj2
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12242 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12243 if (SWIG_arg_fail(1)) SWIG_fail
;
12248 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12249 if (SWIG_arg_fail(2)) SWIG_fail
;
12254 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12255 if (SWIG_arg_fail(3)) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12272 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
= NULL
;
12274 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "self", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12283 if (SWIG_arg_fail(1)) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (int)(arg1
)->GetPid();
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= SWIG_From_int(static_cast<int >(result
));
12300 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
= NULL
;
12302 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12304 PyObject
* obj0
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (int)(arg1
)->GetExitCode();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_From_int(static_cast<int >(result
));
12328 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
= NULL
;
12330 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self",(char *) "m_pid", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12340 if (SWIG_arg_fail(1)) SWIG_fail
;
12342 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12343 if (SWIG_arg_fail(2)) SWIG_fail
;
12345 if (arg1
) (arg1
)->m_pid
= arg2
;
12347 Py_INCREF(Py_None
); resultobj
= Py_None
;
12354 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
= NULL
;
12356 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12365 if (SWIG_arg_fail(1)) SWIG_fail
;
12366 result
= (int) ((arg1
)->m_pid
);
12369 resultobj
= SWIG_From_int(static_cast<int >(result
));
12377 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= NULL
;
12379 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 PyObject
* obj1
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self",(char *) "m_exitcode", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail
;
12391 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12392 if (SWIG_arg_fail(2)) SWIG_fail
;
12394 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12396 Py_INCREF(Py_None
); resultobj
= Py_None
;
12403 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
= NULL
;
12405 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12414 if (SWIG_arg_fail(1)) SWIG_fail
;
12415 result
= (int) ((arg1
)->m_exitcode
);
12418 resultobj
= SWIG_From_int(static_cast<int >(result
));
12426 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12429 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12431 return Py_BuildValue((char *)"");
12433 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= NULL
;
12435 wxString
*arg1
= 0 ;
12436 int arg2
= (int) wxEXEC_ASYNC
;
12437 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12439 bool temp1
= false ;
12440 PyObject
* obj0
= 0 ;
12441 PyObject
* obj1
= 0 ;
12442 PyObject
* obj2
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "command",(char *) "flags",(char *) "process", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12449 arg1
= wxString_in_helper(obj0
);
12450 if (arg1
== NULL
) SWIG_fail
;
12455 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12456 if (SWIG_arg_fail(2)) SWIG_fail
;
12460 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12461 if (SWIG_arg_fail(3)) SWIG_fail
;
12464 if (!wxPyCheckForApp()) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_From_long(static_cast<long >(result
));
12488 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= NULL
;
12491 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12492 wxKillError
*arg3
= (wxKillError
*) 0 ;
12493 int arg4
= (int) wxKILL_NOCHILDREN
;
12495 wxKillError temp3
;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 PyObject
* obj2
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12508 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12509 if (SWIG_arg_fail(1)) SWIG_fail
;
12513 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12514 if (SWIG_arg_fail(2)) SWIG_fail
;
12519 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12520 if (SWIG_arg_fail(4)) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= SWIG_From_int(static_cast<int >(result
));
12535 o
= PyInt_FromLong((long) (*arg3
));
12537 resultobj
= t_output_helper(resultobj
, o
);
12548 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
= NULL
;
12550 int arg1
= (int) wxJOYSTICK1
;
12551 wxJoystick
*result
;
12552 PyObject
* obj0
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "joystick", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12560 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12561 if (SWIG_arg_fail(1)) SWIG_fail
;
12565 if (!wxPyCheckForApp()) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 result
= (wxJoystick
*)new wxJoystick(arg1
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12579 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
= NULL
;
12581 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12589 if (SWIG_arg_fail(1)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12604 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= NULL
;
12606 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
12614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12615 if (SWIG_arg_fail(1)) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (arg1
)->GetPosition();
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12624 wxPoint
* resultptr
;
12625 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12634 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
= NULL
;
12636 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12645 if (SWIG_arg_fail(1)) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (int)(arg1
)->GetZPosition();
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_From_int(static_cast<int >(result
));
12662 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
= NULL
;
12664 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
12672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12673 if (SWIG_arg_fail(1)) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= (int)(arg1
)->GetButtonState();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= SWIG_From_int(static_cast<int >(result
));
12690 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
= NULL
;
12692 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
12700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12701 if (SWIG_arg_fail(1)) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (int)(arg1
)->GetPOVPosition();
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= SWIG_From_int(static_cast<int >(result
));
12718 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
= NULL
;
12720 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
12728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12729 if (SWIG_arg_fail(1)) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (int)(arg1
)->GetPOVCTSPosition();
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= SWIG_From_int(static_cast<int >(result
));
12746 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
= NULL
;
12748 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12750 PyObject
* obj0
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
12756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12757 if (SWIG_arg_fail(1)) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 result
= (int)(arg1
)->GetRudderPosition();
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= SWIG_From_int(static_cast<int >(result
));
12774 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12775 PyObject
*resultobj
= NULL
;
12776 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
12784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12785 if (SWIG_arg_fail(1)) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (int)(arg1
)->GetUPosition();
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= SWIG_From_int(static_cast<int >(result
));
12802 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
= NULL
;
12804 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12813 if (SWIG_arg_fail(1)) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 result
= (int)(arg1
)->GetVPosition();
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= SWIG_From_int(static_cast<int >(result
));
12830 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
= NULL
;
12832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12841 if (SWIG_arg_fail(1)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (int)(arg1
)->GetMovementThreshold();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_From_int(static_cast<int >(result
));
12858 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= NULL
;
12860 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "threshold", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12870 if (SWIG_arg_fail(1)) SWIG_fail
;
12872 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12873 if (SWIG_arg_fail(2)) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 (arg1
)->SetMovementThreshold(arg2
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 Py_INCREF(Py_None
); resultobj
= Py_None
;
12889 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
= NULL
;
12891 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12900 if (SWIG_arg_fail(1)) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (bool)(arg1
)->IsOk();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12917 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
= NULL
;
12919 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12928 if (SWIG_arg_fail(1)) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (int)(arg1
)->GetNumberJoysticks();
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_From_int(static_cast<int >(result
));
12945 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
= NULL
;
12947 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12949 PyObject
* obj0
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12956 if (SWIG_arg_fail(1)) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (int)(arg1
)->GetManufacturerId();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= SWIG_From_int(static_cast<int >(result
));
12973 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
= NULL
;
12975 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12977 PyObject
* obj0
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12984 if (SWIG_arg_fail(1)) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (int)(arg1
)->GetProductId();
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_From_int(static_cast<int >(result
));
13001 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
= NULL
;
13003 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13005 PyObject
* obj0
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
13011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13012 if (SWIG_arg_fail(1)) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 result
= (arg1
)->GetProductName();
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13033 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
= NULL
;
13035 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13037 PyObject
* obj0
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
13043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13044 if (SWIG_arg_fail(1)) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (int)(arg1
)->GetXMin();
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= SWIG_From_int(static_cast<int >(result
));
13061 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
= NULL
;
13063 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
13071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13072 if (SWIG_arg_fail(1)) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (int)(arg1
)->GetYMin();
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= SWIG_From_int(static_cast<int >(result
));
13089 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
= NULL
;
13091 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13093 PyObject
* obj0
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
13099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (int)(arg1
)->GetZMin();
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= SWIG_From_int(static_cast<int >(result
));
13117 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
= NULL
;
13119 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
13127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13128 if (SWIG_arg_fail(1)) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (int)(arg1
)->GetXMax();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_From_int(static_cast<int >(result
));
13145 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
= NULL
;
13147 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
13155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13156 if (SWIG_arg_fail(1)) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (int)(arg1
)->GetYMax();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= SWIG_From_int(static_cast<int >(result
));
13173 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
= NULL
;
13175 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
13183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13184 if (SWIG_arg_fail(1)) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 result
= (int)(arg1
)->GetZMax();
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_From_int(static_cast<int >(result
));
13201 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
= NULL
;
13203 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
13211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13212 if (SWIG_arg_fail(1)) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (int)(arg1
)->GetNumberButtons();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= SWIG_From_int(static_cast<int >(result
));
13229 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
= NULL
;
13231 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
13239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (int)(arg1
)->GetNumberAxes();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= SWIG_From_int(static_cast<int >(result
));
13257 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
= NULL
;
13259 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
13267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13268 if (SWIG_arg_fail(1)) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 result
= (int)(arg1
)->GetMaxButtons();
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13277 resultobj
= SWIG_From_int(static_cast<int >(result
));
13285 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
= NULL
;
13287 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13289 PyObject
* obj0
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
13295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13296 if (SWIG_arg_fail(1)) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (int)(arg1
)->GetMaxAxes();
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_From_int(static_cast<int >(result
));
13313 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
= NULL
;
13315 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
13323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13324 if (SWIG_arg_fail(1)) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (int)(arg1
)->GetPollingMin();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_From_int(static_cast<int >(result
));
13341 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
= NULL
;
13343 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
13351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13352 if (SWIG_arg_fail(1)) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (int)(arg1
)->GetPollingMax();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_From_int(static_cast<int >(result
));
13369 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
= NULL
;
13371 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
13379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13380 if (SWIG_arg_fail(1)) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (int)(arg1
)->GetRudderMin();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= SWIG_From_int(static_cast<int >(result
));
13397 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
= NULL
;
13399 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13401 PyObject
* obj0
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "self", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
13407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (int)(arg1
)->GetRudderMax();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_From_int(static_cast<int >(result
));
13425 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
= NULL
;
13427 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
13435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13436 if (SWIG_arg_fail(1)) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (int)(arg1
)->GetUMin();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_From_int(static_cast<int >(result
));
13453 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
= NULL
;
13455 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13457 PyObject
* obj0
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
13463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13464 if (SWIG_arg_fail(1)) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (int)(arg1
)->GetUMax();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_From_int(static_cast<int >(result
));
13481 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
= NULL
;
13483 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
13491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13492 if (SWIG_arg_fail(1)) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= (int)(arg1
)->GetVMin();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= SWIG_From_int(static_cast<int >(result
));
13509 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
= NULL
;
13511 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
13519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13520 if (SWIG_arg_fail(1)) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (int)(arg1
)->GetVMax();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13529 resultobj
= SWIG_From_int(static_cast<int >(result
));
13537 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
= NULL
;
13539 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13541 PyObject
* obj0
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
13547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13548 if (SWIG_arg_fail(1)) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (bool)(arg1
)->HasRudder();
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13565 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
= NULL
;
13567 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
13575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13576 if (SWIG_arg_fail(1)) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (bool)(arg1
)->HasZ();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13593 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
= NULL
;
13595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "self", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
13603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13604 if (SWIG_arg_fail(1)) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (bool)(arg1
)->HasU();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13621 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
= NULL
;
13623 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 char *kwnames
[] = {
13627 (char *) "self", NULL
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
13631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13632 if (SWIG_arg_fail(1)) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (bool)(arg1
)->HasV();
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13649 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
= NULL
;
13651 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13653 PyObject
* obj0
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
13659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13660 if (SWIG_arg_fail(1)) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)(arg1
)->HasPOV();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
= NULL
;
13679 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
13687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13688 if (SWIG_arg_fail(1)) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (bool)(arg1
)->HasPOV4Dir();
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13705 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
= NULL
;
13707 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13709 PyObject
* obj0
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "self", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
13715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13716 if (SWIG_arg_fail(1)) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (bool)(arg1
)->HasPOVCTS();
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13733 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
= NULL
;
13735 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13736 wxWindow
*arg2
= (wxWindow
*) 0 ;
13737 int arg3
= (int) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 PyObject
* obj1
= 0 ;
13741 PyObject
* obj2
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13748 if (SWIG_arg_fail(1)) SWIG_fail
;
13749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13750 if (SWIG_arg_fail(2)) SWIG_fail
;
13753 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13754 if (SWIG_arg_fail(3)) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13773 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= NULL
;
13775 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13784 if (SWIG_arg_fail(1)) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (bool)(arg1
)->ReleaseCapture();
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13801 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13804 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13806 return Py_BuildValue((char *)"");
13808 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
= NULL
;
13810 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13811 int arg2
= (int) 0 ;
13812 int arg3
= (int) wxJOYSTICK1
;
13813 int arg4
= (int) 0 ;
13814 wxJoystickEvent
*result
;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 PyObject
* obj2
= 0 ;
13818 PyObject
* obj3
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13826 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13827 if (SWIG_arg_fail(1)) SWIG_fail
;
13832 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13833 if (SWIG_arg_fail(2)) SWIG_fail
;
13838 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13839 if (SWIG_arg_fail(3)) SWIG_fail
;
13844 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13845 if (SWIG_arg_fail(4)) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13862 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
= NULL
;
13864 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "self", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13873 if (SWIG_arg_fail(1)) SWIG_fail
;
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13882 wxPoint
* resultptr
;
13883 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13892 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
= NULL
;
13894 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13903 if (SWIG_arg_fail(1)) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= SWIG_From_int(static_cast<int >(result
));
13920 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
= NULL
;
13922 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13924 PyObject
* obj0
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13931 if (SWIG_arg_fail(1)) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= SWIG_From_int(static_cast<int >(result
));
13948 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
= NULL
;
13950 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13952 PyObject
* obj0
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13959 if (SWIG_arg_fail(1)) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_From_int(static_cast<int >(result
));
13976 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
= NULL
;
13978 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13987 if (SWIG_arg_fail(1)) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= SWIG_From_int(static_cast<int >(result
));
14004 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
= NULL
;
14006 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "stick", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
14015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail
;
14018 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14019 if (SWIG_arg_fail(2)) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 (arg1
)->SetJoystick(arg2
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
= NULL
;
14037 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self",(char *) "state", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
14046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14047 if (SWIG_arg_fail(1)) SWIG_fail
;
14049 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14050 if (SWIG_arg_fail(2)) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 (arg1
)->SetButtonState(arg2
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 Py_INCREF(Py_None
); resultobj
= Py_None
;
14066 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
= NULL
;
14068 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "self",(char *) "change", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
14077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14078 if (SWIG_arg_fail(1)) SWIG_fail
;
14080 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14081 if (SWIG_arg_fail(2)) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 (arg1
)->SetButtonChange(arg2
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 Py_INCREF(Py_None
); resultobj
= Py_None
;
14097 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
= NULL
;
14099 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14100 wxPoint
*arg2
= 0 ;
14102 PyObject
* obj0
= 0 ;
14103 PyObject
* obj1
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self",(char *) "pos", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14110 if (SWIG_arg_fail(1)) SWIG_fail
;
14113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
= NULL
;
14131 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 PyObject
* obj1
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self",(char *) "zPos", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14141 if (SWIG_arg_fail(1)) SWIG_fail
;
14143 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14144 if (SWIG_arg_fail(2)) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 (arg1
)->SetZPosition(arg2
);
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14160 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
= NULL
;
14162 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14171 if (SWIG_arg_fail(1)) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14188 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
= NULL
;
14190 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
14198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14216 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
= NULL
;
14218 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
14226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14227 if (SWIG_arg_fail(1)) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14244 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
= NULL
;
14246 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14247 int arg2
= (int) wxJOY_BUTTON_ANY
;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj1
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "but", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14257 if (SWIG_arg_fail(1)) SWIG_fail
;
14260 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14261 if (SWIG_arg_fail(2)) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14280 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
= NULL
;
14282 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14283 int arg2
= (int) wxJOY_BUTTON_ANY
;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self",(char *) "but", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14293 if (SWIG_arg_fail(1)) SWIG_fail
;
14296 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14297 if (SWIG_arg_fail(2)) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14316 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
= NULL
;
14318 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14319 int arg2
= (int) wxJOY_BUTTON_ANY
;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self",(char *) "but", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14329 if (SWIG_arg_fail(1)) SWIG_fail
;
14332 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14333 if (SWIG_arg_fail(2)) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14352 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14355 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14357 return Py_BuildValue((char *)"");
14359 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
= NULL
;
14361 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14362 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14364 bool temp1
= false ;
14365 PyObject
* obj0
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "fileName", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14373 arg1
= wxString_in_helper(obj0
);
14374 if (arg1
== NULL
) SWIG_fail
;
14379 if (!wxPyCheckForApp()) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14401 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
= NULL
;
14403 PyObject
*arg1
= (PyObject
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 char *kwnames
[] = {
14407 (char *) "data", NULL
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14413 if (!wxPyCheckForApp()) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (wxSound
*)new_wxSound(arg1
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14427 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
= NULL
;
14429 wxSound
*arg1
= (wxSound
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14437 if (SWIG_arg_fail(1)) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 Py_INCREF(Py_None
); resultobj
= Py_None
;
14452 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
= NULL
;
14454 wxSound
*arg1
= (wxSound
*) 0 ;
14455 wxString
*arg2
= 0 ;
14457 bool temp2
= false ;
14458 PyObject
* obj0
= 0 ;
14459 PyObject
* obj1
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self",(char *) "fileName", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14466 if (SWIG_arg_fail(1)) SWIG_fail
;
14468 arg2
= wxString_in_helper(obj1
);
14469 if (arg2
== NULL
) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14496 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
= NULL
;
14498 wxSound
*arg1
= (wxSound
*) 0 ;
14499 PyObject
*arg2
= (PyObject
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 PyObject
* obj1
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self",(char *) "data", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14509 if (SWIG_arg_fail(1)) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14527 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
= NULL
;
14529 wxSound
*arg1
= (wxSound
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14538 if (SWIG_arg_fail(1)) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (bool)(arg1
)->IsOk();
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14555 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
= NULL
;
14557 wxSound
*arg1
= (wxSound
*) 0 ;
14558 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self",(char *) "flags", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14568 if (SWIG_arg_fail(1)) SWIG_fail
;
14571 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14572 if (SWIG_arg_fail(2)) SWIG_fail
;
14576 if (!wxPyCheckForApp()) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14592 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
= NULL
;
14594 wxString
*arg1
= 0 ;
14595 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14597 bool temp1
= false ;
14598 PyObject
* obj0
= 0 ;
14599 PyObject
* obj1
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "filename",(char *) "flags", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14606 arg1
= wxString_in_helper(obj0
);
14607 if (arg1
== NULL
) SWIG_fail
;
14612 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14613 if (SWIG_arg_fail(2)) SWIG_fail
;
14617 if (!wxPyCheckForApp()) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14641 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
= NULL
;
14643 char *kwnames
[] = {
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14649 if (!wxPyCheckForApp()) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 Py_INCREF(Py_None
); resultobj
= Py_None
;
14663 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14666 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14668 return Py_BuildValue((char *)"");
14670 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
= NULL
;
14672 wxString
*arg1
= 0 ;
14673 wxString
*arg2
= 0 ;
14674 wxString
*arg3
= 0 ;
14675 wxString
*arg4
= 0 ;
14676 wxFileTypeInfo
*result
;
14677 bool temp1
= false ;
14678 bool temp2
= false ;
14679 bool temp3
= false ;
14680 bool temp4
= false ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 PyObject
* obj2
= 0 ;
14684 PyObject
* obj3
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14691 arg1
= wxString_in_helper(obj0
);
14692 if (arg1
== NULL
) SWIG_fail
;
14696 arg2
= wxString_in_helper(obj1
);
14697 if (arg2
== NULL
) SWIG_fail
;
14701 arg3
= wxString_in_helper(obj2
);
14702 if (arg3
== NULL
) SWIG_fail
;
14706 arg4
= wxString_in_helper(obj3
);
14707 if (arg4
== NULL
) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14756 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
= NULL
;
14758 wxArrayString
*arg1
= 0 ;
14759 wxFileTypeInfo
*result
;
14760 bool temp1
= false ;
14761 PyObject
* obj0
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "sArray", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14768 if (! PySequence_Check(obj0
)) {
14769 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14772 arg1
= new wxArrayString
;
14774 int i
, len
=PySequence_Length(obj0
);
14775 for (i
=0; i
<len
; i
++) {
14776 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14777 wxString
* s
= wxString_in_helper(item
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14793 if (temp1
) delete arg1
;
14798 if (temp1
) delete arg1
;
14804 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
= NULL
;
14806 wxFileTypeInfo
*result
;
14807 char *kwnames
[] = {
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14826 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
= NULL
;
14828 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14830 PyObject
* obj0
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "self", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14837 if (SWIG_arg_fail(1)) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14854 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
= NULL
;
14856 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14857 wxString
*arg2
= 0 ;
14858 int arg3
= (int) 0 ;
14859 bool temp2
= false ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 PyObject
* obj2
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14869 if (SWIG_arg_fail(1)) SWIG_fail
;
14871 arg2
= wxString_in_helper(obj1
);
14872 if (arg2
== NULL
) SWIG_fail
;
14877 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14878 if (SWIG_arg_fail(3)) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 Py_INCREF(Py_None
); resultobj
= Py_None
;
14903 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
= NULL
;
14905 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14906 wxString
*arg2
= 0 ;
14907 bool temp2
= false ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self",(char *) "shortDesc", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14916 if (SWIG_arg_fail(1)) SWIG_fail
;
14918 arg2
= wxString_in_helper(obj1
);
14919 if (arg2
== NULL
) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 Py_INCREF(Py_None
); resultobj
= Py_None
;
14944 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
= NULL
;
14946 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14948 PyObject
* obj0
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "self", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14955 if (SWIG_arg_fail(1)) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14960 result
= (wxString
*) &_result_ref
;
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14970 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14979 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
= NULL
;
14981 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14983 PyObject
* obj0
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14990 if (SWIG_arg_fail(1)) SWIG_fail
;
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14995 result
= (wxString
*) &_result_ref
;
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15014 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
= NULL
;
15016 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
15024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15025 if (SWIG_arg_fail(1)) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
15030 result
= (wxString
*) &_result_ref
;
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15040 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15049 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
= NULL
;
15051 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
15059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15060 if (SWIG_arg_fail(1)) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
15065 result
= (wxString
*) &_result_ref
;
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15075 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15084 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
= NULL
;
15086 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
15094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15095 if (SWIG_arg_fail(1)) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15100 result
= (wxString
*) &_result_ref
;
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15119 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
= NULL
;
15121 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15122 wxArrayString
*result
;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15135 result
= (wxArrayString
*) &_result_ref
;
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= wxArrayString2PyList_helper(*result
);
15150 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
= NULL
;
15152 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15154 PyObject
* obj0
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15161 if (SWIG_arg_fail(1)) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= SWIG_From_int(static_cast<int >(result
));
15178 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
= NULL
;
15180 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
15188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15194 result
= (wxString
*) &_result_ref
;
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15204 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15213 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
= NULL
;
15215 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15224 if (SWIG_arg_fail(1)) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15233 resultobj
= SWIG_From_int(static_cast<int >(result
));
15241 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15244 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15246 return Py_BuildValue((char *)"");
15248 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
= NULL
;
15250 wxFileTypeInfo
*arg1
= 0 ;
15251 wxFileType
*result
;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "ftInfo", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15260 if (SWIG_arg_fail(1)) SWIG_fail
;
15261 if (arg1
== NULL
) {
15262 SWIG_null_ref("wxFileTypeInfo");
15264 if (SWIG_arg_fail(1)) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15280 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
= NULL
;
15282 wxFileType
*arg1
= (wxFileType
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 Py_INCREF(Py_None
); resultobj
= Py_None
;
15305 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
= NULL
;
15307 wxFileType
*arg1
= (wxFileType
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15316 if (SWIG_arg_fail(1)) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
;
15331 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
= NULL
;
15333 wxFileType
*arg1
= (wxFileType
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15342 if (SWIG_arg_fail(1)) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= result
;
15357 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
= NULL
;
15359 wxFileType
*arg1
= (wxFileType
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= result
;
15383 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
= NULL
;
15385 wxFileType
*arg1
= (wxFileType
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15394 if (SWIG_arg_fail(1)) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15409 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
= NULL
;
15411 wxFileType
*arg1
= (wxFileType
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15420 if (SWIG_arg_fail(1)) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= result
;
15435 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
= NULL
;
15437 wxFileType
*arg1
= (wxFileType
*) 0 ;
15439 PyObject
* obj0
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15446 if (SWIG_arg_fail(1)) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
;
15461 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
= NULL
;
15463 wxFileType
*arg1
= (wxFileType
*) 0 ;
15464 wxString
*arg2
= 0 ;
15465 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15466 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15468 bool temp2
= false ;
15469 bool temp3
= false ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 PyObject
* obj2
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15479 if (SWIG_arg_fail(1)) SWIG_fail
;
15481 arg2
= wxString_in_helper(obj1
);
15482 if (arg2
== NULL
) SWIG_fail
;
15487 arg3
= wxString_in_helper(obj2
);
15488 if (arg3
== NULL
) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= result
;
15522 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
= NULL
;
15524 wxFileType
*arg1
= (wxFileType
*) 0 ;
15525 wxString
*arg2
= 0 ;
15526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15529 bool temp2
= false ;
15530 bool temp3
= false ;
15531 PyObject
* obj0
= 0 ;
15532 PyObject
* obj1
= 0 ;
15533 PyObject
* obj2
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15540 if (SWIG_arg_fail(1)) SWIG_fail
;
15542 arg2
= wxString_in_helper(obj1
);
15543 if (arg2
== NULL
) SWIG_fail
;
15548 arg3
= wxString_in_helper(obj2
);
15549 if (arg3
== NULL
) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= result
;
15583 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
= NULL
;
15585 wxFileType
*arg1
= (wxFileType
*) 0 ;
15586 wxString
*arg2
= 0 ;
15587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15590 bool temp2
= false ;
15591 bool temp3
= false ;
15592 PyObject
* obj0
= 0 ;
15593 PyObject
* obj1
= 0 ;
15594 PyObject
* obj2
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15601 if (SWIG_arg_fail(1)) SWIG_fail
;
15603 arg2
= wxString_in_helper(obj1
);
15604 if (arg2
== NULL
) SWIG_fail
;
15609 arg3
= wxString_in_helper(obj2
);
15610 if (arg3
== NULL
) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= result
;
15644 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
= NULL
;
15646 wxFileType
*arg1
= (wxFileType
*) 0 ;
15647 wxString
*arg2
= 0 ;
15648 wxString
*arg3
= 0 ;
15649 bool arg4
= (bool) true ;
15651 bool temp2
= false ;
15652 bool temp3
= false ;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 PyObject
* obj2
= 0 ;
15656 PyObject
* obj3
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15663 if (SWIG_arg_fail(1)) SWIG_fail
;
15665 arg2
= wxString_in_helper(obj1
);
15666 if (arg2
== NULL
) SWIG_fail
;
15670 arg3
= wxString_in_helper(obj2
);
15671 if (arg3
== NULL
) SWIG_fail
;
15676 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15677 if (SWIG_arg_fail(4)) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15712 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
= NULL
;
15714 wxFileType
*arg1
= (wxFileType
*) 0 ;
15715 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15716 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15717 int arg3
= (int) 0 ;
15719 bool temp2
= false ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 PyObject
* obj2
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "cmd",(char *) "index", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15729 if (SWIG_arg_fail(1)) SWIG_fail
;
15732 arg2
= wxString_in_helper(obj1
);
15733 if (arg2
== NULL
) SWIG_fail
;
15739 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15740 if (SWIG_arg_fail(3)) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15767 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
= NULL
;
15769 wxFileType
*arg1
= (wxFileType
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15778 if (SWIG_arg_fail(1)) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)(arg1
)->Unassociate();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
= NULL
;
15797 wxString
*arg1
= 0 ;
15798 wxString
*arg2
= 0 ;
15799 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15800 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15802 bool temp1
= false ;
15803 bool temp2
= false ;
15804 bool temp3
= false ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 PyObject
* obj2
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15814 arg1
= wxString_in_helper(obj0
);
15815 if (arg1
== NULL
) SWIG_fail
;
15819 arg2
= wxString_in_helper(obj1
);
15820 if (arg2
== NULL
) SWIG_fail
;
15825 arg3
= wxString_in_helper(obj2
);
15826 if (arg3
== NULL
) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15874 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15877 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15879 return Py_BuildValue((char *)"");
15881 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15882 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15887 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15888 PyObject
*pyobj
= NULL
;
15890 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15895 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
= NULL
;
15897 wxString
*arg1
= 0 ;
15898 wxString
*arg2
= 0 ;
15900 bool temp1
= false ;
15901 bool temp2
= false ;
15902 PyObject
* obj0
= 0 ;
15903 PyObject
* obj1
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "mimeType",(char *) "wildcard", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15910 arg1
= wxString_in_helper(obj0
);
15911 if (arg1
== NULL
) SWIG_fail
;
15915 arg2
= wxString_in_helper(obj1
);
15916 if (arg2
== NULL
) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15951 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
= NULL
;
15953 wxMimeTypesManager
*result
;
15954 char *kwnames
[] = {
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15973 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
= NULL
;
15975 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15976 int arg2
= (int) wxMAILCAP_ALL
;
15977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15979 bool temp3
= false ;
15980 PyObject
* obj0
= 0 ;
15981 PyObject
* obj1
= 0 ;
15982 PyObject
* obj2
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15989 if (SWIG_arg_fail(1)) SWIG_fail
;
15992 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15993 if (SWIG_arg_fail(2)) SWIG_fail
;
15998 arg3
= wxString_in_helper(obj2
);
15999 if (arg3
== NULL
) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 Py_INCREF(Py_None
); resultobj
= Py_None
;
16025 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
= NULL
;
16027 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16028 PyObject
* obj0
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
16034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16035 if (SWIG_arg_fail(1)) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 (arg1
)->ClearData();
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16043 Py_INCREF(Py_None
); resultobj
= Py_None
;
16050 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
= NULL
;
16052 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16053 wxString
*arg2
= 0 ;
16054 wxFileType
*result
;
16055 bool temp2
= false ;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self",(char *) "ext", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
16063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16064 if (SWIG_arg_fail(1)) SWIG_fail
;
16066 arg2
= wxString_in_helper(obj1
);
16067 if (arg2
== NULL
) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16092 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
= NULL
;
16094 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16095 wxString
*arg2
= 0 ;
16096 wxFileType
*result
;
16097 bool temp2
= false ;
16098 PyObject
* obj0
= 0 ;
16099 PyObject
* obj1
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self",(char *) "mimeType", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16106 if (SWIG_arg_fail(1)) SWIG_fail
;
16108 arg2
= wxString_in_helper(obj1
);
16109 if (arg2
== NULL
) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16134 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
= NULL
;
16136 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16137 wxString
*arg2
= 0 ;
16138 bool arg3
= (bool) false ;
16140 bool temp2
= false ;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 PyObject
* obj2
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16150 if (SWIG_arg_fail(1)) SWIG_fail
;
16152 arg2
= wxString_in_helper(obj1
);
16153 if (arg2
== NULL
) SWIG_fail
;
16158 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16159 if (SWIG_arg_fail(3)) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16186 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
= NULL
;
16188 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16189 wxString
*arg2
= 0 ;
16191 bool temp2
= false ;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self",(char *) "filename", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
16199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16200 if (SWIG_arg_fail(1)) SWIG_fail
;
16202 arg2
= wxString_in_helper(obj1
);
16203 if (arg2
== NULL
) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16230 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
= NULL
;
16232 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16234 PyObject
* obj0
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16241 if (SWIG_arg_fail(1)) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= result
;
16256 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
= NULL
;
16258 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16259 wxFileTypeInfo
*arg2
= 0 ;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self",(char *) "ft", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16268 if (SWIG_arg_fail(1)) SWIG_fail
;
16270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16271 if (SWIG_arg_fail(2)) SWIG_fail
;
16272 if (arg2
== NULL
) {
16273 SWIG_null_ref("wxFileTypeInfo");
16275 if (SWIG_arg_fail(2)) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 Py_INCREF(Py_None
); resultobj
= Py_None
;
16291 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
= NULL
;
16293 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16294 wxFileTypeInfo
*arg2
= 0 ;
16295 wxFileType
*result
;
16296 PyObject
* obj0
= 0 ;
16297 PyObject
* obj1
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self",(char *) "ftInfo", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16304 if (SWIG_arg_fail(1)) SWIG_fail
;
16306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16307 if (SWIG_arg_fail(2)) SWIG_fail
;
16308 if (arg2
== NULL
) {
16309 SWIG_null_ref("wxFileTypeInfo");
16311 if (SWIG_arg_fail(2)) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16327 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
= NULL
;
16329 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16330 wxFileType
*arg2
= (wxFileType
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 PyObject
* obj1
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self",(char *) "ft", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16340 if (SWIG_arg_fail(1)) SWIG_fail
;
16341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16342 if (SWIG_arg_fail(2)) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (bool)(arg1
)->Unassociate(arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16359 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
= NULL
;
16361 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16369 if (SWIG_arg_fail(1)) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16377 Py_INCREF(Py_None
); resultobj
= Py_None
;
16384 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16387 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16389 return Py_BuildValue((char *)"");
16391 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16392 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16397 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16398 PyObject
*pyobj
= NULL
;
16402 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16404 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16411 static int _wrap_ART_MENU_set(PyObject
*) {
16412 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16417 static PyObject
*_wrap_ART_MENU_get(void) {
16418 PyObject
*pyobj
= NULL
;
16422 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16424 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16431 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16432 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16437 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16438 PyObject
*pyobj
= NULL
;
16442 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16444 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16451 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16452 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16457 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16458 PyObject
*pyobj
= NULL
;
16462 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16464 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16471 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16472 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16477 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16478 PyObject
*pyobj
= NULL
;
16482 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16484 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16491 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16492 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16497 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16498 PyObject
*pyobj
= NULL
;
16502 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16504 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16511 static int _wrap_ART_BUTTON_set(PyObject
*) {
16512 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16517 static PyObject
*_wrap_ART_BUTTON_get(void) {
16518 PyObject
*pyobj
= NULL
;
16522 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16524 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16531 static int _wrap_ART_OTHER_set(PyObject
*) {
16532 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16537 static PyObject
*_wrap_ART_OTHER_get(void) {
16538 PyObject
*pyobj
= NULL
;
16542 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16544 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16551 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16552 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16557 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16558 PyObject
*pyobj
= NULL
;
16562 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16564 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16571 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16572 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16577 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16578 PyObject
*pyobj
= NULL
;
16582 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16584 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16591 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16592 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16597 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16598 PyObject
*pyobj
= NULL
;
16602 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16604 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16611 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16612 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16617 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16618 PyObject
*pyobj
= NULL
;
16622 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16624 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16631 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16632 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16637 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16638 PyObject
*pyobj
= NULL
;
16642 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16644 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16651 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16652 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16657 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16658 PyObject
*pyobj
= NULL
;
16662 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16664 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16671 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16672 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16677 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16678 PyObject
*pyobj
= NULL
;
16682 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16684 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16691 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16692 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16697 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16698 PyObject
*pyobj
= NULL
;
16702 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16704 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16711 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16712 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16717 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16718 PyObject
*pyobj
= NULL
;
16722 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16724 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16731 static int _wrap_ART_GO_UP_set(PyObject
*) {
16732 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16737 static PyObject
*_wrap_ART_GO_UP_get(void) {
16738 PyObject
*pyobj
= NULL
;
16742 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16744 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16751 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16752 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16757 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16758 PyObject
*pyobj
= NULL
;
16762 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16764 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16771 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16772 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16777 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16778 PyObject
*pyobj
= NULL
;
16782 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16784 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16791 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16792 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16797 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16798 PyObject
*pyobj
= NULL
;
16802 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16804 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16811 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16812 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16817 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16818 PyObject
*pyobj
= NULL
;
16822 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16824 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16831 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16832 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16837 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16838 PyObject
*pyobj
= NULL
;
16842 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16844 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16851 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16852 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16857 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16858 PyObject
*pyobj
= NULL
;
16862 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16864 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16871 static int _wrap_ART_PRINT_set(PyObject
*) {
16872 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16877 static PyObject
*_wrap_ART_PRINT_get(void) {
16878 PyObject
*pyobj
= NULL
;
16882 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16884 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16891 static int _wrap_ART_HELP_set(PyObject
*) {
16892 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16897 static PyObject
*_wrap_ART_HELP_get(void) {
16898 PyObject
*pyobj
= NULL
;
16902 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16904 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16911 static int _wrap_ART_TIP_set(PyObject
*) {
16912 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16917 static PyObject
*_wrap_ART_TIP_get(void) {
16918 PyObject
*pyobj
= NULL
;
16922 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16924 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16931 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16932 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16937 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16938 PyObject
*pyobj
= NULL
;
16942 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16944 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16951 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16952 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16957 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16958 PyObject
*pyobj
= NULL
;
16962 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16964 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16971 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16972 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16977 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16978 PyObject
*pyobj
= NULL
;
16982 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16984 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16991 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16992 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16997 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16998 PyObject
*pyobj
= NULL
;
17002 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
17004 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
17011 static int _wrap_ART_FLOPPY_set(PyObject
*) {
17012 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
17017 static PyObject
*_wrap_ART_FLOPPY_get(void) {
17018 PyObject
*pyobj
= NULL
;
17022 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17024 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17031 static int _wrap_ART_CDROM_set(PyObject
*) {
17032 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
17037 static PyObject
*_wrap_ART_CDROM_get(void) {
17038 PyObject
*pyobj
= NULL
;
17042 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17044 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17051 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
17052 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
17057 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
17058 PyObject
*pyobj
= NULL
;
17062 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17064 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17071 static int _wrap_ART_FOLDER_set(PyObject
*) {
17072 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
17077 static PyObject
*_wrap_ART_FOLDER_get(void) {
17078 PyObject
*pyobj
= NULL
;
17082 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17084 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17091 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
17092 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17097 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17098 PyObject
*pyobj
= NULL
;
17102 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17104 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17111 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17112 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17117 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17118 PyObject
*pyobj
= NULL
;
17122 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17124 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17131 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17132 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17137 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17138 PyObject
*pyobj
= NULL
;
17142 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17144 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17151 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17152 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17157 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17158 PyObject
*pyobj
= NULL
;
17162 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17164 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17171 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17172 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17177 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17178 PyObject
*pyobj
= NULL
;
17182 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17184 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17191 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17192 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17197 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17198 PyObject
*pyobj
= NULL
;
17202 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17204 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17211 static int _wrap_ART_ERROR_set(PyObject
*) {
17212 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17217 static PyObject
*_wrap_ART_ERROR_get(void) {
17218 PyObject
*pyobj
= NULL
;
17222 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17224 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17231 static int _wrap_ART_QUESTION_set(PyObject
*) {
17232 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17237 static PyObject
*_wrap_ART_QUESTION_get(void) {
17238 PyObject
*pyobj
= NULL
;
17242 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17244 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17251 static int _wrap_ART_WARNING_set(PyObject
*) {
17252 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17257 static PyObject
*_wrap_ART_WARNING_get(void) {
17258 PyObject
*pyobj
= NULL
;
17262 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17264 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17271 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17272 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17277 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17278 PyObject
*pyobj
= NULL
;
17282 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17284 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17291 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17292 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17297 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17298 PyObject
*pyobj
= NULL
;
17302 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17304 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17311 static int _wrap_ART_COPY_set(PyObject
*) {
17312 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17317 static PyObject
*_wrap_ART_COPY_get(void) {
17318 PyObject
*pyobj
= NULL
;
17322 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17324 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17331 static int _wrap_ART_CUT_set(PyObject
*) {
17332 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17337 static PyObject
*_wrap_ART_CUT_get(void) {
17338 PyObject
*pyobj
= NULL
;
17342 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17344 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17351 static int _wrap_ART_PASTE_set(PyObject
*) {
17352 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17357 static PyObject
*_wrap_ART_PASTE_get(void) {
17358 PyObject
*pyobj
= NULL
;
17362 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17364 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17371 static int _wrap_ART_DELETE_set(PyObject
*) {
17372 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17377 static PyObject
*_wrap_ART_DELETE_get(void) {
17378 PyObject
*pyobj
= NULL
;
17382 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17384 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17391 static int _wrap_ART_NEW_set(PyObject
*) {
17392 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17397 static PyObject
*_wrap_ART_NEW_get(void) {
17398 PyObject
*pyobj
= NULL
;
17402 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17404 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17411 static int _wrap_ART_UNDO_set(PyObject
*) {
17412 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17417 static PyObject
*_wrap_ART_UNDO_get(void) {
17418 PyObject
*pyobj
= NULL
;
17422 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17424 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17431 static int _wrap_ART_REDO_set(PyObject
*) {
17432 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17437 static PyObject
*_wrap_ART_REDO_get(void) {
17438 PyObject
*pyobj
= NULL
;
17442 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17444 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17451 static int _wrap_ART_QUIT_set(PyObject
*) {
17452 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17457 static PyObject
*_wrap_ART_QUIT_get(void) {
17458 PyObject
*pyobj
= NULL
;
17462 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17464 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17471 static int _wrap_ART_FIND_set(PyObject
*) {
17472 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17477 static PyObject
*_wrap_ART_FIND_get(void) {
17478 PyObject
*pyobj
= NULL
;
17482 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17484 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17491 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17492 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17497 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17498 PyObject
*pyobj
= NULL
;
17502 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17504 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17511 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
= NULL
;
17513 wxPyArtProvider
*result
;
17514 char *kwnames
[] = {
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17520 if (!wxPyCheckForApp()) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17534 static PyObject
*_wrap_delete_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
= NULL
;
17536 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
17543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17544 if (SWIG_arg_fail(1)) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
= NULL
;
17561 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17562 PyObject
*arg2
= (PyObject
*) 0 ;
17563 PyObject
*arg3
= (PyObject
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 PyObject
* obj2
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "self",(char *) "_class", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17573 if (SWIG_arg_fail(1)) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 Py_INCREF(Py_None
); resultobj
= Py_None
;
17590 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
= NULL
;
17592 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17593 PyObject
* obj0
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "provider", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17600 if (SWIG_arg_fail(1)) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 wxPyArtProvider::PushProvider(arg1
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 Py_INCREF(Py_None
); resultobj
= Py_None
;
17615 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
= NULL
;
17618 char *kwnames
[] = {
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (bool)wxPyArtProvider::PopProvider();
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17639 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
= NULL
;
17641 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "provider", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
17649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17650 if (SWIG_arg_fail(1)) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17667 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
= NULL
;
17669 wxString
*arg1
= 0 ;
17670 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17671 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17672 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17673 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17675 bool temp1
= false ;
17676 bool temp2
= false ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 PyObject
* obj2
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "id",(char *) "client",(char *) "size", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17687 arg1
= wxString_in_helper(obj0
);
17688 if (arg1
== NULL
) SWIG_fail
;
17693 arg2
= wxString_in_helper(obj1
);
17694 if (arg2
== NULL
) SWIG_fail
;
17701 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17705 if (!wxPyCheckForApp()) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 wxBitmap
* resultptr
;
17714 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17739 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
= NULL
;
17741 wxString
*arg1
= 0 ;
17742 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17743 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17744 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17745 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17747 bool temp1
= false ;
17748 bool temp2
= false ;
17750 PyObject
* obj0
= 0 ;
17751 PyObject
* obj1
= 0 ;
17752 PyObject
* obj2
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "id",(char *) "client",(char *) "size", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17759 arg1
= wxString_in_helper(obj0
);
17760 if (arg1
== NULL
) SWIG_fail
;
17765 arg2
= wxString_in_helper(obj1
);
17766 if (arg2
== NULL
) SWIG_fail
;
17773 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17777 if (!wxPyCheckForApp()) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 wxIcon
* resultptr
;
17786 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17811 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
= NULL
;
17813 wxString
*arg1
= 0 ;
17814 bool arg2
= (bool) false ;
17816 bool temp1
= false ;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "client",(char *) "platform_dependent", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 arg1
= wxString_in_helper(obj0
);
17826 if (arg1
== NULL
) SWIG_fail
;
17831 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17832 if (SWIG_arg_fail(2)) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17843 wxSize
* resultptr
;
17844 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17861 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
= NULL
;
17863 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17871 if (SWIG_arg_fail(1)) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 wxPyArtProvider_Destroy(arg1
);
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 Py_INCREF(Py_None
); resultobj
= Py_None
;
17886 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17889 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17891 return Py_BuildValue((char *)"");
17893 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
= NULL
;
17895 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17903 if (SWIG_arg_fail(1)) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 Py_INCREF(Py_None
); resultobj
= Py_None
;
17918 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
= NULL
;
17920 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17921 wxConfigBase
*result
;
17922 PyObject
* obj0
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "config", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17929 if (SWIG_arg_fail(1)) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17944 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
= NULL
;
17946 bool arg1
= (bool) true ;
17947 wxConfigBase
*result
;
17948 PyObject
* obj0
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "createOnDemand", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17956 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17957 if (SWIG_arg_fail(1)) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17974 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
= NULL
;
17976 wxConfigBase
*result
;
17977 char *kwnames
[] = {
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= (wxConfigBase
*)wxConfigBase::Create();
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17996 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
= NULL
;
17998 char *kwnames
[] = {
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 wxConfigBase::DontCreateOnDemand();
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 Py_INCREF(Py_None
); resultobj
= Py_None
;
18017 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
= NULL
;
18019 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18020 wxString
*arg2
= 0 ;
18021 bool temp2
= false ;
18022 PyObject
* obj0
= 0 ;
18023 PyObject
* obj1
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "path", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 arg2
= wxString_in_helper(obj1
);
18033 if (arg2
== NULL
) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 (arg1
)->SetPath((wxString
const &)*arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 Py_INCREF(Py_None
); resultobj
= Py_None
;
18058 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
= NULL
;
18060 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
18074 result
= (wxString
*) &_result_ref
;
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18084 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18093 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
= NULL
;
18095 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
18103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= result
;
18119 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
= NULL
;
18121 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "self",(char *) "index", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18132 if (SWIG_arg_fail(1)) SWIG_fail
;
18134 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18135 if (SWIG_arg_fail(2)) SWIG_fail
;
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18144 resultobj
= result
;
18151 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
= NULL
;
18153 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18155 PyObject
* obj0
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "self", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18162 if (SWIG_arg_fail(1)) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= result
;
18177 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
= NULL
;
18179 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "self",(char *) "index", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18190 if (SWIG_arg_fail(1)) SWIG_fail
;
18192 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18193 if (SWIG_arg_fail(2)) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= result
;
18209 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
= NULL
;
18211 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18212 bool arg2
= (bool) false ;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "self",(char *) "recursive", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18222 if (SWIG_arg_fail(1)) SWIG_fail
;
18225 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18226 if (SWIG_arg_fail(2)) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18245 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
= NULL
;
18247 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18248 bool arg2
= (bool) false ;
18250 PyObject
* obj0
= 0 ;
18251 PyObject
* obj1
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self",(char *) "recursive", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18258 if (SWIG_arg_fail(1)) SWIG_fail
;
18261 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18262 if (SWIG_arg_fail(2)) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18281 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= NULL
;
18283 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18284 wxString
*arg2
= 0 ;
18286 bool temp2
= false ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self",(char *) "name", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail
;
18297 arg2
= wxString_in_helper(obj1
);
18298 if (arg2
== NULL
) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18325 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
= NULL
;
18327 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18328 wxString
*arg2
= 0 ;
18330 bool temp2
= false ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self",(char *) "name", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18339 if (SWIG_arg_fail(1)) SWIG_fail
;
18341 arg2
= wxString_in_helper(obj1
);
18342 if (arg2
== NULL
) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18369 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
= NULL
;
18371 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18372 wxString
*arg2
= 0 ;
18374 bool temp2
= false ;
18375 PyObject
* obj0
= 0 ;
18376 PyObject
* obj1
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self",(char *) "name", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18383 if (SWIG_arg_fail(1)) SWIG_fail
;
18385 arg2
= wxString_in_helper(obj1
);
18386 if (arg2
== NULL
) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18413 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
= NULL
;
18415 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18416 wxString
*arg2
= 0 ;
18417 wxConfigBase::EntryType result
;
18418 bool temp2
= false ;
18419 PyObject
* obj0
= 0 ;
18420 PyObject
* obj1
= 0 ;
18421 char *kwnames
[] = {
18422 (char *) "self",(char *) "name", NULL
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18427 if (SWIG_arg_fail(1)) SWIG_fail
;
18429 arg2
= wxString_in_helper(obj1
);
18430 if (arg2
== NULL
) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= SWIG_From_int((result
));
18455 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
= NULL
;
18457 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18458 wxString
*arg2
= 0 ;
18459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18462 bool temp2
= false ;
18463 bool temp3
= false ;
18464 PyObject
* obj0
= 0 ;
18465 PyObject
* obj1
= 0 ;
18466 PyObject
* obj2
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail
;
18475 arg2
= wxString_in_helper(obj1
);
18476 if (arg2
== NULL
) SWIG_fail
;
18481 arg3
= wxString_in_helper(obj2
);
18482 if (arg3
== NULL
) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18522 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
= NULL
;
18524 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18525 wxString
*arg2
= 0 ;
18526 long arg3
= (long) 0 ;
18528 bool temp2
= false ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 PyObject
* obj2
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18538 if (SWIG_arg_fail(1)) SWIG_fail
;
18540 arg2
= wxString_in_helper(obj1
);
18541 if (arg2
== NULL
) SWIG_fail
;
18546 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18547 if (SWIG_arg_fail(3)) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= SWIG_From_long(static_cast<long >(result
));
18574 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
= NULL
;
18576 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18577 wxString
*arg2
= 0 ;
18578 double arg3
= (double) 0.0 ;
18580 bool temp2
= false ;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 PyObject
* obj2
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18590 if (SWIG_arg_fail(1)) SWIG_fail
;
18592 arg2
= wxString_in_helper(obj1
);
18593 if (arg2
== NULL
) SWIG_fail
;
18598 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18599 if (SWIG_arg_fail(3)) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_From_double(static_cast<double >(result
));
18626 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
= NULL
;
18628 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18629 wxString
*arg2
= 0 ;
18630 bool arg3
= (bool) false ;
18632 bool temp2
= false ;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 PyObject
* obj2
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18642 if (SWIG_arg_fail(1)) SWIG_fail
;
18644 arg2
= wxString_in_helper(obj1
);
18645 if (arg2
== NULL
) SWIG_fail
;
18650 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18651 if (SWIG_arg_fail(3)) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18678 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
= NULL
;
18680 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18681 wxString
*arg2
= 0 ;
18682 wxString
*arg3
= 0 ;
18684 bool temp2
= false ;
18685 bool temp3
= false ;
18686 PyObject
* obj0
= 0 ;
18687 PyObject
* obj1
= 0 ;
18688 PyObject
* obj2
= 0 ;
18689 char *kwnames
[] = {
18690 (char *) "self",(char *) "key",(char *) "value", NULL
18693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18695 if (SWIG_arg_fail(1)) SWIG_fail
;
18697 arg2
= wxString_in_helper(obj1
);
18698 if (arg2
== NULL
) SWIG_fail
;
18702 arg3
= wxString_in_helper(obj2
);
18703 if (arg3
== NULL
) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18738 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
= NULL
;
18740 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18741 wxString
*arg2
= 0 ;
18744 bool temp2
= false ;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 PyObject
* obj2
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self",(char *) "key",(char *) "value", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18754 if (SWIG_arg_fail(1)) SWIG_fail
;
18756 arg2
= wxString_in_helper(obj1
);
18757 if (arg2
== NULL
) SWIG_fail
;
18761 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18762 if (SWIG_arg_fail(3)) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18788 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= NULL
;
18790 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18791 wxString
*arg2
= 0 ;
18794 bool temp2
= false ;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 PyObject
* obj2
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self",(char *) "key",(char *) "value", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18804 if (SWIG_arg_fail(1)) SWIG_fail
;
18806 arg2
= wxString_in_helper(obj1
);
18807 if (arg2
== NULL
) SWIG_fail
;
18811 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18812 if (SWIG_arg_fail(3)) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18838 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
= NULL
;
18840 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18841 wxString
*arg2
= 0 ;
18844 bool temp2
= false ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 PyObject
* obj2
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self",(char *) "key",(char *) "value", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18854 if (SWIG_arg_fail(1)) SWIG_fail
;
18856 arg2
= wxString_in_helper(obj1
);
18857 if (arg2
== NULL
) SWIG_fail
;
18861 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18862 if (SWIG_arg_fail(3)) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18888 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
= NULL
;
18890 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18891 bool arg2
= (bool) false ;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self",(char *) "currentOnly", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18901 if (SWIG_arg_fail(1)) SWIG_fail
;
18904 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18905 if (SWIG_arg_fail(2)) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (bool)(arg1
)->Flush(arg2
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18924 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
= NULL
;
18926 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18927 wxString
*arg2
= 0 ;
18928 wxString
*arg3
= 0 ;
18930 bool temp2
= false ;
18931 bool temp3
= false ;
18932 PyObject
* obj0
= 0 ;
18933 PyObject
* obj1
= 0 ;
18934 PyObject
* obj2
= 0 ;
18935 char *kwnames
[] = {
18936 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18941 if (SWIG_arg_fail(1)) SWIG_fail
;
18943 arg2
= wxString_in_helper(obj1
);
18944 if (arg2
== NULL
) SWIG_fail
;
18948 arg3
= wxString_in_helper(obj2
);
18949 if (arg3
== NULL
) SWIG_fail
;
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18984 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
= NULL
;
18986 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18987 wxString
*arg2
= 0 ;
18988 wxString
*arg3
= 0 ;
18990 bool temp2
= false ;
18991 bool temp3
= false ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 PyObject
* obj2
= 0 ;
18995 char *kwnames
[] = {
18996 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19001 if (SWIG_arg_fail(1)) SWIG_fail
;
19003 arg2
= wxString_in_helper(obj1
);
19004 if (arg2
== NULL
) SWIG_fail
;
19008 arg3
= wxString_in_helper(obj2
);
19009 if (arg3
== NULL
) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19044 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
= NULL
;
19046 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19047 wxString
*arg2
= 0 ;
19048 bool arg3
= (bool) true ;
19050 bool temp2
= false ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 PyObject
* obj2
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19060 if (SWIG_arg_fail(1)) SWIG_fail
;
19062 arg2
= wxString_in_helper(obj1
);
19063 if (arg2
== NULL
) SWIG_fail
;
19068 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19069 if (SWIG_arg_fail(3)) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19096 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
= NULL
;
19098 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19099 wxString
*arg2
= 0 ;
19101 bool temp2
= false ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self",(char *) "key", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
19109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19110 if (SWIG_arg_fail(1)) SWIG_fail
;
19112 arg2
= wxString_in_helper(obj1
);
19113 if (arg2
== NULL
) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19140 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
= NULL
;
19142 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19151 if (SWIG_arg_fail(1)) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= (bool)(arg1
)->DeleteAll();
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19168 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
= NULL
;
19170 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19171 bool arg2
= (bool) true ;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self",(char *) "doIt", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19180 if (SWIG_arg_fail(1)) SWIG_fail
;
19183 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19184 if (SWIG_arg_fail(2)) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->SetExpandEnvVars(arg2
);
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 Py_INCREF(Py_None
); resultobj
= Py_None
;
19201 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
= NULL
;
19203 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19212 if (SWIG_arg_fail(1)) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19229 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
= NULL
;
19231 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19232 bool arg2
= (bool) true ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self",(char *) "doIt", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",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
;
19244 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19245 if (SWIG_arg_fail(2)) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 (arg1
)->SetRecordDefaults(arg2
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 Py_INCREF(Py_None
); resultobj
= Py_None
;
19262 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
= NULL
;
19264 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19273 if (SWIG_arg_fail(1)) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19290 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
= NULL
;
19292 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19293 wxString
*arg2
= 0 ;
19295 bool temp2
= false ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "str", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19304 if (SWIG_arg_fail(1)) SWIG_fail
;
19306 arg2
= wxString_in_helper(obj1
);
19307 if (arg2
== NULL
) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19338 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19339 PyObject
*resultobj
= NULL
;
19340 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19342 PyObject
* obj0
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19349 if (SWIG_arg_fail(1)) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19370 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
= NULL
;
19372 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19381 if (SWIG_arg_fail(1)) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19402 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
= NULL
;
19404 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19405 wxString
*arg2
= 0 ;
19406 bool temp2
= false ;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "appName", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19415 if (SWIG_arg_fail(1)) SWIG_fail
;
19417 arg2
= wxString_in_helper(obj1
);
19418 if (arg2
== NULL
) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->SetAppName((wxString
const &)*arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 Py_INCREF(Py_None
); resultobj
= Py_None
;
19443 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
= NULL
;
19445 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19446 wxString
*arg2
= 0 ;
19447 bool temp2
= false ;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self",(char *) "vendorName", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19456 if (SWIG_arg_fail(1)) SWIG_fail
;
19458 arg2
= wxString_in_helper(obj1
);
19459 if (arg2
== NULL
) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 Py_INCREF(Py_None
); resultobj
= Py_None
;
19484 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
= NULL
;
19486 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19488 PyObject
* obj0
= 0 ;
19489 PyObject
* obj1
= 0 ;
19490 char *kwnames
[] = {
19491 (char *) "self",(char *) "style", NULL
19494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19496 if (SWIG_arg_fail(1)) SWIG_fail
;
19498 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19499 if (SWIG_arg_fail(2)) SWIG_fail
;
19502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 (arg1
)->SetStyle(arg2
);
19505 wxPyEndAllowThreads(__tstate
);
19506 if (PyErr_Occurred()) SWIG_fail
;
19508 Py_INCREF(Py_None
); resultobj
= Py_None
;
19515 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
= NULL
;
19517 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19526 if (SWIG_arg_fail(1)) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= SWIG_From_long(static_cast<long >(result
));
19543 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19546 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19548 return Py_BuildValue((char *)"");
19550 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
= NULL
;
19552 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19553 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19554 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19555 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19556 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19558 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19559 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19560 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19562 bool temp1
= false ;
19563 bool temp2
= false ;
19564 bool temp3
= false ;
19565 bool temp4
= false ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 PyObject
* obj2
= 0 ;
19569 PyObject
* obj3
= 0 ;
19570 PyObject
* obj4
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19578 arg1
= wxString_in_helper(obj0
);
19579 if (arg1
== NULL
) SWIG_fail
;
19585 arg2
= wxString_in_helper(obj1
);
19586 if (arg2
== NULL
) SWIG_fail
;
19592 arg3
= wxString_in_helper(obj2
);
19593 if (arg3
== NULL
) SWIG_fail
;
19599 arg4
= wxString_in_helper(obj3
);
19600 if (arg4
== NULL
) SWIG_fail
;
19606 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19607 if (SWIG_arg_fail(5)) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19656 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
= NULL
;
19658 wxConfig
*arg1
= (wxConfig
*) 0 ;
19659 PyObject
* obj0
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "self", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19666 if (SWIG_arg_fail(1)) SWIG_fail
;
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 Py_INCREF(Py_None
); resultobj
= Py_None
;
19681 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19684 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19686 return Py_BuildValue((char *)"");
19688 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
= NULL
;
19690 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19691 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19692 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19693 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19694 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19695 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19696 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19697 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19698 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19699 wxFileConfig
*result
;
19700 bool temp1
= false ;
19701 bool temp2
= false ;
19702 bool temp3
= false ;
19703 bool temp4
= false ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 PyObject
* obj2
= 0 ;
19707 PyObject
* obj3
= 0 ;
19708 PyObject
* obj4
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19716 arg1
= wxString_in_helper(obj0
);
19717 if (arg1
== NULL
) SWIG_fail
;
19723 arg2
= wxString_in_helper(obj1
);
19724 if (arg2
== NULL
) SWIG_fail
;
19730 arg3
= wxString_in_helper(obj2
);
19731 if (arg3
== NULL
) SWIG_fail
;
19737 arg4
= wxString_in_helper(obj3
);
19738 if (arg4
== NULL
) SWIG_fail
;
19744 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19745 if (SWIG_arg_fail(5)) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19794 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
= NULL
;
19796 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19804 if (SWIG_arg_fail(1)) SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 Py_INCREF(Py_None
); resultobj
= Py_None
;
19819 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19822 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19824 return Py_BuildValue((char *)"");
19826 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
= NULL
;
19828 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19829 wxString
*arg2
= 0 ;
19830 wxConfigPathChanger
*result
;
19831 bool temp2
= false ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "config",(char *) "entry", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19840 if (SWIG_arg_fail(1)) SWIG_fail
;
19842 arg2
= wxString_in_helper(obj1
);
19843 if (arg2
== NULL
) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19868 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
= NULL
;
19870 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19871 PyObject
* obj0
= 0 ;
19872 char *kwnames
[] = {
19873 (char *) "self", NULL
19876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19878 if (SWIG_arg_fail(1)) SWIG_fail
;
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 Py_INCREF(Py_None
); resultobj
= Py_None
;
19893 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
= NULL
;
19895 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19904 if (SWIG_arg_fail(1)) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19909 result
= (wxString
*) &_result_ref
;
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19919 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19928 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19931 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19933 return Py_BuildValue((char *)"");
19935 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
= NULL
;
19937 wxString
*arg1
= 0 ;
19939 bool temp1
= false ;
19940 PyObject
* obj0
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "sz", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19947 arg1
= wxString_in_helper(obj0
);
19948 if (arg1
== NULL
) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19979 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19980 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19985 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19986 PyObject
*pyobj
= NULL
;
19990 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19992 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19999 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
20000 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
20005 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
20006 PyObject
*pyobj
= NULL
;
20010 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20012 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20019 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
= NULL
;
20021 wxDateTime::Country arg1
;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "country", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
20029 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20030 if (SWIG_arg_fail(1)) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 wxDateTime::SetCountry(arg1
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 Py_INCREF(Py_None
); resultobj
= Py_None
;
20046 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
= NULL
;
20048 wxDateTime::Country result
;
20049 char *kwnames
[] = {
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_From_int((result
));
20068 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
= NULL
;
20070 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20072 PyObject
* obj0
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "country", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
20080 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20081 if (SWIG_arg_fail(1)) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20100 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
= NULL
;
20102 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20104 PyObject
* obj0
= 0 ;
20105 char *kwnames
[] = {
20106 (char *) "cal", NULL
20109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
20112 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20113 if (SWIG_arg_fail(1)) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 result
= (int)wxDateTime::GetCurrentYear(arg1
);
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_From_int(static_cast<int >(result
));
20132 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
= NULL
;
20136 PyObject
* obj0
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "year", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20143 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20144 if (SWIG_arg_fail(1)) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_From_int(static_cast<int >(result
));
20162 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
= NULL
;
20164 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20165 wxDateTime::Month result
;
20166 PyObject
* obj0
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "cal", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20174 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20175 if (SWIG_arg_fail(1)) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_From_int((result
));
20192 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
= NULL
;
20194 int arg1
= (int) wxDateTime::Inv_Year
;
20195 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "year",(char *) "cal", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20206 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20207 if (SWIG_arg_fail(1)) SWIG_fail
;
20212 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20213 if (SWIG_arg_fail(2)) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20232 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
= NULL
;
20234 int arg1
= (int) wxDateTime::Inv_Year
;
20236 PyObject
* obj0
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "year", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20244 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20245 if (SWIG_arg_fail(1)) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (int)wxDateTime::GetCentury(arg1
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= SWIG_From_int(static_cast<int >(result
));
20264 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
= NULL
;
20267 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 char *kwnames
[] = {
20272 (char *) "year",(char *) "cal", NULL
20275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20277 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20278 if (SWIG_arg_fail(1)) SWIG_fail
;
20282 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20283 if (SWIG_arg_fail(2)) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= SWIG_From_int(static_cast<int >(result
));
20302 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
= NULL
;
20304 wxDateTime::Month arg1
;
20305 int arg2
= (int) wxDateTime::Inv_Year
;
20306 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 PyObject
* obj2
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "month",(char *) "year",(char *) "cal", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20317 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20318 if (SWIG_arg_fail(1)) SWIG_fail
;
20322 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20323 if (SWIG_arg_fail(2)) SWIG_fail
;
20328 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20329 if (SWIG_arg_fail(3)) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_From_int(static_cast<int >(result
));
20348 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
= NULL
;
20350 wxDateTime::Month arg1
;
20351 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20353 PyObject
* obj0
= 0 ;
20354 PyObject
* obj1
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "month",(char *) "flags", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20361 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20362 if (SWIG_arg_fail(1)) SWIG_fail
;
20366 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20367 if (SWIG_arg_fail(2)) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20390 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= NULL
;
20392 wxDateTime::WeekDay arg1
;
20393 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20395 PyObject
* obj0
= 0 ;
20396 PyObject
* obj1
= 0 ;
20397 char *kwnames
[] = {
20398 (char *) "weekday",(char *) "flags", NULL
20401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20403 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20404 if (SWIG_arg_fail(1)) SWIG_fail
;
20408 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20409 if (SWIG_arg_fail(2)) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20432 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
= NULL
;
20435 char *kwnames
[] = {
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= result
;
20454 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
= NULL
;
20456 int arg1
= (int) wxDateTime::Inv_Year
;
20457 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "year",(char *) "country", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20468 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20469 if (SWIG_arg_fail(1)) SWIG_fail
;
20474 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20475 if (SWIG_arg_fail(2)) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20494 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
= NULL
;
20496 int arg1
= (int) wxDateTime::Inv_Year
;
20497 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "year",(char *) "country", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20508 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20514 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20515 if (SWIG_arg_fail(2)) SWIG_fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20526 wxDateTime
* resultptr
;
20527 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20536 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
= NULL
;
20538 int arg1
= (int) wxDateTime::Inv_Year
;
20539 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20541 PyObject
* obj0
= 0 ;
20542 PyObject
* obj1
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "year",(char *) "country", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20550 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20551 if (SWIG_arg_fail(1)) SWIG_fail
;
20556 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20557 if (SWIG_arg_fail(2)) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20568 wxDateTime
* resultptr
;
20569 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20578 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
= NULL
;
20581 char *kwnames
[] = {
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= wxDateTime::Now();
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20594 wxDateTime
* resultptr
;
20595 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20604 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
= NULL
;
20607 char *kwnames
[] = {
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 result
= wxDateTime::UNow();
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20620 wxDateTime
* resultptr
;
20621 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20630 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
= NULL
;
20633 char *kwnames
[] = {
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= wxDateTime::Today();
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20646 wxDateTime
* resultptr
;
20647 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20656 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
= NULL
;
20658 wxDateTime
*result
;
20659 char *kwnames
[] = {
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (wxDateTime
*)new wxDateTime();
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20678 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
= NULL
;
20681 wxDateTime
*result
;
20682 PyObject
* obj0
= 0 ;
20683 char *kwnames
[] = {
20684 (char *) "timet", NULL
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20689 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20690 if (SWIG_arg_fail(1)) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= (wxDateTime
*)new wxDateTime(arg1
);
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20706 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
= NULL
;
20709 wxDateTime
*result
;
20710 PyObject
* obj0
= 0 ;
20711 char *kwnames
[] = {
20712 (char *) "jdn", NULL
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20717 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20718 if (SWIG_arg_fail(1)) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 result
= (wxDateTime
*)new wxDateTime(arg1
);
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20734 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
= NULL
;
20737 int arg2
= (int) 0 ;
20738 int arg3
= (int) 0 ;
20739 int arg4
= (int) 0 ;
20740 wxDateTime
*result
;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 PyObject
* obj2
= 0 ;
20744 PyObject
* obj3
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20751 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20752 if (SWIG_arg_fail(1)) SWIG_fail
;
20756 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20757 if (SWIG_arg_fail(2)) SWIG_fail
;
20762 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20763 if (SWIG_arg_fail(3)) SWIG_fail
;
20768 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20769 if (SWIG_arg_fail(4)) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20786 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
= NULL
;
20789 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20790 int arg3
= (int) wxDateTime::Inv_Year
;
20791 int arg4
= (int) 0 ;
20792 int arg5
= (int) 0 ;
20793 int arg6
= (int) 0 ;
20794 int arg7
= (int) 0 ;
20795 wxDateTime
*result
;
20796 PyObject
* obj0
= 0 ;
20797 PyObject
* obj1
= 0 ;
20798 PyObject
* obj2
= 0 ;
20799 PyObject
* obj3
= 0 ;
20800 PyObject
* obj4
= 0 ;
20801 PyObject
* obj5
= 0 ;
20802 PyObject
* obj6
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20809 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20810 if (SWIG_arg_fail(1)) SWIG_fail
;
20814 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20815 if (SWIG_arg_fail(2)) SWIG_fail
;
20820 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20821 if (SWIG_arg_fail(3)) SWIG_fail
;
20826 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20827 if (SWIG_arg_fail(4)) SWIG_fail
;
20832 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20833 if (SWIG_arg_fail(5)) SWIG_fail
;
20838 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20839 if (SWIG_arg_fail(6)) SWIG_fail
;
20844 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20845 if (SWIG_arg_fail(7)) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20862 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
= NULL
;
20864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20872 if (SWIG_arg_fail(1)) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 Py_INCREF(Py_None
); resultobj
= Py_None
;
20887 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
= NULL
;
20889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20890 wxDateTime
*result
;
20891 PyObject
* obj0
= 0 ;
20892 char *kwnames
[] = {
20893 (char *) "self", NULL
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20898 if (SWIG_arg_fail(1)) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20903 result
= (wxDateTime
*) &_result_ref
;
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20916 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
= NULL
;
20918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20920 wxDateTime
*result
;
20921 PyObject
* obj0
= 0 ;
20922 PyObject
* obj1
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self",(char *) "timet", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20929 if (SWIG_arg_fail(1)) SWIG_fail
;
20931 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20932 if (SWIG_arg_fail(2)) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20938 result
= (wxDateTime
*) &_result_ref
;
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20951 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
= NULL
;
20953 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20955 wxDateTime
*result
;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self",(char *) "jdn", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail
;
20966 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20967 if (SWIG_arg_fail(2)) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20973 result
= (wxDateTime
*) &_result_ref
;
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20986 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
= NULL
;
20988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20990 int arg3
= (int) 0 ;
20991 int arg4
= (int) 0 ;
20992 int arg5
= (int) 0 ;
20993 wxDateTime
*result
;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 PyObject
* obj2
= 0 ;
20997 PyObject
* obj3
= 0 ;
20998 PyObject
* obj4
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21005 if (SWIG_arg_fail(1)) SWIG_fail
;
21007 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21008 if (SWIG_arg_fail(2)) SWIG_fail
;
21012 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21013 if (SWIG_arg_fail(3)) SWIG_fail
;
21018 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21019 if (SWIG_arg_fail(4)) SWIG_fail
;
21024 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21025 if (SWIG_arg_fail(5)) SWIG_fail
;
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
21032 result
= (wxDateTime
*) &_result_ref
;
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21045 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
= NULL
;
21047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21049 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21050 int arg4
= (int) wxDateTime::Inv_Year
;
21051 int arg5
= (int) 0 ;
21052 int arg6
= (int) 0 ;
21053 int arg7
= (int) 0 ;
21054 int arg8
= (int) 0 ;
21055 wxDateTime
*result
;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 PyObject
* obj2
= 0 ;
21059 PyObject
* obj3
= 0 ;
21060 PyObject
* obj4
= 0 ;
21061 PyObject
* obj5
= 0 ;
21062 PyObject
* obj6
= 0 ;
21063 PyObject
* obj7
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21070 if (SWIG_arg_fail(1)) SWIG_fail
;
21072 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21073 if (SWIG_arg_fail(2)) SWIG_fail
;
21077 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21078 if (SWIG_arg_fail(3)) SWIG_fail
;
21083 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21084 if (SWIG_arg_fail(4)) SWIG_fail
;
21089 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21090 if (SWIG_arg_fail(5)) SWIG_fail
;
21095 arg6
= static_cast<int >(SWIG_As_int(obj5
));
21096 if (SWIG_arg_fail(6)) SWIG_fail
;
21101 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21102 if (SWIG_arg_fail(7)) SWIG_fail
;
21107 arg8
= static_cast<int >(SWIG_As_int(obj7
));
21108 if (SWIG_arg_fail(8)) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
21115 result
= (wxDateTime
*) &_result_ref
;
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21128 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
= NULL
;
21130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21131 wxDateTime
*result
;
21132 PyObject
* obj0
= 0 ;
21133 char *kwnames
[] = {
21134 (char *) "self", NULL
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21139 if (SWIG_arg_fail(1)) SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21144 result
= (wxDateTime
*) &_result_ref
;
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21157 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
= NULL
;
21159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21161 wxDateTime
*result
;
21162 PyObject
* obj0
= 0 ;
21163 PyObject
* obj1
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self",(char *) "year", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21170 if (SWIG_arg_fail(1)) SWIG_fail
;
21172 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21173 if (SWIG_arg_fail(2)) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21179 result
= (wxDateTime
*) &_result_ref
;
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21192 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
= NULL
;
21194 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21195 wxDateTime::Month arg2
;
21196 wxDateTime
*result
;
21197 PyObject
* obj0
= 0 ;
21198 PyObject
* obj1
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self",(char *) "month", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21205 if (SWIG_arg_fail(1)) SWIG_fail
;
21207 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21208 if (SWIG_arg_fail(2)) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21214 result
= (wxDateTime
*) &_result_ref
;
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21227 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
= NULL
;
21229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21231 wxDateTime
*result
;
21232 PyObject
* obj0
= 0 ;
21233 PyObject
* obj1
= 0 ;
21234 char *kwnames
[] = {
21235 (char *) "self",(char *) "day", NULL
21238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21240 if (SWIG_arg_fail(1)) SWIG_fail
;
21242 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21243 if (SWIG_arg_fail(2)) SWIG_fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21249 result
= (wxDateTime
*) &_result_ref
;
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21262 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
= NULL
;
21264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21266 wxDateTime
*result
;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self",(char *) "hour", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21275 if (SWIG_arg_fail(1)) SWIG_fail
;
21277 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21278 if (SWIG_arg_fail(2)) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21284 result
= (wxDateTime
*) &_result_ref
;
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21297 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
= NULL
;
21299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21301 wxDateTime
*result
;
21302 PyObject
* obj0
= 0 ;
21303 PyObject
* obj1
= 0 ;
21304 char *kwnames
[] = {
21305 (char *) "self",(char *) "minute", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21310 if (SWIG_arg_fail(1)) SWIG_fail
;
21312 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21313 if (SWIG_arg_fail(2)) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21319 result
= (wxDateTime
*) &_result_ref
;
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21332 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
= NULL
;
21334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21336 wxDateTime
*result
;
21337 PyObject
* obj0
= 0 ;
21338 PyObject
* obj1
= 0 ;
21339 char *kwnames
[] = {
21340 (char *) "self",(char *) "second", NULL
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21345 if (SWIG_arg_fail(1)) SWIG_fail
;
21347 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21348 if (SWIG_arg_fail(2)) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21354 result
= (wxDateTime
*) &_result_ref
;
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21367 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
= NULL
;
21369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21371 wxDateTime
*result
;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self",(char *) "millisecond", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21380 if (SWIG_arg_fail(1)) SWIG_fail
;
21382 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21383 if (SWIG_arg_fail(2)) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21389 result
= (wxDateTime
*) &_result_ref
;
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21402 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
= NULL
;
21404 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21405 wxDateTime::WeekDay arg2
;
21406 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21407 wxDateTime
*result
;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 PyObject
* obj2
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail
;
21419 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21420 if (SWIG_arg_fail(2)) SWIG_fail
;
21424 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21425 if (SWIG_arg_fail(3)) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21432 result
= (wxDateTime
*) &_result_ref
;
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21445 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
= NULL
;
21447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21448 wxDateTime::WeekDay arg2
;
21449 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 PyObject
* obj2
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21460 if (SWIG_arg_fail(1)) SWIG_fail
;
21462 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21463 if (SWIG_arg_fail(2)) SWIG_fail
;
21467 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21468 if (SWIG_arg_fail(3)) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21479 wxDateTime
* resultptr
;
21480 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21489 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
= NULL
;
21491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21492 wxDateTime::WeekDay arg2
;
21493 wxDateTime
*result
;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self",(char *) "weekday", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21502 if (SWIG_arg_fail(1)) SWIG_fail
;
21504 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21505 if (SWIG_arg_fail(2)) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21511 result
= (wxDateTime
*) &_result_ref
;
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21524 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
= NULL
;
21526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21527 wxDateTime::WeekDay arg2
;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self",(char *) "weekday", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21537 if (SWIG_arg_fail(1)) SWIG_fail
;
21539 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21540 if (SWIG_arg_fail(2)) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (arg1
)->GetNextWeekDay(arg2
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 wxDateTime
* resultptr
;
21551 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21560 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
= NULL
;
21562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21563 wxDateTime::WeekDay arg2
;
21564 wxDateTime
*result
;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 char *kwnames
[] = {
21568 (char *) "self",(char *) "weekday", NULL
21571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21573 if (SWIG_arg_fail(1)) SWIG_fail
;
21575 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21576 if (SWIG_arg_fail(2)) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21582 result
= (wxDateTime
*) &_result_ref
;
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21595 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
= NULL
;
21597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21598 wxDateTime::WeekDay arg2
;
21600 PyObject
* obj0
= 0 ;
21601 PyObject
* obj1
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self",(char *) "weekday", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21608 if (SWIG_arg_fail(1)) SWIG_fail
;
21610 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21611 if (SWIG_arg_fail(2)) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (arg1
)->GetPrevWeekDay(arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 wxDateTime
* resultptr
;
21622 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21631 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
= NULL
;
21633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21634 wxDateTime::WeekDay arg2
;
21635 int arg3
= (int) 1 ;
21636 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21637 int arg5
= (int) wxDateTime::Inv_Year
;
21639 PyObject
* obj0
= 0 ;
21640 PyObject
* obj1
= 0 ;
21641 PyObject
* obj2
= 0 ;
21642 PyObject
* obj3
= 0 ;
21643 PyObject
* obj4
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21650 if (SWIG_arg_fail(1)) SWIG_fail
;
21652 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21653 if (SWIG_arg_fail(2)) SWIG_fail
;
21657 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21658 if (SWIG_arg_fail(3)) SWIG_fail
;
21663 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21664 if (SWIG_arg_fail(4)) SWIG_fail
;
21669 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21670 if (SWIG_arg_fail(5)) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21689 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
= NULL
;
21691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21692 wxDateTime::WeekDay arg2
;
21693 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21694 int arg4
= (int) wxDateTime::Inv_Year
;
21696 PyObject
* obj0
= 0 ;
21697 PyObject
* obj1
= 0 ;
21698 PyObject
* obj2
= 0 ;
21699 PyObject
* obj3
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21706 if (SWIG_arg_fail(1)) SWIG_fail
;
21708 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21709 if (SWIG_arg_fail(2)) SWIG_fail
;
21713 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21714 if (SWIG_arg_fail(3)) SWIG_fail
;
21719 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21720 if (SWIG_arg_fail(4)) SWIG_fail
;
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21739 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
= NULL
;
21741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21742 wxDateTime::WeekDay arg2
;
21743 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21744 int arg4
= (int) wxDateTime::Inv_Year
;
21746 PyObject
* obj0
= 0 ;
21747 PyObject
* obj1
= 0 ;
21748 PyObject
* obj2
= 0 ;
21749 PyObject
* obj3
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21756 if (SWIG_arg_fail(1)) SWIG_fail
;
21758 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21759 if (SWIG_arg_fail(2)) SWIG_fail
;
21763 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21764 if (SWIG_arg_fail(3)) SWIG_fail
;
21769 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21770 if (SWIG_arg_fail(4)) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21781 wxDateTime
* resultptr
;
21782 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21791 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
= NULL
;
21793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21795 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21796 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21798 PyObject
* obj0
= 0 ;
21799 PyObject
* obj1
= 0 ;
21800 PyObject
* obj2
= 0 ;
21801 PyObject
* obj3
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail
;
21810 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21811 if (SWIG_arg_fail(2)) SWIG_fail
;
21815 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21816 if (SWIG_arg_fail(3)) SWIG_fail
;
21821 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21822 if (SWIG_arg_fail(4)) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21841 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
= NULL
;
21843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21845 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21846 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 PyObject
* obj2
= 0 ;
21851 PyObject
* obj3
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21858 if (SWIG_arg_fail(1)) SWIG_fail
;
21860 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21861 if (SWIG_arg_fail(2)) SWIG_fail
;
21865 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21866 if (SWIG_arg_fail(3)) SWIG_fail
;
21871 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21872 if (SWIG_arg_fail(4)) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21883 wxDateTime
* resultptr
;
21884 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21893 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
= NULL
;
21897 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21899 PyObject
* obj0
= 0 ;
21900 PyObject
* obj1
= 0 ;
21901 PyObject
* obj2
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21908 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21909 if (SWIG_arg_fail(1)) SWIG_fail
;
21912 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21913 if (SWIG_arg_fail(2)) SWIG_fail
;
21917 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21918 if (SWIG_arg_fail(3)) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 wxDateTime
* resultptr
;
21930 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21939 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21940 PyObject
*resultobj
= NULL
;
21941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21942 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21943 int arg3
= (int) wxDateTime::Inv_Year
;
21944 wxDateTime
*result
;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 PyObject
* obj2
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "month",(char *) "year", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21957 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21958 if (SWIG_arg_fail(2)) SWIG_fail
;
21963 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21964 if (SWIG_arg_fail(3)) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21971 result
= (wxDateTime
*) &_result_ref
;
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21984 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
= NULL
;
21986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21987 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21988 int arg3
= (int) wxDateTime::Inv_Year
;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 PyObject
* obj2
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self",(char *) "month",(char *) "year", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21999 if (SWIG_arg_fail(1)) SWIG_fail
;
22002 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
22003 if (SWIG_arg_fail(2)) SWIG_fail
;
22008 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22009 if (SWIG_arg_fail(3)) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22020 wxDateTime
* resultptr
;
22021 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22030 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
= NULL
;
22032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22034 wxDateTime
*result
;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "yday", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22043 if (SWIG_arg_fail(1)) SWIG_fail
;
22045 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22046 if (SWIG_arg_fail(2)) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
22052 result
= (wxDateTime
*) &_result_ref
;
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22065 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
= NULL
;
22067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self",(char *) "yday", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22078 if (SWIG_arg_fail(1)) SWIG_fail
;
22080 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22081 if (SWIG_arg_fail(2)) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (arg1
)->GetYearDay(arg2
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22091 wxDateTime
* resultptr
;
22092 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22101 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
= NULL
;
22103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22112 if (SWIG_arg_fail(1)) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (double)(arg1
)->GetJulianDayNumber();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22121 resultobj
= SWIG_From_double(static_cast<double >(result
));
22129 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
= NULL
;
22131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22133 PyObject
* obj0
= 0 ;
22134 char *kwnames
[] = {
22135 (char *) "self", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22140 if (SWIG_arg_fail(1)) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= (double)(arg1
)->GetJDN();
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= SWIG_From_double(static_cast<double >(result
));
22157 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22158 PyObject
*resultobj
= NULL
;
22159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22161 PyObject
* obj0
= 0 ;
22162 char *kwnames
[] = {
22163 (char *) "self", NULL
22166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22168 if (SWIG_arg_fail(1)) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_From_double(static_cast<double >(result
));
22185 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
= NULL
;
22187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22196 if (SWIG_arg_fail(1)) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (double)(arg1
)->GetMJD();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= SWIG_From_double(static_cast<double >(result
));
22213 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
= NULL
;
22215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22224 if (SWIG_arg_fail(1)) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= (double)(arg1
)->GetRataDie();
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_From_double(static_cast<double >(result
));
22241 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
= NULL
;
22243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22244 wxDateTime::TimeZone
*arg2
= 0 ;
22245 bool arg3
= (bool) false ;
22247 bool temp2
= false ;
22248 PyObject
* obj0
= 0 ;
22249 PyObject
* obj1
= 0 ;
22250 PyObject
* obj2
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22257 if (SWIG_arg_fail(1)) SWIG_fail
;
22259 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22264 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22265 if (SWIG_arg_fail(3)) SWIG_fail
;
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22276 wxDateTime
* resultptr
;
22277 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22281 if (temp2
) delete arg2
;
22286 if (temp2
) delete arg2
;
22292 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
= NULL
;
22294 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22295 wxDateTime::TimeZone
*arg2
= 0 ;
22296 bool arg3
= (bool) false ;
22297 wxDateTime
*result
;
22298 bool temp2
= false ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 PyObject
* obj2
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22308 if (SWIG_arg_fail(1)) SWIG_fail
;
22310 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22315 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22316 if (SWIG_arg_fail(3)) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22323 result
= (wxDateTime
*) &_result_ref
;
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22331 if (temp2
) delete arg2
;
22336 if (temp2
) delete arg2
;
22342 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
= NULL
;
22344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22345 wxDateTime::TimeZone
*arg2
= 0 ;
22346 bool arg3
= (bool) false ;
22348 bool temp2
= false ;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 PyObject
* obj2
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22358 if (SWIG_arg_fail(1)) SWIG_fail
;
22360 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22365 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22366 if (SWIG_arg_fail(3)) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22377 wxDateTime
* resultptr
;
22378 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22382 if (temp2
) delete arg2
;
22387 if (temp2
) delete arg2
;
22393 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
= NULL
;
22395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22396 wxDateTime::TimeZone
*arg2
= 0 ;
22397 bool arg3
= (bool) false ;
22398 wxDateTime
*result
;
22399 bool temp2
= false ;
22400 PyObject
* obj0
= 0 ;
22401 PyObject
* obj1
= 0 ;
22402 PyObject
* obj2
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22409 if (SWIG_arg_fail(1)) SWIG_fail
;
22411 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22416 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22417 if (SWIG_arg_fail(3)) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22424 result
= (wxDateTime
*) &_result_ref
;
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22432 if (temp2
) delete arg2
;
22437 if (temp2
) delete arg2
;
22443 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
= NULL
;
22445 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22446 bool arg2
= (bool) false ;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self",(char *) "noDST", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22456 if (SWIG_arg_fail(1)) SWIG_fail
;
22459 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22460 if (SWIG_arg_fail(2)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22471 wxDateTime
* resultptr
;
22472 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22481 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
= NULL
;
22483 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22484 bool arg2
= (bool) false ;
22485 wxDateTime
*result
;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self",(char *) "noDST", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22494 if (SWIG_arg_fail(1)) SWIG_fail
;
22497 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22498 if (SWIG_arg_fail(2)) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22505 result
= (wxDateTime
*) &_result_ref
;
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22518 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
= NULL
;
22520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22521 bool arg2
= (bool) false ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self",(char *) "noDST", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22531 if (SWIG_arg_fail(1)) SWIG_fail
;
22534 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22535 if (SWIG_arg_fail(2)) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22546 wxDateTime
* resultptr
;
22547 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22556 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
= NULL
;
22558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22559 bool arg2
= (bool) false ;
22560 wxDateTime
*result
;
22561 PyObject
* obj0
= 0 ;
22562 PyObject
* obj1
= 0 ;
22563 char *kwnames
[] = {
22564 (char *) "self",(char *) "noDST", NULL
22567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22569 if (SWIG_arg_fail(1)) SWIG_fail
;
22572 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22573 if (SWIG_arg_fail(2)) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22580 result
= (wxDateTime
*) &_result_ref
;
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22593 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
= NULL
;
22595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22596 bool arg2
= (bool) false ;
22598 PyObject
* obj0
= 0 ;
22599 PyObject
* obj1
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self",(char *) "noDST", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22606 if (SWIG_arg_fail(1)) SWIG_fail
;
22609 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22610 if (SWIG_arg_fail(2)) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22621 wxDateTime
* resultptr
;
22622 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22631 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
= NULL
;
22633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22634 bool arg2
= (bool) false ;
22635 wxDateTime
*result
;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self",(char *) "noDST", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail
;
22647 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22648 if (SWIG_arg_fail(2)) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22655 result
= (wxDateTime
*) &_result_ref
;
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22668 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
= NULL
;
22670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22671 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "country", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22681 if (SWIG_arg_fail(1)) SWIG_fail
;
22684 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22685 if (SWIG_arg_fail(2)) SWIG_fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 result
= (int)(arg1
)->IsDST(arg2
);
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22696 resultobj
= SWIG_From_int(static_cast<int >(result
));
22704 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
= NULL
;
22706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22708 PyObject
* obj0
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "self", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22715 if (SWIG_arg_fail(1)) SWIG_fail
;
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22732 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
= NULL
;
22734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22743 if (SWIG_arg_fail(1)) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22760 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
= NULL
;
22762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22763 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22764 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22766 bool temp2
= false ;
22767 PyObject
* obj0
= 0 ;
22768 PyObject
* obj1
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self",(char *) "tz", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22775 if (SWIG_arg_fail(1)) SWIG_fail
;
22778 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= SWIG_From_int(static_cast<int >(result
));
22793 if (temp2
) delete arg2
;
22798 if (temp2
) delete arg2
;
22804 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
= NULL
;
22806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22807 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22808 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22809 wxDateTime::Month result
;
22810 bool temp2
= false ;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "self",(char *) "tz", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22819 if (SWIG_arg_fail(1)) SWIG_fail
;
22822 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_From_int((result
));
22835 if (temp2
) delete arg2
;
22840 if (temp2
) delete arg2
;
22846 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
= NULL
;
22848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22849 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22850 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22852 bool temp2
= false ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self",(char *) "tz", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22861 if (SWIG_arg_fail(1)) SWIG_fail
;
22864 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= SWIG_From_int(static_cast<int >(result
));
22879 if (temp2
) delete arg2
;
22884 if (temp2
) delete arg2
;
22890 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
= NULL
;
22892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22893 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22894 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22895 wxDateTime::WeekDay result
;
22896 bool temp2
= false ;
22897 PyObject
* obj0
= 0 ;
22898 PyObject
* obj1
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self",(char *) "tz", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22905 if (SWIG_arg_fail(1)) SWIG_fail
;
22908 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 resultobj
= SWIG_From_int((result
));
22921 if (temp2
) delete arg2
;
22926 if (temp2
) delete arg2
;
22932 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
= NULL
;
22934 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22935 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22936 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22938 bool temp2
= false ;
22939 PyObject
* obj0
= 0 ;
22940 PyObject
* obj1
= 0 ;
22941 char *kwnames
[] = {
22942 (char *) "self",(char *) "tz", NULL
22945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22947 if (SWIG_arg_fail(1)) SWIG_fail
;
22950 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_From_int(static_cast<int >(result
));
22965 if (temp2
) delete arg2
;
22970 if (temp2
) delete arg2
;
22976 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
= NULL
;
22978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22979 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22980 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22982 bool temp2
= false ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "tz", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22991 if (SWIG_arg_fail(1)) SWIG_fail
;
22994 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= SWIG_From_int(static_cast<int >(result
));
23009 if (temp2
) delete arg2
;
23014 if (temp2
) delete arg2
;
23020 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
= NULL
;
23022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23023 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23024 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23026 bool temp2
= false ;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 char *kwnames
[] = {
23030 (char *) "self",(char *) "tz", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23035 if (SWIG_arg_fail(1)) SWIG_fail
;
23038 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_From_int(static_cast<int >(result
));
23053 if (temp2
) delete arg2
;
23058 if (temp2
) delete arg2
;
23064 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
= NULL
;
23066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23067 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23068 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23070 bool temp2
= false ;
23071 PyObject
* obj0
= 0 ;
23072 PyObject
* obj1
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self",(char *) "tz", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23079 if (SWIG_arg_fail(1)) SWIG_fail
;
23082 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= SWIG_From_int(static_cast<int >(result
));
23097 if (temp2
) delete arg2
;
23102 if (temp2
) delete arg2
;
23108 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
= NULL
;
23110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23111 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23112 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23114 bool temp2
= false ;
23115 PyObject
* obj0
= 0 ;
23116 PyObject
* obj1
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "self",(char *) "tz", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23123 if (SWIG_arg_fail(1)) SWIG_fail
;
23126 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_From_int(static_cast<int >(result
));
23141 if (temp2
) delete arg2
;
23146 if (temp2
) delete arg2
;
23152 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
= NULL
;
23154 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23155 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23156 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23157 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23159 bool temp3
= false ;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 PyObject
* obj2
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self",(char *) "flags",(char *) "tz", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23169 if (SWIG_arg_fail(1)) SWIG_fail
;
23172 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23173 if (SWIG_arg_fail(2)) SWIG_fail
;
23178 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_From_int(static_cast<int >(result
));
23193 if (temp3
) delete arg3
;
23198 if (temp3
) delete arg3
;
23204 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
= NULL
;
23206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23207 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23208 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23209 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23211 bool temp3
= false ;
23212 PyObject
* obj0
= 0 ;
23213 PyObject
* obj1
= 0 ;
23214 PyObject
* obj2
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "self",(char *) "flags",(char *) "tz", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23221 if (SWIG_arg_fail(1)) SWIG_fail
;
23224 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23225 if (SWIG_arg_fail(2)) SWIG_fail
;
23230 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_From_int(static_cast<int >(result
));
23245 if (temp3
) delete arg3
;
23250 if (temp3
) delete arg3
;
23256 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
= NULL
;
23258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23259 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23261 PyObject
* obj0
= 0 ;
23262 PyObject
* obj1
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self",(char *) "country", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23269 if (SWIG_arg_fail(1)) SWIG_fail
;
23272 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23273 if (SWIG_arg_fail(2)) SWIG_fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23292 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
= NULL
;
23294 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23295 wxDateTime
*arg2
= 0 ;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 char *kwnames
[] = {
23300 (char *) "self",(char *) "datetime", NULL
23303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23305 if (SWIG_arg_fail(1)) SWIG_fail
;
23307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23308 if (SWIG_arg_fail(2)) SWIG_fail
;
23309 if (arg2
== NULL
) {
23310 SWIG_null_ref("wxDateTime");
23312 if (SWIG_arg_fail(2)) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23330 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
= NULL
;
23332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23333 wxDateTime
*arg2
= 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "datetime", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23343 if (SWIG_arg_fail(1)) SWIG_fail
;
23345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23346 if (SWIG_arg_fail(2)) SWIG_fail
;
23347 if (arg2
== NULL
) {
23348 SWIG_null_ref("wxDateTime");
23350 if (SWIG_arg_fail(2)) SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23368 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
= NULL
;
23370 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23371 wxDateTime
*arg2
= 0 ;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self",(char *) "datetime", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23381 if (SWIG_arg_fail(1)) SWIG_fail
;
23383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23384 if (SWIG_arg_fail(2)) SWIG_fail
;
23385 if (arg2
== NULL
) {
23386 SWIG_null_ref("wxDateTime");
23388 if (SWIG_arg_fail(2)) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23406 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
= NULL
;
23408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23409 wxDateTime
*arg2
= 0 ;
23410 wxDateTime
*arg3
= 0 ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 PyObject
* obj2
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self",(char *) "t1",(char *) "t2", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23421 if (SWIG_arg_fail(1)) SWIG_fail
;
23423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23424 if (SWIG_arg_fail(2)) SWIG_fail
;
23425 if (arg2
== NULL
) {
23426 SWIG_null_ref("wxDateTime");
23428 if (SWIG_arg_fail(2)) SWIG_fail
;
23431 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23432 if (SWIG_arg_fail(3)) SWIG_fail
;
23433 if (arg3
== NULL
) {
23434 SWIG_null_ref("wxDateTime");
23436 if (SWIG_arg_fail(3)) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23454 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
= NULL
;
23456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23457 wxDateTime
*arg2
= 0 ;
23458 wxDateTime
*arg3
= 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 PyObject
* obj2
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "t1",(char *) "t2", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail
;
23471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23472 if (SWIG_arg_fail(2)) SWIG_fail
;
23473 if (arg2
== NULL
) {
23474 SWIG_null_ref("wxDateTime");
23476 if (SWIG_arg_fail(2)) SWIG_fail
;
23479 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23480 if (SWIG_arg_fail(3)) SWIG_fail
;
23481 if (arg3
== NULL
) {
23482 SWIG_null_ref("wxDateTime");
23484 if (SWIG_arg_fail(3)) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23502 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
= NULL
;
23504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23505 wxDateTime
*arg2
= 0 ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "dt", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23515 if (SWIG_arg_fail(1)) SWIG_fail
;
23517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(2)) SWIG_fail
;
23519 if (arg2
== NULL
) {
23520 SWIG_null_ref("wxDateTime");
23522 if (SWIG_arg_fail(2)) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23540 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
= NULL
;
23542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23543 wxDateTime
*arg2
= 0 ;
23545 PyObject
* obj0
= 0 ;
23546 PyObject
* obj1
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self",(char *) "dt", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23553 if (SWIG_arg_fail(1)) SWIG_fail
;
23555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23556 if (SWIG_arg_fail(2)) SWIG_fail
;
23557 if (arg2
== NULL
) {
23558 SWIG_null_ref("wxDateTime");
23560 if (SWIG_arg_fail(2)) SWIG_fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23578 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
= NULL
;
23580 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23581 wxDateTime
*arg2
= 0 ;
23582 wxTimeSpan
*arg3
= 0 ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 PyObject
* obj2
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "self",(char *) "dt",(char *) "ts", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23593 if (SWIG_arg_fail(1)) SWIG_fail
;
23595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23596 if (SWIG_arg_fail(2)) SWIG_fail
;
23597 if (arg2
== NULL
) {
23598 SWIG_null_ref("wxDateTime");
23600 if (SWIG_arg_fail(2)) SWIG_fail
;
23603 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23604 if (SWIG_arg_fail(3)) SWIG_fail
;
23605 if (arg3
== NULL
) {
23606 SWIG_null_ref("wxTimeSpan");
23608 if (SWIG_arg_fail(3)) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23626 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
= NULL
;
23628 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23629 wxTimeSpan
*arg2
= 0 ;
23630 wxDateTime
*result
;
23631 PyObject
* obj0
= 0 ;
23632 PyObject
* obj1
= 0 ;
23633 char *kwnames
[] = {
23634 (char *) "self",(char *) "diff", NULL
23637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23639 if (SWIG_arg_fail(1)) SWIG_fail
;
23641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23642 if (SWIG_arg_fail(2)) SWIG_fail
;
23643 if (arg2
== NULL
) {
23644 SWIG_null_ref("wxTimeSpan");
23646 if (SWIG_arg_fail(2)) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23652 result
= (wxDateTime
*) &_result_ref
;
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23665 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23666 PyObject
*resultobj
= NULL
;
23667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23668 wxDateSpan
*arg2
= 0 ;
23669 wxDateTime
*result
;
23670 PyObject
* obj0
= 0 ;
23671 PyObject
* obj1
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self",(char *) "diff", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23678 if (SWIG_arg_fail(1)) SWIG_fail
;
23680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23681 if (SWIG_arg_fail(2)) SWIG_fail
;
23682 if (arg2
== NULL
) {
23683 SWIG_null_ref("wxDateSpan");
23685 if (SWIG_arg_fail(2)) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23691 result
= (wxDateTime
*) &_result_ref
;
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23704 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
= NULL
;
23706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23707 wxTimeSpan
*arg2
= 0 ;
23708 wxDateTime
*result
;
23709 PyObject
* obj0
= 0 ;
23710 PyObject
* obj1
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self",(char *) "diff", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23717 if (SWIG_arg_fail(1)) SWIG_fail
;
23719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23720 if (SWIG_arg_fail(2)) SWIG_fail
;
23721 if (arg2
== NULL
) {
23722 SWIG_null_ref("wxTimeSpan");
23724 if (SWIG_arg_fail(2)) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23730 result
= (wxDateTime
*) &_result_ref
;
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23743 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
= NULL
;
23745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23746 wxDateSpan
*arg2
= 0 ;
23747 wxDateTime
*result
;
23748 PyObject
* obj0
= 0 ;
23749 PyObject
* obj1
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self",(char *) "diff", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23756 if (SWIG_arg_fail(1)) SWIG_fail
;
23758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23759 if (SWIG_arg_fail(2)) SWIG_fail
;
23760 if (arg2
== NULL
) {
23761 SWIG_null_ref("wxDateSpan");
23763 if (SWIG_arg_fail(2)) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23769 result
= (wxDateTime
*) &_result_ref
;
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23782 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
= NULL
;
23784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23785 wxDateTime
*arg2
= 0 ;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "dt", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23795 if (SWIG_arg_fail(1)) SWIG_fail
;
23797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23798 if (SWIG_arg_fail(2)) SWIG_fail
;
23799 if (arg2
== NULL
) {
23800 SWIG_null_ref("wxDateTime");
23802 if (SWIG_arg_fail(2)) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23812 wxTimeSpan
* resultptr
;
23813 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23822 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23823 PyObject
*resultobj
= NULL
;
23824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23825 wxTimeSpan
*arg2
= 0 ;
23826 wxDateTime
*result
;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23830 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23832 if (SWIG_arg_fail(1)) SWIG_fail
;
23834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23835 if (SWIG_arg_fail(2)) SWIG_fail
;
23836 if (arg2
== NULL
) {
23837 SWIG_null_ref("wxTimeSpan");
23839 if (SWIG_arg_fail(2)) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23845 result
= (wxDateTime
*) &_result_ref
;
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23858 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23859 PyObject
*resultobj
= NULL
;
23860 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23861 wxDateSpan
*arg2
= 0 ;
23862 wxDateTime
*result
;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23866 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23868 if (SWIG_arg_fail(1)) SWIG_fail
;
23870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23871 if (SWIG_arg_fail(2)) SWIG_fail
;
23872 if (arg2
== NULL
) {
23873 SWIG_null_ref("wxDateSpan");
23875 if (SWIG_arg_fail(2)) SWIG_fail
;
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23881 result
= (wxDateTime
*) &_result_ref
;
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23894 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23899 argc
= PyObject_Length(args
);
23900 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23901 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23907 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23917 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23925 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23933 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23943 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23951 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23956 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23961 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23962 PyObject
*resultobj
= NULL
;
23963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23964 wxTimeSpan
*arg2
= 0 ;
23965 wxDateTime
*result
;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23969 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23971 if (SWIG_arg_fail(1)) SWIG_fail
;
23973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23974 if (SWIG_arg_fail(2)) SWIG_fail
;
23975 if (arg2
== NULL
) {
23976 SWIG_null_ref("wxTimeSpan");
23978 if (SWIG_arg_fail(2)) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23984 result
= (wxDateTime
*) &_result_ref
;
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23997 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23998 PyObject
*resultobj
= NULL
;
23999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24000 wxDateSpan
*arg2
= 0 ;
24001 wxDateTime
*result
;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24005 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
24006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24007 if (SWIG_arg_fail(1)) SWIG_fail
;
24009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24010 if (SWIG_arg_fail(2)) SWIG_fail
;
24011 if (arg2
== NULL
) {
24012 SWIG_null_ref("wxDateSpan");
24014 if (SWIG_arg_fail(2)) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24020 result
= (wxDateTime
*) &_result_ref
;
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
24033 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
24038 argc
= PyObject_Length(args
);
24039 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24040 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24046 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24056 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24064 return _wrap_DateTime___isub____SWIG_0(self
,args
);
24072 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24082 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24090 return _wrap_DateTime___isub____SWIG_1(self
,args
);
24095 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
24100 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
24101 PyObject
*resultobj
= NULL
;
24102 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24103 wxTimeSpan
*arg2
= 0 ;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24108 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24110 if (SWIG_arg_fail(1)) SWIG_fail
;
24112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24113 if (SWIG_arg_fail(2)) SWIG_fail
;
24114 if (arg2
== NULL
) {
24115 SWIG_null_ref("wxTimeSpan");
24117 if (SWIG_arg_fail(2)) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 wxDateTime
* resultptr
;
24128 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24137 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24138 PyObject
*resultobj
= NULL
;
24139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24140 wxDateSpan
*arg2
= 0 ;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24145 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24147 if (SWIG_arg_fail(1)) SWIG_fail
;
24149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24150 if (SWIG_arg_fail(2)) SWIG_fail
;
24151 if (arg2
== NULL
) {
24152 SWIG_null_ref("wxDateSpan");
24154 if (SWIG_arg_fail(2)) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24164 wxDateTime
* resultptr
;
24165 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24174 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24179 argc
= PyObject_Length(args
);
24180 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24181 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24187 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24197 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24205 return _wrap_DateTime___add____SWIG_0(self
,args
);
24213 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24223 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24231 return _wrap_DateTime___add____SWIG_1(self
,args
);
24236 Py_INCREF(Py_NotImplemented
);
24237 return Py_NotImplemented
;
24241 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24242 PyObject
*resultobj
= NULL
;
24243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24244 wxDateTime
*arg2
= 0 ;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24249 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24251 if (SWIG_arg_fail(1)) SWIG_fail
;
24253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24254 if (SWIG_arg_fail(2)) SWIG_fail
;
24255 if (arg2
== NULL
) {
24256 SWIG_null_ref("wxDateTime");
24258 if (SWIG_arg_fail(2)) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 wxTimeSpan
* resultptr
;
24269 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24278 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24279 PyObject
*resultobj
= NULL
;
24280 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24281 wxTimeSpan
*arg2
= 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24286 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24288 if (SWIG_arg_fail(1)) SWIG_fail
;
24290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24291 if (SWIG_arg_fail(2)) SWIG_fail
;
24292 if (arg2
== NULL
) {
24293 SWIG_null_ref("wxTimeSpan");
24295 if (SWIG_arg_fail(2)) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24305 wxDateTime
* resultptr
;
24306 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24315 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24316 PyObject
*resultobj
= NULL
;
24317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24318 wxDateSpan
*arg2
= 0 ;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24323 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24325 if (SWIG_arg_fail(1)) SWIG_fail
;
24327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24328 if (SWIG_arg_fail(2)) SWIG_fail
;
24329 if (arg2
== NULL
) {
24330 SWIG_null_ref("wxDateSpan");
24332 if (SWIG_arg_fail(2)) SWIG_fail
;
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24342 wxDateTime
* resultptr
;
24343 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24352 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24357 argc
= PyObject_Length(args
);
24358 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24359 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24365 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24375 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24383 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24391 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24401 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24409 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24417 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24427 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24435 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24440 Py_INCREF(Py_NotImplemented
);
24441 return Py_NotImplemented
;
24445 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
= NULL
;
24447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24448 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self",(char *) "other", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24458 if (SWIG_arg_fail(1)) SWIG_fail
;
24459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24460 if (SWIG_arg_fail(2)) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24477 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
= NULL
;
24479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24480 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24482 PyObject
* obj0
= 0 ;
24483 PyObject
* obj1
= 0 ;
24484 char *kwnames
[] = {
24485 (char *) "self",(char *) "other", NULL
24488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24490 if (SWIG_arg_fail(1)) SWIG_fail
;
24491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24492 if (SWIG_arg_fail(2)) SWIG_fail
;
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24509 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= NULL
;
24511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24512 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self",(char *) "other", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24522 if (SWIG_arg_fail(1)) SWIG_fail
;
24523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24524 if (SWIG_arg_fail(2)) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24541 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
= NULL
;
24543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24544 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "other", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24554 if (SWIG_arg_fail(1)) SWIG_fail
;
24555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24556 if (SWIG_arg_fail(2)) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24573 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
= NULL
;
24575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24576 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self",(char *) "other", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24586 if (SWIG_arg_fail(1)) SWIG_fail
;
24587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(2)) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24605 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
= NULL
;
24607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24608 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self",(char *) "other", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24618 if (SWIG_arg_fail(1)) SWIG_fail
;
24619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24620 if (SWIG_arg_fail(2)) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24637 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
= NULL
;
24639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24640 wxString
*arg2
= 0 ;
24642 bool temp2
= false ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "self",(char *) "date", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24651 if (SWIG_arg_fail(1)) SWIG_fail
;
24653 arg2
= wxString_in_helper(obj1
);
24654 if (arg2
== NULL
) SWIG_fail
;
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= SWIG_From_int(static_cast<int >(result
));
24681 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
= NULL
;
24683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24684 wxString
*arg2
= 0 ;
24685 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24686 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24687 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24688 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24690 bool temp2
= false ;
24691 bool temp3
= false ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 PyObject
* obj2
= 0 ;
24695 PyObject
* obj3
= 0 ;
24696 char *kwnames
[] = {
24697 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24702 if (SWIG_arg_fail(1)) SWIG_fail
;
24704 arg2
= wxString_in_helper(obj1
);
24705 if (arg2
== NULL
) SWIG_fail
;
24710 arg3
= wxString_in_helper(obj2
);
24711 if (arg3
== NULL
) SWIG_fail
;
24717 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24718 if (SWIG_arg_fail(4)) SWIG_fail
;
24719 if (arg4
== NULL
) {
24720 SWIG_null_ref("wxDateTime");
24722 if (SWIG_arg_fail(4)) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= SWIG_From_int(static_cast<int >(result
));
24757 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
= NULL
;
24759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24760 wxString
*arg2
= 0 ;
24762 bool temp2
= false ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "datetime", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24771 if (SWIG_arg_fail(1)) SWIG_fail
;
24773 arg2
= wxString_in_helper(obj1
);
24774 if (arg2
== NULL
) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= SWIG_From_int(static_cast<int >(result
));
24801 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
= NULL
;
24803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24804 wxString
*arg2
= 0 ;
24806 bool temp2
= false ;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self",(char *) "date", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24815 if (SWIG_arg_fail(1)) SWIG_fail
;
24817 arg2
= wxString_in_helper(obj1
);
24818 if (arg2
== NULL
) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= SWIG_From_int(static_cast<int >(result
));
24845 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
= NULL
;
24847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24848 wxString
*arg2
= 0 ;
24850 bool temp2
= false ;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self",(char *) "time", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24859 if (SWIG_arg_fail(1)) SWIG_fail
;
24861 arg2
= wxString_in_helper(obj1
);
24862 if (arg2
== NULL
) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_From_int(static_cast<int >(result
));
24889 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
= NULL
;
24891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24892 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24893 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24894 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24895 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24897 bool temp2
= false ;
24898 bool temp3
= false ;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 PyObject
* obj2
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self",(char *) "format",(char *) "tz", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail
;
24911 arg2
= wxString_in_helper(obj1
);
24912 if (arg2
== NULL
) SWIG_fail
;
24918 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24941 if (temp3
) delete arg3
;
24950 if (temp3
) delete arg3
;
24956 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
= NULL
;
24958 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24967 if (SWIG_arg_fail(1)) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24988 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
= NULL
;
24990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 char *kwnames
[] = {
24994 (char *) "self", NULL
24997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24999 if (SWIG_arg_fail(1)) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= ((wxDateTime
const *)arg1
)->FormatTime();
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25020 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
= NULL
;
25022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25024 PyObject
* obj0
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
25030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25031 if (SWIG_arg_fail(1)) SWIG_fail
;
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25052 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
= NULL
;
25054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25056 PyObject
* obj0
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
25062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25063 if (SWIG_arg_fail(1)) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25084 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
25086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25087 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
25089 return Py_BuildValue((char *)"");
25091 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
= NULL
;
25095 PyObject
* obj0
= 0 ;
25096 char *kwnames
[] = {
25097 (char *) "sec", NULL
25100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
25102 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25103 if (SWIG_arg_fail(1)) SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= wxTimeSpan::Seconds(arg1
);
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25113 wxTimeSpan
* resultptr
;
25114 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25123 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
= NULL
;
25126 char *kwnames
[] = {
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= wxTimeSpan::Second();
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25139 wxTimeSpan
* resultptr
;
25140 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25149 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
= NULL
;
25153 PyObject
* obj0
= 0 ;
25154 char *kwnames
[] = {
25155 (char *) "min", NULL
25158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
25160 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25161 if (SWIG_arg_fail(1)) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= wxTimeSpan::Minutes(arg1
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25171 wxTimeSpan
* resultptr
;
25172 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25181 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
= NULL
;
25184 char *kwnames
[] = {
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= wxTimeSpan::Minute();
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25197 wxTimeSpan
* resultptr
;
25198 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25207 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
= NULL
;
25211 PyObject
* obj0
= 0 ;
25212 char *kwnames
[] = {
25213 (char *) "hours", NULL
25216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
25218 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25219 if (SWIG_arg_fail(1)) SWIG_fail
;
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 result
= wxTimeSpan::Hours(arg1
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25229 wxTimeSpan
* resultptr
;
25230 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25239 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
= NULL
;
25242 char *kwnames
[] = {
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= wxTimeSpan::Hour();
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25255 wxTimeSpan
* resultptr
;
25256 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25265 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
= NULL
;
25269 PyObject
* obj0
= 0 ;
25270 char *kwnames
[] = {
25271 (char *) "days", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
25276 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25277 if (SWIG_arg_fail(1)) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= wxTimeSpan::Days(arg1
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25287 wxTimeSpan
* resultptr
;
25288 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25297 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
= NULL
;
25300 char *kwnames
[] = {
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 result
= wxTimeSpan::Day();
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25313 wxTimeSpan
* resultptr
;
25314 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25323 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
= NULL
;
25327 PyObject
* obj0
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "days", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25334 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25335 if (SWIG_arg_fail(1)) SWIG_fail
;
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= wxTimeSpan::Weeks(arg1
);
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25345 wxTimeSpan
* resultptr
;
25346 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25355 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
= NULL
;
25358 char *kwnames
[] = {
25362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= wxTimeSpan::Week();
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25371 wxTimeSpan
* resultptr
;
25372 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25381 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
= NULL
;
25383 long arg1
= (long) 0 ;
25384 long arg2
= (long) 0 ;
25385 long arg3
= (long) 0 ;
25386 long arg4
= (long) 0 ;
25387 wxTimeSpan
*result
;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 PyObject
* obj2
= 0 ;
25391 PyObject
* obj3
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25399 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25400 if (SWIG_arg_fail(1)) SWIG_fail
;
25405 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25406 if (SWIG_arg_fail(2)) SWIG_fail
;
25411 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25412 if (SWIG_arg_fail(3)) SWIG_fail
;
25417 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25418 if (SWIG_arg_fail(4)) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25435 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
= NULL
;
25437 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25438 PyObject
* obj0
= 0 ;
25439 char *kwnames
[] = {
25440 (char *) "self", NULL
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25445 if (SWIG_arg_fail(1)) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 Py_INCREF(Py_None
); resultobj
= Py_None
;
25460 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
= NULL
;
25462 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25463 wxTimeSpan
*arg2
= 0 ;
25464 wxTimeSpan
*result
;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "diff", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25473 if (SWIG_arg_fail(1)) SWIG_fail
;
25475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25476 if (SWIG_arg_fail(2)) SWIG_fail
;
25477 if (arg2
== NULL
) {
25478 SWIG_null_ref("wxTimeSpan");
25480 if (SWIG_arg_fail(2)) SWIG_fail
;
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25486 result
= (wxTimeSpan
*) &_result_ref
;
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25499 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
= NULL
;
25501 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25502 wxTimeSpan
*arg2
= 0 ;
25503 wxTimeSpan
*result
;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self",(char *) "diff", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25512 if (SWIG_arg_fail(1)) SWIG_fail
;
25514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25515 if (SWIG_arg_fail(2)) SWIG_fail
;
25516 if (arg2
== NULL
) {
25517 SWIG_null_ref("wxTimeSpan");
25519 if (SWIG_arg_fail(2)) SWIG_fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25525 result
= (wxTimeSpan
*) &_result_ref
;
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25538 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
= NULL
;
25540 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25542 wxTimeSpan
*result
;
25543 PyObject
* obj0
= 0 ;
25544 PyObject
* obj1
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self",(char *) "n", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25551 if (SWIG_arg_fail(1)) SWIG_fail
;
25553 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25554 if (SWIG_arg_fail(2)) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25560 result
= (wxTimeSpan
*) &_result_ref
;
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25573 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
= NULL
;
25575 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25576 wxTimeSpan
*result
;
25577 PyObject
* obj0
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25584 if (SWIG_arg_fail(1)) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25589 result
= (wxTimeSpan
*) &_result_ref
;
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25602 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
= NULL
;
25604 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25606 PyObject
* obj0
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "self", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25613 if (SWIG_arg_fail(1)) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25622 wxTimeSpan
* resultptr
;
25623 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25632 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
= NULL
;
25634 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25635 wxTimeSpan
*arg2
= 0 ;
25636 wxTimeSpan
*result
;
25637 PyObject
* obj0
= 0 ;
25638 PyObject
* obj1
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self",(char *) "diff", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25645 if (SWIG_arg_fail(1)) SWIG_fail
;
25647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25648 if (SWIG_arg_fail(2)) SWIG_fail
;
25649 if (arg2
== NULL
) {
25650 SWIG_null_ref("wxTimeSpan");
25652 if (SWIG_arg_fail(2)) SWIG_fail
;
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25658 result
= (wxTimeSpan
*) &_result_ref
;
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25671 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
= NULL
;
25673 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25674 wxTimeSpan
*arg2
= 0 ;
25675 wxTimeSpan
*result
;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self",(char *) "diff", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25684 if (SWIG_arg_fail(1)) SWIG_fail
;
25686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25687 if (SWIG_arg_fail(2)) SWIG_fail
;
25688 if (arg2
== NULL
) {
25689 SWIG_null_ref("wxTimeSpan");
25691 if (SWIG_arg_fail(2)) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25697 result
= (wxTimeSpan
*) &_result_ref
;
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25710 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
= NULL
;
25712 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25714 wxTimeSpan
*result
;
25715 PyObject
* obj0
= 0 ;
25716 PyObject
* obj1
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "n", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25723 if (SWIG_arg_fail(1)) SWIG_fail
;
25725 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25726 if (SWIG_arg_fail(2)) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25732 result
= (wxTimeSpan
*) &_result_ref
;
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25745 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
= NULL
;
25747 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25748 wxTimeSpan
*result
;
25749 PyObject
* obj0
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25756 if (SWIG_arg_fail(1)) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25761 result
= (wxTimeSpan
*) &_result_ref
;
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25774 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
= NULL
;
25776 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25777 wxTimeSpan
*arg2
= 0 ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "other", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail
;
25789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25790 if (SWIG_arg_fail(2)) SWIG_fail
;
25791 if (arg2
== NULL
) {
25792 SWIG_null_ref("wxTimeSpan");
25794 if (SWIG_arg_fail(2)) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25804 wxTimeSpan
* resultptr
;
25805 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25814 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
= NULL
;
25816 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25817 wxTimeSpan
*arg2
= 0 ;
25819 PyObject
* obj0
= 0 ;
25820 PyObject
* obj1
= 0 ;
25821 char *kwnames
[] = {
25822 (char *) "self",(char *) "other", NULL
25825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25827 if (SWIG_arg_fail(1)) SWIG_fail
;
25829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25830 if (SWIG_arg_fail(2)) SWIG_fail
;
25831 if (arg2
== NULL
) {
25832 SWIG_null_ref("wxTimeSpan");
25834 if (SWIG_arg_fail(2)) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25844 wxTimeSpan
* resultptr
;
25845 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25854 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
= NULL
;
25856 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "n", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25867 if (SWIG_arg_fail(1)) SWIG_fail
;
25869 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25870 if (SWIG_arg_fail(2)) SWIG_fail
;
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 result
= wxTimeSpan___mul__(arg1
,arg2
);
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25880 wxTimeSpan
* resultptr
;
25881 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25890 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25891 PyObject
*resultobj
= NULL
;
25892 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25895 PyObject
* obj0
= 0 ;
25896 PyObject
* obj1
= 0 ;
25897 char *kwnames
[] = {
25898 (char *) "self",(char *) "n", NULL
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25903 if (SWIG_arg_fail(1)) SWIG_fail
;
25905 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25906 if (SWIG_arg_fail(2)) SWIG_fail
;
25909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25910 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25916 wxTimeSpan
* resultptr
;
25917 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25926 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
= NULL
;
25928 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25929 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self",(char *) "other", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25939 if (SWIG_arg_fail(1)) SWIG_fail
;
25940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25941 if (SWIG_arg_fail(2)) SWIG_fail
;
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25958 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
= NULL
;
25960 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25961 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25963 PyObject
* obj0
= 0 ;
25964 PyObject
* obj1
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self",(char *) "other", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25971 if (SWIG_arg_fail(1)) SWIG_fail
;
25972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25973 if (SWIG_arg_fail(2)) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25990 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
= NULL
;
25992 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25993 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25995 PyObject
* obj0
= 0 ;
25996 PyObject
* obj1
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "other", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
26002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail
;
26004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26005 if (SWIG_arg_fail(2)) SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26022 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
= NULL
;
26024 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26025 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self",(char *) "other", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
26034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26035 if (SWIG_arg_fail(1)) SWIG_fail
;
26036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26037 if (SWIG_arg_fail(2)) SWIG_fail
;
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26054 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26055 PyObject
*resultobj
= NULL
;
26056 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26057 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26059 PyObject
* obj0
= 0 ;
26060 PyObject
* obj1
= 0 ;
26061 char *kwnames
[] = {
26062 (char *) "self",(char *) "other", NULL
26065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26067 if (SWIG_arg_fail(1)) SWIG_fail
;
26068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26069 if (SWIG_arg_fail(2)) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26086 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
= NULL
;
26088 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26089 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26091 PyObject
* obj0
= 0 ;
26092 PyObject
* obj1
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self",(char *) "other", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26099 if (SWIG_arg_fail(1)) SWIG_fail
;
26100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26101 if (SWIG_arg_fail(2)) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26118 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26119 PyObject
*resultobj
= NULL
;
26120 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26122 PyObject
* obj0
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26129 if (SWIG_arg_fail(1)) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26146 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
= NULL
;
26148 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26150 PyObject
* obj0
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
26156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26157 if (SWIG_arg_fail(1)) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26174 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
= NULL
;
26176 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26178 PyObject
* obj0
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26185 if (SWIG_arg_fail(1)) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26202 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
= NULL
;
26204 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26205 wxTimeSpan
*arg2
= 0 ;
26207 PyObject
* obj0
= 0 ;
26208 PyObject
* obj1
= 0 ;
26209 char *kwnames
[] = {
26210 (char *) "self",(char *) "ts", NULL
26213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26215 if (SWIG_arg_fail(1)) SWIG_fail
;
26217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26218 if (SWIG_arg_fail(2)) SWIG_fail
;
26219 if (arg2
== NULL
) {
26220 SWIG_null_ref("wxTimeSpan");
26222 if (SWIG_arg_fail(2)) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26240 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
= NULL
;
26242 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26243 wxTimeSpan
*arg2
= 0 ;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self",(char *) "ts", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26253 if (SWIG_arg_fail(1)) SWIG_fail
;
26255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26256 if (SWIG_arg_fail(2)) SWIG_fail
;
26257 if (arg2
== NULL
) {
26258 SWIG_null_ref("wxTimeSpan");
26260 if (SWIG_arg_fail(2)) SWIG_fail
;
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26278 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
= NULL
;
26280 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26281 wxTimeSpan
*arg2
= 0 ;
26283 PyObject
* obj0
= 0 ;
26284 PyObject
* obj1
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self",(char *) "t", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26291 if (SWIG_arg_fail(1)) SWIG_fail
;
26293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26294 if (SWIG_arg_fail(2)) SWIG_fail
;
26295 if (arg2
== NULL
) {
26296 SWIG_null_ref("wxTimeSpan");
26298 if (SWIG_arg_fail(2)) SWIG_fail
;
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26316 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
= NULL
;
26318 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26327 if (SWIG_arg_fail(1)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_From_int(static_cast<int >(result
));
26344 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
= NULL
;
26346 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26355 if (SWIG_arg_fail(1)) SWIG_fail
;
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_From_int(static_cast<int >(result
));
26372 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
= NULL
;
26374 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26376 PyObject
* obj0
= 0 ;
26377 char *kwnames
[] = {
26378 (char *) "self", NULL
26381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26383 if (SWIG_arg_fail(1)) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= SWIG_From_int(static_cast<int >(result
));
26400 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
= NULL
;
26402 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26404 PyObject
* obj0
= 0 ;
26405 char *kwnames
[] = {
26406 (char *) "self", NULL
26409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26411 if (SWIG_arg_fail(1)) SWIG_fail
;
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= SWIG_From_int(static_cast<int >(result
));
26428 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
= NULL
;
26430 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26432 PyObject
* obj0
= 0 ;
26433 char *kwnames
[] = {
26434 (char *) "self", NULL
26437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26439 if (SWIG_arg_fail(1)) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26448 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26449 hi
= PyLong_FromLong( (&result
)->GetHi() );
26450 lo
= PyLong_FromLong( (&result
)->GetLo() );
26451 shifter
= PyLong_FromLong(32);
26452 shifted
= PyNumber_Lshift(hi
, shifter
);
26453 resultobj
= PyNumber_Or(shifted
, lo
);
26456 Py_DECREF(shifter
);
26457 Py_DECREF(shifted
);
26465 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
= NULL
;
26467 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26469 PyObject
* obj0
= 0 ;
26470 char *kwnames
[] = {
26471 (char *) "self", NULL
26474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26476 if (SWIG_arg_fail(1)) SWIG_fail
;
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26485 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26486 hi
= PyLong_FromLong( (&result
)->GetHi() );
26487 lo
= PyLong_FromLong( (&result
)->GetLo() );
26488 shifter
= PyLong_FromLong(32);
26489 shifted
= PyNumber_Lshift(hi
, shifter
);
26490 resultobj
= PyNumber_Or(shifted
, lo
);
26493 Py_DECREF(shifter
);
26494 Py_DECREF(shifted
);
26502 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
= NULL
;
26504 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26505 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26506 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26508 bool temp2
= false ;
26509 PyObject
* obj0
= 0 ;
26510 PyObject
* obj1
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self",(char *) "format", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26517 if (SWIG_arg_fail(1)) SWIG_fail
;
26520 arg2
= wxString_in_helper(obj1
);
26521 if (arg2
== NULL
) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26553 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26556 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26558 return Py_BuildValue((char *)"");
26560 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= NULL
;
26562 int arg1
= (int) 0 ;
26563 int arg2
= (int) 0 ;
26564 int arg3
= (int) 0 ;
26565 int arg4
= (int) 0 ;
26566 wxDateSpan
*result
;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 PyObject
* obj2
= 0 ;
26570 PyObject
* obj3
= 0 ;
26571 char *kwnames
[] = {
26572 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26578 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26579 if (SWIG_arg_fail(1)) SWIG_fail
;
26584 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26585 if (SWIG_arg_fail(2)) SWIG_fail
;
26590 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26591 if (SWIG_arg_fail(3)) SWIG_fail
;
26596 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26597 if (SWIG_arg_fail(4)) SWIG_fail
;
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26614 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26615 PyObject
*resultobj
= NULL
;
26616 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26617 PyObject
* obj0
= 0 ;
26618 char *kwnames
[] = {
26619 (char *) "self", NULL
26622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26624 if (SWIG_arg_fail(1)) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 Py_INCREF(Py_None
); resultobj
= Py_None
;
26639 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
= NULL
;
26643 PyObject
* obj0
= 0 ;
26644 char *kwnames
[] = {
26645 (char *) "days", NULL
26648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
26650 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26651 if (SWIG_arg_fail(1)) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= wxDateSpan::Days(arg1
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26661 wxDateSpan
* resultptr
;
26662 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26671 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
= NULL
;
26674 char *kwnames
[] = {
26678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 result
= wxDateSpan::Day();
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26687 wxDateSpan
* resultptr
;
26688 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26697 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26698 PyObject
*resultobj
= NULL
;
26701 PyObject
* obj0
= 0 ;
26702 char *kwnames
[] = {
26703 (char *) "weeks", NULL
26706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
26708 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26709 if (SWIG_arg_fail(1)) SWIG_fail
;
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 result
= wxDateSpan::Weeks(arg1
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26719 wxDateSpan
* resultptr
;
26720 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26729 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26730 PyObject
*resultobj
= NULL
;
26732 char *kwnames
[] = {
26736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 result
= wxDateSpan::Week();
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26745 wxDateSpan
* resultptr
;
26746 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26755 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
= NULL
;
26759 PyObject
* obj0
= 0 ;
26760 char *kwnames
[] = {
26761 (char *) "mon", NULL
26764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
26766 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26767 if (SWIG_arg_fail(1)) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= wxDateSpan::Months(arg1
);
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26777 wxDateSpan
* resultptr
;
26778 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26787 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
= NULL
;
26790 char *kwnames
[] = {
26794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 result
= wxDateSpan::Month();
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26803 wxDateSpan
* resultptr
;
26804 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26813 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
= NULL
;
26817 PyObject
* obj0
= 0 ;
26818 char *kwnames
[] = {
26819 (char *) "years", NULL
26822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26824 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26825 if (SWIG_arg_fail(1)) SWIG_fail
;
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 result
= wxDateSpan::Years(arg1
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26835 wxDateSpan
* resultptr
;
26836 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26845 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
= NULL
;
26848 char *kwnames
[] = {
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= wxDateSpan::Year();
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26861 wxDateSpan
* resultptr
;
26862 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26871 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
= NULL
;
26873 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26875 wxDateSpan
*result
;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "n", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26884 if (SWIG_arg_fail(1)) SWIG_fail
;
26886 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26887 if (SWIG_arg_fail(2)) SWIG_fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26892 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26893 result
= (wxDateSpan
*) &_result_ref
;
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26906 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
= NULL
;
26908 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26910 wxDateSpan
*result
;
26911 PyObject
* obj0
= 0 ;
26912 PyObject
* obj1
= 0 ;
26913 char *kwnames
[] = {
26914 (char *) "self",(char *) "n", NULL
26917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26919 if (SWIG_arg_fail(1)) SWIG_fail
;
26921 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26922 if (SWIG_arg_fail(2)) SWIG_fail
;
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26928 result
= (wxDateSpan
*) &_result_ref
;
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26941 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
= NULL
;
26943 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26945 wxDateSpan
*result
;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self",(char *) "n", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26954 if (SWIG_arg_fail(1)) SWIG_fail
;
26956 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26957 if (SWIG_arg_fail(2)) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26963 result
= (wxDateSpan
*) &_result_ref
;
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26976 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= NULL
;
26978 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26980 wxDateSpan
*result
;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "n", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26989 if (SWIG_arg_fail(1)) SWIG_fail
;
26991 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26992 if (SWIG_arg_fail(2)) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26998 result
= (wxDateSpan
*) &_result_ref
;
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27011 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
= NULL
;
27013 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27015 PyObject
* obj0
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
27021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27022 if (SWIG_arg_fail(1)) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= SWIG_From_int(static_cast<int >(result
));
27039 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
= NULL
;
27041 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
27049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27050 if (SWIG_arg_fail(1)) SWIG_fail
;
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27059 resultobj
= SWIG_From_int(static_cast<int >(result
));
27067 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
= NULL
;
27069 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
27077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27078 if (SWIG_arg_fail(1)) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= SWIG_From_int(static_cast<int >(result
));
27095 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
= NULL
;
27097 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27099 PyObject
* obj0
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
27105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27106 if (SWIG_arg_fail(1)) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= SWIG_From_int(static_cast<int >(result
));
27123 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
= NULL
;
27125 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27134 if (SWIG_arg_fail(1)) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= SWIG_From_int(static_cast<int >(result
));
27151 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
= NULL
;
27153 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27154 wxDateSpan
*arg2
= 0 ;
27155 wxDateSpan
*result
;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 char *kwnames
[] = {
27159 (char *) "self",(char *) "other", NULL
27162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27164 if (SWIG_arg_fail(1)) SWIG_fail
;
27166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27167 if (SWIG_arg_fail(2)) SWIG_fail
;
27168 if (arg2
== NULL
) {
27169 SWIG_null_ref("wxDateSpan");
27171 if (SWIG_arg_fail(2)) SWIG_fail
;
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27177 result
= (wxDateSpan
*) &_result_ref
;
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27190 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
= NULL
;
27192 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27193 wxDateSpan
*arg2
= 0 ;
27194 wxDateSpan
*result
;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self",(char *) "other", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27203 if (SWIG_arg_fail(1)) SWIG_fail
;
27205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27206 if (SWIG_arg_fail(2)) SWIG_fail
;
27207 if (arg2
== NULL
) {
27208 SWIG_null_ref("wxDateSpan");
27210 if (SWIG_arg_fail(2)) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27216 result
= (wxDateSpan
*) &_result_ref
;
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27229 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27230 PyObject
*resultobj
= NULL
;
27231 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27232 wxDateSpan
*result
;
27233 PyObject
* obj0
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27240 if (SWIG_arg_fail(1)) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27245 result
= (wxDateSpan
*) &_result_ref
;
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27258 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
= NULL
;
27260 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27262 wxDateSpan
*result
;
27263 PyObject
* obj0
= 0 ;
27264 PyObject
* obj1
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self",(char *) "factor", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail
;
27273 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27274 if (SWIG_arg_fail(2)) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27280 result
= (wxDateSpan
*) &_result_ref
;
27283 wxPyEndAllowThreads(__tstate
);
27284 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27293 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27294 PyObject
*resultobj
= NULL
;
27295 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27296 wxDateSpan
*arg2
= 0 ;
27297 wxDateSpan
*result
;
27298 PyObject
* obj0
= 0 ;
27299 PyObject
* obj1
= 0 ;
27300 char *kwnames
[] = {
27301 (char *) "self",(char *) "other", NULL
27304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27306 if (SWIG_arg_fail(1)) SWIG_fail
;
27308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27309 if (SWIG_arg_fail(2)) SWIG_fail
;
27310 if (arg2
== NULL
) {
27311 SWIG_null_ref("wxDateSpan");
27313 if (SWIG_arg_fail(2)) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27319 result
= (wxDateSpan
*) &_result_ref
;
27322 wxPyEndAllowThreads(__tstate
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27332 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27333 PyObject
*resultobj
= NULL
;
27334 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27335 wxDateSpan
*arg2
= 0 ;
27336 wxDateSpan
*result
;
27337 PyObject
* obj0
= 0 ;
27338 PyObject
* obj1
= 0 ;
27339 char *kwnames
[] = {
27340 (char *) "self",(char *) "other", NULL
27343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27345 if (SWIG_arg_fail(1)) SWIG_fail
;
27347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27348 if (SWIG_arg_fail(2)) SWIG_fail
;
27349 if (arg2
== NULL
) {
27350 SWIG_null_ref("wxDateSpan");
27352 if (SWIG_arg_fail(2)) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27357 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27358 result
= (wxDateSpan
*) &_result_ref
;
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27371 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27372 PyObject
*resultobj
= NULL
;
27373 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27374 wxDateSpan
*result
;
27375 PyObject
* obj0
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "self", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27382 if (SWIG_arg_fail(1)) SWIG_fail
;
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27387 result
= (wxDateSpan
*) &_result_ref
;
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27400 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
= NULL
;
27402 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27404 wxDateSpan
*result
;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "self",(char *) "factor", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27413 if (SWIG_arg_fail(1)) SWIG_fail
;
27415 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27416 if (SWIG_arg_fail(2)) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27422 result
= (wxDateSpan
*) &_result_ref
;
27425 wxPyEndAllowThreads(__tstate
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27435 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27436 PyObject
*resultobj
= NULL
;
27437 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27438 wxDateSpan
*arg2
= 0 ;
27440 PyObject
* obj0
= 0 ;
27441 PyObject
* obj1
= 0 ;
27442 char *kwnames
[] = {
27443 (char *) "self",(char *) "other", NULL
27446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27448 if (SWIG_arg_fail(1)) SWIG_fail
;
27450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27451 if (SWIG_arg_fail(2)) SWIG_fail
;
27452 if (arg2
== NULL
) {
27453 SWIG_null_ref("wxDateSpan");
27455 if (SWIG_arg_fail(2)) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27465 wxDateSpan
* resultptr
;
27466 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27475 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27476 PyObject
*resultobj
= NULL
;
27477 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27478 wxDateSpan
*arg2
= 0 ;
27480 PyObject
* obj0
= 0 ;
27481 PyObject
* obj1
= 0 ;
27482 char *kwnames
[] = {
27483 (char *) "self",(char *) "other", NULL
27486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27488 if (SWIG_arg_fail(1)) SWIG_fail
;
27490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27491 if (SWIG_arg_fail(2)) SWIG_fail
;
27492 if (arg2
== NULL
) {
27493 SWIG_null_ref("wxDateSpan");
27495 if (SWIG_arg_fail(2)) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27505 wxDateSpan
* resultptr
;
27506 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27515 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
= NULL
;
27517 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27520 PyObject
* obj0
= 0 ;
27521 PyObject
* obj1
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self",(char *) "n", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27531 if (SWIG_arg_fail(2)) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 result
= wxDateSpan___mul__(arg1
,arg2
);
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27541 wxDateSpan
* resultptr
;
27542 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27551 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
= NULL
;
27553 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27556 PyObject
* obj0
= 0 ;
27557 PyObject
* obj1
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self",(char *) "n", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27564 if (SWIG_arg_fail(1)) SWIG_fail
;
27566 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27567 if (SWIG_arg_fail(2)) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= wxDateSpan___rmul__(arg1
,arg2
);
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 wxDateSpan
* resultptr
;
27578 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27587 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
= NULL
;
27589 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27590 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27592 PyObject
* obj0
= 0 ;
27593 PyObject
* obj1
= 0 ;
27594 char *kwnames
[] = {
27595 (char *) "self",(char *) "other", NULL
27598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27600 if (SWIG_arg_fail(1)) SWIG_fail
;
27601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27602 if (SWIG_arg_fail(2)) SWIG_fail
;
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27619 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
= NULL
;
27621 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27622 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27624 PyObject
* obj0
= 0 ;
27625 PyObject
* obj1
= 0 ;
27626 char *kwnames
[] = {
27627 (char *) "self",(char *) "other", NULL
27630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27632 if (SWIG_arg_fail(1)) SWIG_fail
;
27633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27634 if (SWIG_arg_fail(2)) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27651 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27654 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27656 return Py_BuildValue((char *)"");
27658 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
= NULL
;
27661 char *kwnames
[] = {
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 result
= (long)wxGetLocalTime();
27670 wxPyEndAllowThreads(__tstate
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= SWIG_From_long(static_cast<long >(result
));
27682 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
= NULL
;
27685 char *kwnames
[] = {
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= (long)wxGetUTCTime();
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= SWIG_From_long(static_cast<long >(result
));
27706 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
= NULL
;
27709 char *kwnames
[] = {
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 result
= (long)wxGetCurrentTime();
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= SWIG_From_long(static_cast<long >(result
));
27730 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
= NULL
;
27733 char *kwnames
[] = {
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 result
= wxGetLocalTimeMillis();
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27746 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27747 hi
= PyLong_FromLong( (&result
)->GetHi() );
27748 lo
= PyLong_FromLong( (&result
)->GetLo() );
27749 shifter
= PyLong_FromLong(32);
27750 shifted
= PyNumber_Lshift(hi
, shifter
);
27751 resultobj
= PyNumber_Or(shifted
, lo
);
27754 Py_DECREF(shifter
);
27755 Py_DECREF(shifted
);
27763 static int _wrap_DefaultDateTime_set(PyObject
*) {
27764 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27769 static PyObject
*_wrap_DefaultDateTime_get(void) {
27770 PyObject
*pyobj
= NULL
;
27772 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27777 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
= NULL
;
27779 wxDataFormatId arg1
;
27780 wxDataFormat
*result
;
27781 PyObject
* obj0
= 0 ;
27782 char *kwnames
[] = {
27783 (char *) "type", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27788 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27789 if (SWIG_arg_fail(1)) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27805 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
= NULL
;
27807 wxString
*arg1
= 0 ;
27808 wxDataFormat
*result
;
27809 bool temp1
= false ;
27810 PyObject
* obj0
= 0 ;
27811 char *kwnames
[] = {
27812 (char *) "format", NULL
27815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27817 arg1
= wxString_in_helper(obj0
);
27818 if (arg1
== NULL
) SWIG_fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27843 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
= NULL
;
27845 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27846 PyObject
* obj0
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27853 if (SWIG_arg_fail(1)) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 Py_INCREF(Py_None
); resultobj
= Py_None
;
27868 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27869 PyObject
*resultobj
= NULL
;
27870 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27871 wxDataFormatId arg2
;
27873 PyObject
* obj0
= 0 ;
27874 PyObject
* obj1
= 0 ;
27876 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27878 if (SWIG_arg_fail(1)) SWIG_fail
;
27880 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27881 if (SWIG_arg_fail(2)) SWIG_fail
;
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27887 wxPyEndAllowThreads(__tstate
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27899 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27900 PyObject
*resultobj
= NULL
;
27901 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27902 wxDataFormatId arg2
;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27907 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27909 if (SWIG_arg_fail(1)) SWIG_fail
;
27911 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27912 if (SWIG_arg_fail(2)) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27930 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27931 PyObject
*resultobj
= NULL
;
27932 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27933 wxDataFormat
*arg2
= 0 ;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27938 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27940 if (SWIG_arg_fail(1)) SWIG_fail
;
27942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27943 if (SWIG_arg_fail(2)) SWIG_fail
;
27944 if (arg2
== NULL
) {
27945 SWIG_null_ref("wxDataFormat");
27947 if (SWIG_arg_fail(2)) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27965 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27970 argc
= PyObject_Length(args
);
27971 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27972 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27978 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27988 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27996 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
28004 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28012 _v
= SWIG_Check_int(argv
[1]);
28014 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
28019 Py_INCREF(Py_NotImplemented
);
28020 return Py_NotImplemented
;
28024 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
28025 PyObject
*resultobj
= NULL
;
28026 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28027 wxDataFormat
*arg2
= 0 ;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28032 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
28033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail
;
28036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28037 if (SWIG_arg_fail(2)) SWIG_fail
;
28038 if (arg2
== NULL
) {
28039 SWIG_null_ref("wxDataFormat");
28041 if (SWIG_arg_fail(2)) SWIG_fail
;
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28059 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
28064 argc
= PyObject_Length(args
);
28065 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
28066 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28072 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28082 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28090 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
28098 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28106 _v
= SWIG_Check_int(argv
[1]);
28108 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
28113 Py_INCREF(Py_NotImplemented
);
28114 return Py_NotImplemented
;
28118 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
= NULL
;
28120 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28121 wxDataFormatId arg2
;
28122 PyObject
* obj0
= 0 ;
28123 PyObject
* obj1
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self",(char *) "format", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28130 if (SWIG_arg_fail(1)) SWIG_fail
;
28132 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28133 if (SWIG_arg_fail(2)) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 (arg1
)->SetType(arg2
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 Py_INCREF(Py_None
); resultobj
= Py_None
;
28149 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
= NULL
;
28151 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28152 wxDataFormatId result
;
28153 PyObject
* obj0
= 0 ;
28154 char *kwnames
[] = {
28155 (char *) "self", NULL
28158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28160 if (SWIG_arg_fail(1)) SWIG_fail
;
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28168 resultobj
= SWIG_From_int((result
));
28175 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
= NULL
;
28177 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28186 if (SWIG_arg_fail(1)) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= ((wxDataFormat
const *)arg1
)->GetId();
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28207 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
= NULL
;
28209 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28210 wxString
*arg2
= 0 ;
28211 bool temp2
= false ;
28212 PyObject
* obj0
= 0 ;
28213 PyObject
* obj1
= 0 ;
28214 char *kwnames
[] = {
28215 (char *) "self",(char *) "format", NULL
28218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28220 if (SWIG_arg_fail(1)) SWIG_fail
;
28222 arg2
= wxString_in_helper(obj1
);
28223 if (arg2
== NULL
) SWIG_fail
;
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 (arg1
)->SetId((wxString
const &)*arg2
);
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 Py_INCREF(Py_None
); resultobj
= Py_None
;
28248 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28251 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28253 return Py_BuildValue((char *)"");
28255 static int _wrap_FormatInvalid_set(PyObject
*) {
28256 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28261 static PyObject
*_wrap_FormatInvalid_get(void) {
28262 PyObject
*pyobj
= NULL
;
28264 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28269 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28270 PyObject
*resultobj
= NULL
;
28271 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28272 PyObject
* obj0
= 0 ;
28273 char *kwnames
[] = {
28274 (char *) "self", NULL
28277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28279 if (SWIG_arg_fail(1)) SWIG_fail
;
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 Py_INCREF(Py_None
); resultobj
= Py_None
;
28294 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
= NULL
;
28296 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28297 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28298 SwigValueWrapper
<wxDataFormat
> result
;
28299 PyObject
* obj0
= 0 ;
28300 PyObject
* obj1
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self",(char *) "dir", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28307 if (SWIG_arg_fail(1)) SWIG_fail
;
28310 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28311 if (SWIG_arg_fail(2)) SWIG_fail
;
28315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28316 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28318 wxPyEndAllowThreads(__tstate
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28322 wxDataFormat
* resultptr
;
28323 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28332 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
= NULL
;
28334 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28335 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28337 PyObject
* obj0
= 0 ;
28338 PyObject
* obj1
= 0 ;
28339 char *kwnames
[] = {
28340 (char *) "self",(char *) "dir", NULL
28343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28345 if (SWIG_arg_fail(1)) SWIG_fail
;
28348 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28349 if (SWIG_arg_fail(2)) SWIG_fail
;
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28368 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
= NULL
;
28370 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28371 wxDataFormat
*arg2
= 0 ;
28372 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28374 PyObject
* obj0
= 0 ;
28375 PyObject
* obj1
= 0 ;
28376 PyObject
* obj2
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self",(char *) "format",(char *) "dir", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28383 if (SWIG_arg_fail(1)) SWIG_fail
;
28385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28386 if (SWIG_arg_fail(2)) SWIG_fail
;
28387 if (arg2
== NULL
) {
28388 SWIG_null_ref("wxDataFormat");
28390 if (SWIG_arg_fail(2)) SWIG_fail
;
28394 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28395 if (SWIG_arg_fail(3)) SWIG_fail
;
28399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28400 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28402 wxPyEndAllowThreads(__tstate
);
28403 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28414 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28415 PyObject
*resultobj
= NULL
;
28416 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28417 wxDataFormat
*arg2
= 0 ;
28419 PyObject
* obj0
= 0 ;
28420 PyObject
* obj1
= 0 ;
28421 char *kwnames
[] = {
28422 (char *) "self",(char *) "format", NULL
28425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28427 if (SWIG_arg_fail(1)) SWIG_fail
;
28429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28430 if (SWIG_arg_fail(2)) SWIG_fail
;
28431 if (arg2
== NULL
) {
28432 SWIG_null_ref("wxDataFormat");
28434 if (SWIG_arg_fail(2)) SWIG_fail
;
28437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28438 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28440 wxPyEndAllowThreads(__tstate
);
28441 if (PyErr_Occurred()) SWIG_fail
;
28444 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28452 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28453 PyObject
*resultobj
= NULL
;
28454 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28455 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28457 PyObject
* obj0
= 0 ;
28458 PyObject
* obj1
= 0 ;
28459 char *kwnames
[] = {
28460 (char *) "self",(char *) "dir", NULL
28463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28465 if (SWIG_arg_fail(1)) SWIG_fail
;
28468 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28469 if (SWIG_arg_fail(2)) SWIG_fail
;
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= result
;
28486 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
= NULL
;
28488 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28489 wxDataFormat
*arg2
= 0 ;
28491 PyObject
* obj0
= 0 ;
28492 PyObject
* obj1
= 0 ;
28493 char *kwnames
[] = {
28494 (char *) "self",(char *) "format", NULL
28497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28499 if (SWIG_arg_fail(1)) SWIG_fail
;
28501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28502 if (SWIG_arg_fail(2)) SWIG_fail
;
28503 if (arg2
== NULL
) {
28504 SWIG_null_ref("wxDataFormat");
28506 if (SWIG_arg_fail(2)) SWIG_fail
;
28509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28515 resultobj
= result
;
28522 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28523 PyObject
*resultobj
= NULL
;
28524 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28525 wxDataFormat
*arg2
= 0 ;
28526 PyObject
*arg3
= (PyObject
*) 0 ;
28528 PyObject
* obj0
= 0 ;
28529 PyObject
* obj1
= 0 ;
28530 PyObject
* obj2
= 0 ;
28531 char *kwnames
[] = {
28532 (char *) "self",(char *) "format",(char *) "data", NULL
28535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28537 if (SWIG_arg_fail(1)) SWIG_fail
;
28539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28540 if (SWIG_arg_fail(2)) SWIG_fail
;
28541 if (arg2
== NULL
) {
28542 SWIG_null_ref("wxDataFormat");
28544 if (SWIG_arg_fail(2)) SWIG_fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28563 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28566 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28568 return Py_BuildValue((char *)"");
28570 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28571 PyObject
*resultobj
= NULL
;
28572 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28573 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28574 wxDataObjectSimple
*result
;
28575 PyObject
* obj0
= 0 ;
28576 char *kwnames
[] = {
28577 (char *) "format", NULL
28580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28584 if (SWIG_arg_fail(1)) SWIG_fail
;
28585 if (arg1
== NULL
) {
28586 SWIG_null_ref("wxDataFormat");
28588 if (SWIG_arg_fail(1)) SWIG_fail
;
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28605 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28606 PyObject
*resultobj
= NULL
;
28607 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28608 wxDataFormat
*result
;
28609 PyObject
* obj0
= 0 ;
28610 char *kwnames
[] = {
28611 (char *) "self", NULL
28614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28616 if (SWIG_arg_fail(1)) SWIG_fail
;
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28621 result
= (wxDataFormat
*) &_result_ref
;
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28634 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
= NULL
;
28636 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28637 wxDataFormat
*arg2
= 0 ;
28638 PyObject
* obj0
= 0 ;
28639 PyObject
* obj1
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self",(char *) "format", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28646 if (SWIG_arg_fail(1)) SWIG_fail
;
28648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28649 if (SWIG_arg_fail(2)) SWIG_fail
;
28650 if (arg2
== NULL
) {
28651 SWIG_null_ref("wxDataFormat");
28653 if (SWIG_arg_fail(2)) SWIG_fail
;
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28662 Py_INCREF(Py_None
); resultobj
= Py_None
;
28669 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28670 PyObject
*resultobj
= NULL
;
28671 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28673 PyObject
* obj0
= 0 ;
28674 char *kwnames
[] = {
28675 (char *) "self", NULL
28678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28680 if (SWIG_arg_fail(1)) SWIG_fail
;
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28697 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28698 PyObject
*resultobj
= NULL
;
28699 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28701 PyObject
* obj0
= 0 ;
28702 char *kwnames
[] = {
28703 (char *) "self", NULL
28706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28708 if (SWIG_arg_fail(1)) SWIG_fail
;
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= result
;
28723 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
= NULL
;
28725 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28726 PyObject
*arg2
= (PyObject
*) 0 ;
28728 PyObject
* obj0
= 0 ;
28729 PyObject
* obj1
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "data", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28736 if (SWIG_arg_fail(1)) SWIG_fail
;
28739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28740 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28742 wxPyEndAllowThreads(__tstate
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28754 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28757 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28759 return Py_BuildValue((char *)"");
28761 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
= NULL
;
28763 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28764 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28765 wxPyDataObjectSimple
*result
;
28766 PyObject
* obj0
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "format", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28775 if (SWIG_arg_fail(1)) SWIG_fail
;
28776 if (arg1
== NULL
) {
28777 SWIG_null_ref("wxDataFormat");
28779 if (SWIG_arg_fail(1)) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28796 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28797 PyObject
*resultobj
= NULL
;
28798 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28799 PyObject
*arg2
= (PyObject
*) 0 ;
28800 PyObject
*arg3
= (PyObject
*) 0 ;
28801 PyObject
* obj0
= 0 ;
28802 PyObject
* obj1
= 0 ;
28803 PyObject
* obj2
= 0 ;
28804 char *kwnames
[] = {
28805 (char *) "self",(char *) "self",(char *) "_class", NULL
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28810 if (SWIG_arg_fail(1)) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28820 Py_INCREF(Py_None
); resultobj
= Py_None
;
28827 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28830 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28832 return Py_BuildValue((char *)"");
28834 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
= NULL
;
28836 wxDataObjectComposite
*result
;
28837 char *kwnames
[] = {
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28856 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28857 PyObject
*resultobj
= NULL
;
28858 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28859 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28860 bool arg3
= (bool) false ;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 PyObject
* obj2
= 0 ;
28864 char *kwnames
[] = {
28865 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28870 if (SWIG_arg_fail(1)) SWIG_fail
;
28871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28872 if (SWIG_arg_fail(2)) SWIG_fail
;
28875 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28876 if (SWIG_arg_fail(3)) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 (arg1
)->Add(arg2
,arg3
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 Py_INCREF(Py_None
); resultobj
= Py_None
;
28893 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28896 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28898 return Py_BuildValue((char *)"");
28900 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28901 PyObject
*resultobj
= NULL
;
28902 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28903 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28904 wxTextDataObject
*result
;
28905 bool temp1
= false ;
28906 PyObject
* obj0
= 0 ;
28907 char *kwnames
[] = {
28908 (char *) "text", NULL
28911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28914 arg1
= wxString_in_helper(obj0
);
28915 if (arg1
== NULL
) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28941 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
= NULL
;
28943 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28945 PyObject
* obj0
= 0 ;
28946 char *kwnames
[] = {
28947 (char *) "self", NULL
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28952 if (SWIG_arg_fail(1)) SWIG_fail
;
28954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28955 result
= (size_t)(arg1
)->GetTextLength();
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28969 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
= NULL
;
28971 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28973 PyObject
* obj0
= 0 ;
28974 char *kwnames
[] = {
28975 (char *) "self", NULL
28978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28980 if (SWIG_arg_fail(1)) SWIG_fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 result
= (arg1
)->GetText();
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29001 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
= NULL
;
29003 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
29004 wxString
*arg2
= 0 ;
29005 bool temp2
= false ;
29006 PyObject
* obj0
= 0 ;
29007 PyObject
* obj1
= 0 ;
29008 char *kwnames
[] = {
29009 (char *) "self",(char *) "text", NULL
29012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
29013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29014 if (SWIG_arg_fail(1)) SWIG_fail
;
29016 arg2
= wxString_in_helper(obj1
);
29017 if (arg2
== NULL
) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 (arg1
)->SetText((wxString
const &)*arg2
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 Py_INCREF(Py_None
); resultobj
= Py_None
;
29042 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29045 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
29047 return Py_BuildValue((char *)"");
29049 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
= NULL
;
29051 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29052 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29053 wxPyTextDataObject
*result
;
29054 bool temp1
= false ;
29055 PyObject
* obj0
= 0 ;
29056 char *kwnames
[] = {
29057 (char *) "text", NULL
29060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
29063 arg1
= wxString_in_helper(obj0
);
29064 if (arg1
== NULL
) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
29090 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
= NULL
;
29092 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
29093 PyObject
*arg2
= (PyObject
*) 0 ;
29094 PyObject
*arg3
= (PyObject
*) 0 ;
29095 PyObject
* obj0
= 0 ;
29096 PyObject
* obj1
= 0 ;
29097 PyObject
* obj2
= 0 ;
29098 char *kwnames
[] = {
29099 (char *) "self",(char *) "self",(char *) "_class", NULL
29102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29104 if (SWIG_arg_fail(1)) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 Py_INCREF(Py_None
); resultobj
= Py_None
;
29121 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29124 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29126 return Py_BuildValue((char *)"");
29128 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
= NULL
;
29130 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29131 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29132 wxBitmapDataObject
*result
;
29133 PyObject
* obj0
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "bitmap", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29142 if (SWIG_arg_fail(1)) SWIG_fail
;
29143 if (arg1
== NULL
) {
29144 SWIG_null_ref("wxBitmap");
29146 if (SWIG_arg_fail(1)) SWIG_fail
;
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29151 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29163 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29164 PyObject
*resultobj
= NULL
;
29165 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29167 PyObject
* obj0
= 0 ;
29168 char *kwnames
[] = {
29169 (char *) "self", NULL
29172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29174 if (SWIG_arg_fail(1)) SWIG_fail
;
29176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29177 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29183 wxBitmap
* resultptr
;
29184 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29193 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
= NULL
;
29195 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29196 wxBitmap
*arg2
= 0 ;
29197 PyObject
* obj0
= 0 ;
29198 PyObject
* obj1
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "self",(char *) "bitmap", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29205 if (SWIG_arg_fail(1)) SWIG_fail
;
29207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29208 if (SWIG_arg_fail(2)) SWIG_fail
;
29209 if (arg2
== NULL
) {
29210 SWIG_null_ref("wxBitmap");
29212 if (SWIG_arg_fail(2)) SWIG_fail
;
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29221 Py_INCREF(Py_None
); resultobj
= Py_None
;
29228 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29231 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29233 return Py_BuildValue((char *)"");
29235 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
= NULL
;
29237 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29238 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29239 wxPyBitmapDataObject
*result
;
29240 PyObject
* obj0
= 0 ;
29241 char *kwnames
[] = {
29242 (char *) "bitmap", NULL
29245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29249 if (SWIG_arg_fail(1)) SWIG_fail
;
29250 if (arg1
== NULL
) {
29251 SWIG_null_ref("wxBitmap");
29253 if (SWIG_arg_fail(1)) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29270 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
= NULL
;
29272 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29273 PyObject
*arg2
= (PyObject
*) 0 ;
29274 PyObject
*arg3
= (PyObject
*) 0 ;
29275 PyObject
* obj0
= 0 ;
29276 PyObject
* obj1
= 0 ;
29277 PyObject
* obj2
= 0 ;
29278 char *kwnames
[] = {
29279 (char *) "self",(char *) "self",(char *) "_class", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29284 if (SWIG_arg_fail(1)) SWIG_fail
;
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29294 Py_INCREF(Py_None
); resultobj
= Py_None
;
29301 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29304 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29306 return Py_BuildValue((char *)"");
29308 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
= NULL
;
29310 wxFileDataObject
*result
;
29311 char *kwnames
[] = {
29315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 result
= (wxFileDataObject
*)new wxFileDataObject();
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29330 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
= NULL
;
29332 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29333 wxArrayString
*result
;
29334 PyObject
* obj0
= 0 ;
29335 char *kwnames
[] = {
29336 (char *) "self", NULL
29339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29341 if (SWIG_arg_fail(1)) SWIG_fail
;
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29346 result
= (wxArrayString
*) &_result_ref
;
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= wxArrayString2PyList_helper(*result
);
29361 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
= NULL
;
29363 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29364 wxString
*arg2
= 0 ;
29365 bool temp2
= false ;
29366 PyObject
* obj0
= 0 ;
29367 PyObject
* obj1
= 0 ;
29368 char *kwnames
[] = {
29369 (char *) "self",(char *) "filename", NULL
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29374 if (SWIG_arg_fail(1)) SWIG_fail
;
29376 arg2
= wxString_in_helper(obj1
);
29377 if (arg2
== NULL
) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 (arg1
)->AddFile((wxString
const &)*arg2
);
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 Py_INCREF(Py_None
); resultobj
= Py_None
;
29402 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29405 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29407 return Py_BuildValue((char *)"");
29409 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29410 PyObject
*resultobj
= NULL
;
29411 wxDataFormat
*arg1
= 0 ;
29412 wxCustomDataObject
*result
;
29413 PyObject
* obj0
= 0 ;
29415 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29418 if (SWIG_arg_fail(1)) SWIG_fail
;
29419 if (arg1
== NULL
) {
29420 SWIG_null_ref("wxDataFormat");
29422 if (SWIG_arg_fail(1)) SWIG_fail
;
29425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29426 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29428 wxPyEndAllowThreads(__tstate
);
29429 if (PyErr_Occurred()) SWIG_fail
;
29431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29438 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29439 PyObject
*resultobj
= NULL
;
29440 wxString
*arg1
= 0 ;
29441 wxCustomDataObject
*result
;
29442 bool temp1
= false ;
29443 PyObject
* obj0
= 0 ;
29445 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29447 arg1
= wxString_in_helper(obj0
);
29448 if (arg1
== NULL
) SWIG_fail
;
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29455 wxPyEndAllowThreads(__tstate
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29473 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29474 PyObject
*resultobj
= NULL
;
29475 wxCustomDataObject
*result
;
29477 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29492 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29497 argc
= PyObject_Length(args
);
29498 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29499 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29502 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29507 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29510 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29517 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29525 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29529 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29534 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
= NULL
;
29536 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29537 PyObject
*arg2
= (PyObject
*) 0 ;
29539 PyObject
* obj0
= 0 ;
29540 PyObject
* obj1
= 0 ;
29541 char *kwnames
[] = {
29542 (char *) "self",(char *) "data", NULL
29545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29547 if (SWIG_arg_fail(1)) SWIG_fail
;
29550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29551 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29553 wxPyEndAllowThreads(__tstate
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29565 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29566 PyObject
*resultobj
= NULL
;
29567 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 char *kwnames
[] = {
29571 (char *) "self", NULL
29574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29576 if (SWIG_arg_fail(1)) SWIG_fail
;
29578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29579 result
= (size_t)(arg1
)->GetSize();
29581 wxPyEndAllowThreads(__tstate
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29585 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29593 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29594 PyObject
*resultobj
= NULL
;
29595 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29597 PyObject
* obj0
= 0 ;
29598 char *kwnames
[] = {
29599 (char *) "self", NULL
29602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29604 if (SWIG_arg_fail(1)) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= result
;
29619 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29622 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29624 return Py_BuildValue((char *)"");
29626 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
= NULL
;
29628 wxURLDataObject
*result
;
29629 char *kwnames
[] = {
29633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 result
= (wxURLDataObject
*)new wxURLDataObject();
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29648 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
= NULL
;
29650 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29652 PyObject
* obj0
= 0 ;
29653 char *kwnames
[] = {
29654 (char *) "self", NULL
29657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29659 if (SWIG_arg_fail(1)) SWIG_fail
;
29661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29662 result
= (arg1
)->GetURL();
29664 wxPyEndAllowThreads(__tstate
);
29665 if (PyErr_Occurred()) SWIG_fail
;
29669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29680 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
= NULL
;
29682 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29683 wxString
*arg2
= 0 ;
29684 bool temp2
= false ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 char *kwnames
[] = {
29688 (char *) "self",(char *) "url", NULL
29691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29693 if (SWIG_arg_fail(1)) SWIG_fail
;
29695 arg2
= wxString_in_helper(obj1
);
29696 if (arg2
== NULL
) SWIG_fail
;
29700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29701 (arg1
)->SetURL((wxString
const &)*arg2
);
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 Py_INCREF(Py_None
); resultobj
= Py_None
;
29721 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29724 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29726 return Py_BuildValue((char *)"");
29728 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29729 PyObject
*resultobj
= NULL
;
29730 wxMetafileDataObject
*result
;
29731 char *kwnames
[] = {
29735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29750 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29753 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29755 return Py_BuildValue((char *)"");
29757 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29758 PyObject
*resultobj
= NULL
;
29759 wxDragResult arg1
;
29761 PyObject
* obj0
= 0 ;
29762 char *kwnames
[] = {
29763 (char *) "res", NULL
29766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29768 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29769 if (SWIG_arg_fail(1)) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (bool)wxIsDragResultOk(arg1
);
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29787 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
= NULL
;
29789 wxWindow
*arg1
= (wxWindow
*) 0 ;
29790 wxIcon
const &arg2_defvalue
= wxNullIcon
;
29791 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
29792 wxIcon
const &arg3_defvalue
= wxNullIcon
;
29793 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
29794 wxIcon
const &arg4_defvalue
= wxNullIcon
;
29795 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
29796 wxPyDropSource
*result
;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 PyObject
* obj2
= 0 ;
29800 PyObject
* obj3
= 0 ;
29801 char *kwnames
[] = {
29802 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29807 if (SWIG_arg_fail(1)) SWIG_fail
;
29810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29811 if (SWIG_arg_fail(2)) SWIG_fail
;
29812 if (arg2
== NULL
) {
29813 SWIG_null_ref("wxIcon");
29815 if (SWIG_arg_fail(2)) SWIG_fail
;
29820 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29821 if (SWIG_arg_fail(3)) SWIG_fail
;
29822 if (arg3
== NULL
) {
29823 SWIG_null_ref("wxIcon");
29825 if (SWIG_arg_fail(3)) SWIG_fail
;
29830 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29831 if (SWIG_arg_fail(4)) SWIG_fail
;
29832 if (arg4
== NULL
) {
29833 SWIG_null_ref("wxIcon");
29835 if (SWIG_arg_fail(4)) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29852 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
= NULL
;
29854 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29855 PyObject
*arg2
= (PyObject
*) 0 ;
29856 PyObject
*arg3
= (PyObject
*) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 PyObject
* obj1
= 0 ;
29860 PyObject
* obj2
= 0 ;
29861 PyObject
* obj3
= 0 ;
29862 char *kwnames
[] = {
29863 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29868 if (SWIG_arg_fail(1)) SWIG_fail
;
29872 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29873 if (SWIG_arg_fail(4)) SWIG_fail
;
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 Py_INCREF(Py_None
); resultobj
= Py_None
;
29889 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29890 PyObject
*resultobj
= NULL
;
29891 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29892 PyObject
* obj0
= 0 ;
29893 char *kwnames
[] = {
29894 (char *) "self", NULL
29897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29899 if (SWIG_arg_fail(1)) SWIG_fail
;
29901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 wxPyEndAllowThreads(__tstate
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29907 Py_INCREF(Py_None
); resultobj
= Py_None
;
29914 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
= NULL
;
29916 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29917 wxDataObject
*arg2
= 0 ;
29918 PyObject
* obj0
= 0 ;
29919 PyObject
* obj1
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self",(char *) "data", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29929 if (SWIG_arg_fail(2)) SWIG_fail
;
29930 if (arg2
== NULL
) {
29931 SWIG_null_ref("wxDataObject");
29933 if (SWIG_arg_fail(2)) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 (arg1
)->SetData(*arg2
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 Py_INCREF(Py_None
); resultobj
= Py_None
;
29949 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
= NULL
;
29951 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29952 wxDataObject
*result
;
29953 PyObject
* obj0
= 0 ;
29954 char *kwnames
[] = {
29955 (char *) "self", NULL
29958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
29959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29960 if (SWIG_arg_fail(1)) SWIG_fail
;
29962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29975 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
= NULL
;
29977 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29978 wxDragResult arg2
;
29979 wxCursor
*arg3
= 0 ;
29980 PyObject
* obj0
= 0 ;
29981 PyObject
* obj1
= 0 ;
29982 PyObject
* obj2
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self",(char *) "res",(char *) "cursor", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail
;
29991 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
29992 if (SWIG_arg_fail(2)) SWIG_fail
;
29995 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29996 if (SWIG_arg_fail(3)) SWIG_fail
;
29997 if (arg3
== NULL
) {
29998 SWIG_null_ref("wxCursor");
30000 if (SWIG_arg_fail(3)) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30009 Py_INCREF(Py_None
); resultobj
= Py_None
;
30016 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
= NULL
;
30018 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30019 int arg2
= (int) wxDrag_CopyOnly
;
30020 wxDragResult result
;
30021 PyObject
* obj0
= 0 ;
30022 PyObject
* obj1
= 0 ;
30023 char *kwnames
[] = {
30024 (char *) "self",(char *) "flags", NULL
30027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
30028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30029 if (SWIG_arg_fail(1)) SWIG_fail
;
30032 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30033 if (SWIG_arg_fail(2)) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= SWIG_From_int((result
));
30050 static PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
= NULL
;
30052 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30053 wxDragResult arg2
;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char *kwnames
[] = {
30058 (char *) "self",(char *) "effect", NULL
30061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
30062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30063 if (SWIG_arg_fail(1)) SWIG_fail
;
30065 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30066 if (SWIG_arg_fail(2)) SWIG_fail
;
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (bool)(arg1
)->GiveFeedback(arg2
);
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30084 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30087 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30089 return Py_BuildValue((char *)"");
30091 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
= NULL
;
30093 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30094 wxPyDropTarget
*result
;
30095 PyObject
* obj0
= 0 ;
30096 char *kwnames
[] = {
30097 (char *) "dataObject", NULL
30100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30103 if (SWIG_arg_fail(1)) SWIG_fail
;
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30119 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= NULL
;
30121 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30122 PyObject
*arg2
= (PyObject
*) 0 ;
30123 PyObject
*arg3
= (PyObject
*) 0 ;
30124 PyObject
* obj0
= 0 ;
30125 PyObject
* obj1
= 0 ;
30126 PyObject
* obj2
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "self",(char *) "self",(char *) "_class", NULL
30131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30133 if (SWIG_arg_fail(1)) SWIG_fail
;
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 Py_INCREF(Py_None
); resultobj
= Py_None
;
30150 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
= NULL
;
30152 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30153 PyObject
* obj0
= 0 ;
30154 char *kwnames
[] = {
30155 (char *) "self", NULL
30158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30160 if (SWIG_arg_fail(1)) SWIG_fail
;
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 Py_INCREF(Py_None
); resultobj
= Py_None
;
30175 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
= NULL
;
30177 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30178 wxDataObject
*result
;
30179 PyObject
* obj0
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30186 if (SWIG_arg_fail(1)) SWIG_fail
;
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30191 wxPyEndAllowThreads(__tstate
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30201 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
= NULL
;
30203 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30204 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 char *kwnames
[] = {
30208 (char *) "self",(char *) "dataObject", NULL
30211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30213 if (SWIG_arg_fail(1)) SWIG_fail
;
30214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30215 if (SWIG_arg_fail(2)) SWIG_fail
;
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30218 (arg1
)->SetDataObject(arg2
);
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 Py_INCREF(Py_None
); resultobj
= Py_None
;
30230 static PyObject
*_wrap_DropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30231 PyObject
*resultobj
= NULL
;
30232 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30235 wxDragResult arg4
;
30236 wxDragResult result
;
30237 PyObject
* obj0
= 0 ;
30238 PyObject
* obj1
= 0 ;
30239 PyObject
* obj2
= 0 ;
30240 PyObject
* obj3
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30247 if (SWIG_arg_fail(1)) SWIG_fail
;
30249 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30250 if (SWIG_arg_fail(2)) SWIG_fail
;
30253 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30254 if (SWIG_arg_fail(3)) SWIG_fail
;
30257 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30258 if (SWIG_arg_fail(4)) SWIG_fail
;
30261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30262 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30267 resultobj
= SWIG_From_int((result
));
30274 static PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30275 PyObject
*resultobj
= NULL
;
30276 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30279 wxDragResult arg4
;
30280 wxDragResult result
;
30281 PyObject
* obj0
= 0 ;
30282 PyObject
* obj1
= 0 ;
30283 PyObject
* obj2
= 0 ;
30284 PyObject
* obj3
= 0 ;
30285 char *kwnames
[] = {
30286 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30291 if (SWIG_arg_fail(1)) SWIG_fail
;
30293 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30294 if (SWIG_arg_fail(2)) SWIG_fail
;
30297 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30298 if (SWIG_arg_fail(3)) SWIG_fail
;
30301 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30302 if (SWIG_arg_fail(4)) SWIG_fail
;
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30311 resultobj
= SWIG_From_int((result
));
30318 static PyObject
*_wrap_DropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
= NULL
;
30320 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30321 PyObject
* obj0
= 0 ;
30322 char *kwnames
[] = {
30323 (char *) "self", NULL
30326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30328 if (SWIG_arg_fail(1)) SWIG_fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 Py_INCREF(Py_None
); resultobj
= Py_None
;
30343 static PyObject
*_wrap_DropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
= NULL
;
30345 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30349 PyObject
* obj0
= 0 ;
30350 PyObject
* obj1
= 0 ;
30351 PyObject
* obj2
= 0 ;
30352 char *kwnames
[] = {
30353 (char *) "self",(char *) "x",(char *) "y", NULL
30356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30358 if (SWIG_arg_fail(1)) SWIG_fail
;
30360 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30361 if (SWIG_arg_fail(2)) SWIG_fail
;
30364 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30365 if (SWIG_arg_fail(3)) SWIG_fail
;
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30371 wxPyEndAllowThreads(__tstate
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30383 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30384 PyObject
*resultobj
= NULL
;
30385 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30387 PyObject
* obj0
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30394 if (SWIG_arg_fail(1)) SWIG_fail
;
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 result
= (bool)(arg1
)->GetData();
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30411 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
= NULL
;
30413 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30414 wxDragResult arg2
;
30415 PyObject
* obj0
= 0 ;
30416 PyObject
* obj1
= 0 ;
30417 char *kwnames
[] = {
30418 (char *) "self",(char *) "action", NULL
30421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30423 if (SWIG_arg_fail(1)) SWIG_fail
;
30425 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30426 if (SWIG_arg_fail(2)) SWIG_fail
;
30429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30430 (arg1
)->SetDefaultAction(arg2
);
30432 wxPyEndAllowThreads(__tstate
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30435 Py_INCREF(Py_None
); resultobj
= Py_None
;
30442 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
= NULL
;
30444 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30445 wxDragResult result
;
30446 PyObject
* obj0
= 0 ;
30447 char *kwnames
[] = {
30448 (char *) "self", NULL
30451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30453 if (SWIG_arg_fail(1)) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 resultobj
= SWIG_From_int((result
));
30468 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30471 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30473 return Py_BuildValue((char *)"");
30475 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
= NULL
;
30477 wxPyTextDropTarget
*result
;
30478 char *kwnames
[] = {
30482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30485 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30497 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30498 PyObject
*resultobj
= NULL
;
30499 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30500 PyObject
*arg2
= (PyObject
*) 0 ;
30501 PyObject
*arg3
= (PyObject
*) 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 PyObject
* obj2
= 0 ;
30505 char *kwnames
[] = {
30506 (char *) "self",(char *) "self",(char *) "_class", NULL
30509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30511 if (SWIG_arg_fail(1)) SWIG_fail
;
30515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30516 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30518 wxPyEndAllowThreads(__tstate
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 Py_INCREF(Py_None
); resultobj
= Py_None
;
30528 static PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
= NULL
;
30530 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30533 wxString
*arg4
= 0 ;
30535 bool temp4
= false ;
30536 PyObject
* obj0
= 0 ;
30537 PyObject
* obj1
= 0 ;
30538 PyObject
* obj2
= 0 ;
30539 PyObject
* obj3
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30546 if (SWIG_arg_fail(1)) SWIG_fail
;
30548 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30549 if (SWIG_arg_fail(2)) SWIG_fail
;
30552 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30553 if (SWIG_arg_fail(3)) SWIG_fail
;
30556 arg4
= wxString_in_helper(obj3
);
30557 if (arg4
== NULL
) SWIG_fail
;
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30584 static PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30585 PyObject
*resultobj
= NULL
;
30586 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30589 wxDragResult arg4
;
30590 wxDragResult result
;
30591 PyObject
* obj0
= 0 ;
30592 PyObject
* obj1
= 0 ;
30593 PyObject
* obj2
= 0 ;
30594 PyObject
* obj3
= 0 ;
30595 char *kwnames
[] = {
30596 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30601 if (SWIG_arg_fail(1)) SWIG_fail
;
30603 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30604 if (SWIG_arg_fail(2)) SWIG_fail
;
30607 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30608 if (SWIG_arg_fail(3)) SWIG_fail
;
30611 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30612 if (SWIG_arg_fail(4)) SWIG_fail
;
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 resultobj
= SWIG_From_int((result
));
30628 static PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
= NULL
;
30630 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30633 wxDragResult arg4
;
30634 wxDragResult result
;
30635 PyObject
* obj0
= 0 ;
30636 PyObject
* obj1
= 0 ;
30637 PyObject
* obj2
= 0 ;
30638 PyObject
* obj3
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30645 if (SWIG_arg_fail(1)) SWIG_fail
;
30647 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30648 if (SWIG_arg_fail(2)) SWIG_fail
;
30651 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30652 if (SWIG_arg_fail(3)) SWIG_fail
;
30655 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30656 if (SWIG_arg_fail(4)) SWIG_fail
;
30659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30660 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 resultobj
= SWIG_From_int((result
));
30672 static PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
= NULL
;
30674 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30675 PyObject
* obj0
= 0 ;
30676 char *kwnames
[] = {
30677 (char *) "self", NULL
30680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30682 if (SWIG_arg_fail(1)) SWIG_fail
;
30684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 wxPyEndAllowThreads(__tstate
);
30688 if (PyErr_Occurred()) SWIG_fail
;
30690 Py_INCREF(Py_None
); resultobj
= Py_None
;
30697 static PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30698 PyObject
*resultobj
= NULL
;
30699 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 PyObject
* obj2
= 0 ;
30706 char *kwnames
[] = {
30707 (char *) "self",(char *) "x",(char *) "y", NULL
30710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30712 if (SWIG_arg_fail(1)) SWIG_fail
;
30714 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30715 if (SWIG_arg_fail(2)) SWIG_fail
;
30718 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30719 if (SWIG_arg_fail(3)) SWIG_fail
;
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30737 static PyObject
*_wrap_TextDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
= NULL
;
30739 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30742 wxDragResult arg4
;
30743 wxDragResult result
;
30744 PyObject
* obj0
= 0 ;
30745 PyObject
* obj1
= 0 ;
30746 PyObject
* obj2
= 0 ;
30747 PyObject
* obj3
= 0 ;
30748 char *kwnames
[] = {
30749 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30754 if (SWIG_arg_fail(1)) SWIG_fail
;
30756 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30757 if (SWIG_arg_fail(2)) SWIG_fail
;
30760 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30761 if (SWIG_arg_fail(3)) SWIG_fail
;
30764 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30765 if (SWIG_arg_fail(4)) SWIG_fail
;
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= SWIG_From_int((result
));
30781 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30784 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30786 return Py_BuildValue((char *)"");
30788 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
= NULL
;
30790 wxPyFileDropTarget
*result
;
30791 char *kwnames
[] = {
30795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30810 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30811 PyObject
*resultobj
= NULL
;
30812 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30813 PyObject
*arg2
= (PyObject
*) 0 ;
30814 PyObject
*arg3
= (PyObject
*) 0 ;
30815 PyObject
* obj0
= 0 ;
30816 PyObject
* obj1
= 0 ;
30817 PyObject
* obj2
= 0 ;
30818 char *kwnames
[] = {
30819 (char *) "self",(char *) "self",(char *) "_class", NULL
30822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30824 if (SWIG_arg_fail(1)) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 Py_INCREF(Py_None
); resultobj
= Py_None
;
30841 static PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
= NULL
;
30843 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30846 wxArrayString
*arg4
= 0 ;
30848 bool temp4
= false ;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 PyObject
* obj2
= 0 ;
30852 PyObject
* obj3
= 0 ;
30853 char *kwnames
[] = {
30854 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
30857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30859 if (SWIG_arg_fail(1)) SWIG_fail
;
30861 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30862 if (SWIG_arg_fail(2)) SWIG_fail
;
30865 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30866 if (SWIG_arg_fail(3)) SWIG_fail
;
30869 if (! PySequence_Check(obj3
)) {
30870 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
30873 arg4
= new wxArrayString
;
30875 int i
, len
=PySequence_Length(obj3
);
30876 for (i
=0; i
<len
; i
++) {
30877 PyObject
* item
= PySequence_GetItem(obj3
, i
);
30878 wxString
* s
= wxString_in_helper(item
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
30889 wxPyEndAllowThreads(__tstate
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30896 if (temp4
) delete arg4
;
30901 if (temp4
) delete arg4
;
30907 static PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
= NULL
;
30909 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30912 wxDragResult arg4
;
30913 wxDragResult result
;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 PyObject
* obj2
= 0 ;
30917 PyObject
* obj3
= 0 ;
30918 char *kwnames
[] = {
30919 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30924 if (SWIG_arg_fail(1)) SWIG_fail
;
30926 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30927 if (SWIG_arg_fail(2)) SWIG_fail
;
30930 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30931 if (SWIG_arg_fail(3)) SWIG_fail
;
30934 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30935 if (SWIG_arg_fail(4)) SWIG_fail
;
30938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= SWIG_From_int((result
));
30951 static PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30952 PyObject
*resultobj
= NULL
;
30953 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30956 wxDragResult arg4
;
30957 wxDragResult result
;
30958 PyObject
* obj0
= 0 ;
30959 PyObject
* obj1
= 0 ;
30960 PyObject
* obj2
= 0 ;
30961 PyObject
* obj3
= 0 ;
30962 char *kwnames
[] = {
30963 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30968 if (SWIG_arg_fail(1)) SWIG_fail
;
30970 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30971 if (SWIG_arg_fail(2)) SWIG_fail
;
30974 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30975 if (SWIG_arg_fail(3)) SWIG_fail
;
30978 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30979 if (SWIG_arg_fail(4)) SWIG_fail
;
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= SWIG_From_int((result
));
30995 static PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
= NULL
;
30997 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30998 PyObject
* obj0
= 0 ;
30999 char *kwnames
[] = {
31000 (char *) "self", NULL
31003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
31004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31005 if (SWIG_arg_fail(1)) SWIG_fail
;
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 Py_INCREF(Py_None
); resultobj
= Py_None
;
31020 static PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
= NULL
;
31022 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31026 PyObject
* obj0
= 0 ;
31027 PyObject
* obj1
= 0 ;
31028 PyObject
* obj2
= 0 ;
31029 char *kwnames
[] = {
31030 (char *) "self",(char *) "x",(char *) "y", NULL
31033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31035 if (SWIG_arg_fail(1)) SWIG_fail
;
31037 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31038 if (SWIG_arg_fail(2)) SWIG_fail
;
31041 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31042 if (SWIG_arg_fail(3)) SWIG_fail
;
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31060 static PyObject
*_wrap_FileDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
= NULL
;
31062 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31065 wxDragResult arg4
;
31066 wxDragResult result
;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 PyObject
* obj2
= 0 ;
31070 PyObject
* obj3
= 0 ;
31071 char *kwnames
[] = {
31072 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31077 if (SWIG_arg_fail(1)) SWIG_fail
;
31079 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31080 if (SWIG_arg_fail(2)) SWIG_fail
;
31083 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31084 if (SWIG_arg_fail(3)) SWIG_fail
;
31087 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
31088 if (SWIG_arg_fail(4)) SWIG_fail
;
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31097 resultobj
= SWIG_From_int((result
));
31104 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
31106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31107 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
31109 return Py_BuildValue((char *)"");
31111 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
= NULL
;
31113 wxClipboard
*result
;
31114 char *kwnames
[] = {
31118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
31120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31121 result
= (wxClipboard
*)new wxClipboard();
31123 wxPyEndAllowThreads(__tstate
);
31124 if (PyErr_Occurred()) SWIG_fail
;
31126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
31133 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31134 PyObject
*resultobj
= NULL
;
31135 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31136 PyObject
* obj0
= 0 ;
31137 char *kwnames
[] = {
31138 (char *) "self", NULL
31141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
31142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31143 if (SWIG_arg_fail(1)) SWIG_fail
;
31145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 wxPyEndAllowThreads(__tstate
);
31149 if (PyErr_Occurred()) SWIG_fail
;
31151 Py_INCREF(Py_None
); resultobj
= Py_None
;
31158 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31159 PyObject
*resultobj
= NULL
;
31160 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31162 PyObject
* obj0
= 0 ;
31163 char *kwnames
[] = {
31164 (char *) "self", NULL
31167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 result
= (bool)(arg1
)->Open();
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31186 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
= NULL
;
31188 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 char *kwnames
[] = {
31191 (char *) "self", NULL
31194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
31195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31196 if (SWIG_arg_fail(1)) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 Py_INCREF(Py_None
); resultobj
= Py_None
;
31211 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31212 PyObject
*resultobj
= NULL
;
31213 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31215 PyObject
* obj0
= 0 ;
31216 char *kwnames
[] = {
31217 (char *) "self", NULL
31220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
31221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31222 if (SWIG_arg_fail(1)) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31239 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31240 PyObject
*resultobj
= NULL
;
31241 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31242 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 char *kwnames
[] = {
31247 (char *) "self",(char *) "data", NULL
31250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31252 if (SWIG_arg_fail(1)) SWIG_fail
;
31253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31254 if (SWIG_arg_fail(2)) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 result
= (bool)(arg1
)->AddData(arg2
);
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31271 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
= NULL
;
31273 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31274 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31276 PyObject
* obj0
= 0 ;
31277 PyObject
* obj1
= 0 ;
31278 char *kwnames
[] = {
31279 (char *) "self",(char *) "data", NULL
31282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31284 if (SWIG_arg_fail(1)) SWIG_fail
;
31285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31286 if (SWIG_arg_fail(2)) SWIG_fail
;
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31289 result
= (bool)(arg1
)->SetData(arg2
);
31291 wxPyEndAllowThreads(__tstate
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31303 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31304 PyObject
*resultobj
= NULL
;
31305 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31306 wxDataFormat
*arg2
= 0 ;
31308 PyObject
* obj0
= 0 ;
31309 PyObject
* obj1
= 0 ;
31310 char *kwnames
[] = {
31311 (char *) "self",(char *) "format", NULL
31314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31316 if (SWIG_arg_fail(1)) SWIG_fail
;
31318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31319 if (SWIG_arg_fail(2)) SWIG_fail
;
31320 if (arg2
== NULL
) {
31321 SWIG_null_ref("wxDataFormat");
31323 if (SWIG_arg_fail(2)) SWIG_fail
;
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31329 wxPyEndAllowThreads(__tstate
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31341 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31342 PyObject
*resultobj
= NULL
;
31343 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31344 wxDataObject
*arg2
= 0 ;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 char *kwnames
[] = {
31349 (char *) "self",(char *) "data", NULL
31352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31354 if (SWIG_arg_fail(1)) SWIG_fail
;
31356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31357 if (SWIG_arg_fail(2)) SWIG_fail
;
31358 if (arg2
== NULL
) {
31359 SWIG_null_ref("wxDataObject");
31361 if (SWIG_arg_fail(2)) SWIG_fail
;
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 result
= (bool)(arg1
)->GetData(*arg2
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31379 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
= NULL
;
31381 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31382 PyObject
* obj0
= 0 ;
31383 char *kwnames
[] = {
31384 (char *) "self", NULL
31387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31389 if (SWIG_arg_fail(1)) SWIG_fail
;
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 Py_INCREF(Py_None
); resultobj
= Py_None
;
31404 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
= NULL
;
31406 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31408 PyObject
* obj0
= 0 ;
31409 char *kwnames
[] = {
31410 (char *) "self", NULL
31413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31415 if (SWIG_arg_fail(1)) SWIG_fail
;
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 result
= (bool)(arg1
)->Flush();
31420 wxPyEndAllowThreads(__tstate
);
31421 if (PyErr_Occurred()) SWIG_fail
;
31424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31432 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31433 PyObject
*resultobj
= NULL
;
31434 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31435 bool arg2
= (bool) true ;
31436 PyObject
* obj0
= 0 ;
31437 PyObject
* obj1
= 0 ;
31438 char *kwnames
[] = {
31439 (char *) "self",(char *) "primary", NULL
31442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31444 if (SWIG_arg_fail(1)) SWIG_fail
;
31447 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31448 if (SWIG_arg_fail(2)) SWIG_fail
;
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 (arg1
)->UsePrimarySelection(arg2
);
31455 wxPyEndAllowThreads(__tstate
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 Py_INCREF(Py_None
); resultobj
= Py_None
;
31465 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31466 PyObject
*resultobj
= NULL
;
31467 wxClipboard
*result
;
31468 char *kwnames
[] = {
31472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (wxClipboard
*)wxClipboard::Get();
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31487 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31490 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31492 return Py_BuildValue((char *)"");
31494 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31495 PyObject
*resultobj
= NULL
;
31496 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31497 wxClipboardLocker
*result
;
31498 PyObject
* obj0
= 0 ;
31499 char *kwnames
[] = {
31500 (char *) "clipboard", NULL
31503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31506 if (SWIG_arg_fail(1)) SWIG_fail
;
31509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31510 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31512 wxPyEndAllowThreads(__tstate
);
31513 if (PyErr_Occurred()) SWIG_fail
;
31515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31522 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= NULL
;
31524 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31525 PyObject
* obj0
= 0 ;
31526 char *kwnames
[] = {
31527 (char *) "self", NULL
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31532 if (SWIG_arg_fail(1)) SWIG_fail
;
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 Py_INCREF(Py_None
); resultobj
= Py_None
;
31547 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31548 PyObject
*resultobj
= NULL
;
31549 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31551 PyObject
* obj0
= 0 ;
31552 char *kwnames
[] = {
31553 (char *) "self", NULL
31556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31558 if (SWIG_arg_fail(1)) SWIG_fail
;
31560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31561 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31575 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31578 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31580 return Py_BuildValue((char *)"");
31582 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
= NULL
;
31584 int arg1
= (int) 0 ;
31585 int arg2
= (int) 0 ;
31586 int arg3
= (int) 0 ;
31587 int arg4
= (int) 0 ;
31588 wxVideoMode
*result
;
31589 PyObject
* obj0
= 0 ;
31590 PyObject
* obj1
= 0 ;
31591 PyObject
* obj2
= 0 ;
31592 PyObject
* obj3
= 0 ;
31593 char *kwnames
[] = {
31594 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31600 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31601 if (SWIG_arg_fail(1)) SWIG_fail
;
31606 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31607 if (SWIG_arg_fail(2)) SWIG_fail
;
31612 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31613 if (SWIG_arg_fail(3)) SWIG_fail
;
31618 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31619 if (SWIG_arg_fail(4)) SWIG_fail
;
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31636 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31637 PyObject
*resultobj
= NULL
;
31638 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31639 PyObject
* obj0
= 0 ;
31640 char *kwnames
[] = {
31641 (char *) "self", NULL
31644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31646 if (SWIG_arg_fail(1)) SWIG_fail
;
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 Py_INCREF(Py_None
); resultobj
= Py_None
;
31661 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
= NULL
;
31663 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31664 wxVideoMode
*arg2
= 0 ;
31666 PyObject
* obj0
= 0 ;
31667 PyObject
* obj1
= 0 ;
31668 char *kwnames
[] = {
31669 (char *) "self",(char *) "other", NULL
31672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31674 if (SWIG_arg_fail(1)) SWIG_fail
;
31676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31677 if (SWIG_arg_fail(2)) SWIG_fail
;
31678 if (arg2
== NULL
) {
31679 SWIG_null_ref("wxVideoMode");
31681 if (SWIG_arg_fail(2)) SWIG_fail
;
31684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31685 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31687 wxPyEndAllowThreads(__tstate
);
31688 if (PyErr_Occurred()) SWIG_fail
;
31691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31699 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
= NULL
;
31701 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31703 PyObject
* obj0
= 0 ;
31704 char *kwnames
[] = {
31705 (char *) "self", NULL
31708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31710 if (SWIG_arg_fail(1)) SWIG_fail
;
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31715 wxPyEndAllowThreads(__tstate
);
31716 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_From_int(static_cast<int >(result
));
31727 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31728 PyObject
*resultobj
= NULL
;
31729 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31731 PyObject
* obj0
= 0 ;
31732 char *kwnames
[] = {
31733 (char *) "self", NULL
31736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31738 if (SWIG_arg_fail(1)) SWIG_fail
;
31740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31741 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= SWIG_From_int(static_cast<int >(result
));
31755 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31756 PyObject
*resultobj
= NULL
;
31757 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31759 PyObject
* obj0
= 0 ;
31760 char *kwnames
[] = {
31761 (char *) "self", NULL
31764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31766 if (SWIG_arg_fail(1)) SWIG_fail
;
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31771 wxPyEndAllowThreads(__tstate
);
31772 if (PyErr_Occurred()) SWIG_fail
;
31775 resultobj
= SWIG_From_int(static_cast<int >(result
));
31783 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31784 PyObject
*resultobj
= NULL
;
31785 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31787 PyObject
* obj0
= 0 ;
31788 char *kwnames
[] = {
31789 (char *) "self", NULL
31792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31794 if (SWIG_arg_fail(1)) SWIG_fail
;
31796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31797 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31799 wxPyEndAllowThreads(__tstate
);
31800 if (PyErr_Occurred()) SWIG_fail
;
31803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31811 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31812 PyObject
*resultobj
= NULL
;
31813 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31814 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31816 PyObject
* obj0
= 0 ;
31817 PyObject
* obj1
= 0 ;
31818 char *kwnames
[] = {
31819 (char *) "self",(char *) "other", NULL
31822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31824 if (SWIG_arg_fail(1)) SWIG_fail
;
31825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31826 if (SWIG_arg_fail(2)) SWIG_fail
;
31828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31829 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31831 wxPyEndAllowThreads(__tstate
);
31832 if (PyErr_Occurred()) SWIG_fail
;
31835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31843 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31844 PyObject
*resultobj
= NULL
;
31845 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31846 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31848 PyObject
* obj0
= 0 ;
31849 PyObject
* obj1
= 0 ;
31850 char *kwnames
[] = {
31851 (char *) "self",(char *) "other", NULL
31854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31856 if (SWIG_arg_fail(1)) SWIG_fail
;
31857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31858 if (SWIG_arg_fail(2)) SWIG_fail
;
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31875 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31876 PyObject
*resultobj
= NULL
;
31877 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31879 PyObject
* obj0
= 0 ;
31880 PyObject
* obj1
= 0 ;
31881 char *kwnames
[] = {
31882 (char *) "self",(char *) "w", NULL
31885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31887 if (SWIG_arg_fail(1)) SWIG_fail
;
31889 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31890 if (SWIG_arg_fail(2)) SWIG_fail
;
31892 if (arg1
) (arg1
)->w
= arg2
;
31894 Py_INCREF(Py_None
); resultobj
= Py_None
;
31901 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31902 PyObject
*resultobj
= NULL
;
31903 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31905 PyObject
* obj0
= 0 ;
31906 char *kwnames
[] = {
31907 (char *) "self", NULL
31910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31912 if (SWIG_arg_fail(1)) SWIG_fail
;
31913 result
= (int) ((arg1
)->w
);
31916 resultobj
= SWIG_From_int(static_cast<int >(result
));
31924 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
= NULL
;
31926 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31928 PyObject
* obj0
= 0 ;
31929 PyObject
* obj1
= 0 ;
31930 char *kwnames
[] = {
31931 (char *) "self",(char *) "h", NULL
31934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31936 if (SWIG_arg_fail(1)) SWIG_fail
;
31938 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31939 if (SWIG_arg_fail(2)) SWIG_fail
;
31941 if (arg1
) (arg1
)->h
= arg2
;
31943 Py_INCREF(Py_None
); resultobj
= Py_None
;
31950 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31951 PyObject
*resultobj
= NULL
;
31952 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31954 PyObject
* obj0
= 0 ;
31955 char *kwnames
[] = {
31956 (char *) "self", NULL
31959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
31960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31961 if (SWIG_arg_fail(1)) SWIG_fail
;
31962 result
= (int) ((arg1
)->h
);
31965 resultobj
= SWIG_From_int(static_cast<int >(result
));
31973 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
= NULL
;
31975 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31977 PyObject
* obj0
= 0 ;
31978 PyObject
* obj1
= 0 ;
31979 char *kwnames
[] = {
31980 (char *) "self",(char *) "bpp", NULL
31983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31985 if (SWIG_arg_fail(1)) SWIG_fail
;
31987 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31988 if (SWIG_arg_fail(2)) SWIG_fail
;
31990 if (arg1
) (arg1
)->bpp
= arg2
;
31992 Py_INCREF(Py_None
); resultobj
= Py_None
;
31999 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32000 PyObject
*resultobj
= NULL
;
32001 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32003 PyObject
* obj0
= 0 ;
32004 char *kwnames
[] = {
32005 (char *) "self", NULL
32008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
32009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32010 if (SWIG_arg_fail(1)) SWIG_fail
;
32011 result
= (int) ((arg1
)->bpp
);
32014 resultobj
= SWIG_From_int(static_cast<int >(result
));
32022 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32023 PyObject
*resultobj
= NULL
;
32024 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32026 PyObject
* obj0
= 0 ;
32027 PyObject
* obj1
= 0 ;
32028 char *kwnames
[] = {
32029 (char *) "self",(char *) "refresh", NULL
32032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
32033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32034 if (SWIG_arg_fail(1)) SWIG_fail
;
32036 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32037 if (SWIG_arg_fail(2)) SWIG_fail
;
32039 if (arg1
) (arg1
)->refresh
= arg2
;
32041 Py_INCREF(Py_None
); resultobj
= Py_None
;
32048 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
= NULL
;
32050 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32052 PyObject
* obj0
= 0 ;
32053 char *kwnames
[] = {
32054 (char *) "self", NULL
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
32058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32059 if (SWIG_arg_fail(1)) SWIG_fail
;
32060 result
= (int) ((arg1
)->refresh
);
32063 resultobj
= SWIG_From_int(static_cast<int >(result
));
32071 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
32073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32074 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
32076 return Py_BuildValue((char *)"");
32078 static int _wrap_DefaultVideoMode_set(PyObject
*) {
32079 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
32084 static PyObject
*_wrap_DefaultVideoMode_get(void) {
32085 PyObject
*pyobj
= NULL
;
32087 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
32092 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32093 PyObject
*resultobj
= NULL
;
32094 size_t arg1
= (size_t) 0 ;
32096 PyObject
* obj0
= 0 ;
32097 char *kwnames
[] = {
32098 (char *) "index", NULL
32101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
32104 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
32105 if (SWIG_arg_fail(1)) SWIG_fail
;
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 result
= (wxDisplay
*)new wxDisplay(arg1
);
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
32122 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32123 PyObject
*resultobj
= NULL
;
32124 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32125 PyObject
* obj0
= 0 ;
32126 char *kwnames
[] = {
32127 (char *) "self", NULL
32130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
32131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32132 if (SWIG_arg_fail(1)) SWIG_fail
;
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32140 Py_INCREF(Py_None
); resultobj
= Py_None
;
32147 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32148 PyObject
*resultobj
= NULL
;
32150 char *kwnames
[] = {
32154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 result
= (size_t)wxDisplay::GetCount();
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32163 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
32171 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
= NULL
;
32173 wxPoint
*arg1
= 0 ;
32176 PyObject
* obj0
= 0 ;
32177 char *kwnames
[] = {
32178 (char *) "pt", NULL
32181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
32184 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32188 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32194 resultobj
= SWIG_From_int(static_cast<int >(result
));
32202 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32203 PyObject
*resultobj
= NULL
;
32204 wxWindow
*arg1
= (wxWindow
*) 0 ;
32206 PyObject
* obj0
= 0 ;
32207 char *kwnames
[] = {
32208 (char *) "window", NULL
32211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32213 if (SWIG_arg_fail(1)) SWIG_fail
;
32215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32216 result
= (int)wxDisplay::GetFromWindow(arg1
);
32218 wxPyEndAllowThreads(__tstate
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32222 resultobj
= SWIG_From_int(static_cast<int >(result
));
32230 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
= NULL
;
32232 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32234 PyObject
* obj0
= 0 ;
32235 char *kwnames
[] = {
32236 (char *) "self", NULL
32239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32241 if (SWIG_arg_fail(1)) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32258 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
= NULL
;
32260 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32262 PyObject
* obj0
= 0 ;
32263 char *kwnames
[] = {
32264 (char *) "self", NULL
32267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32269 if (SWIG_arg_fail(1)) SWIG_fail
;
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32272 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32278 wxRect
* resultptr
;
32279 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32288 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32289 PyObject
*resultobj
= NULL
;
32290 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32292 PyObject
* obj0
= 0 ;
32293 char *kwnames
[] = {
32294 (char *) "self", NULL
32297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32299 if (SWIG_arg_fail(1)) SWIG_fail
;
32301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32302 result
= ((wxDisplay
const *)arg1
)->GetName();
32304 wxPyEndAllowThreads(__tstate
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32320 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32321 PyObject
*resultobj
= NULL
;
32322 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32324 PyObject
* obj0
= 0 ;
32325 char *kwnames
[] = {
32326 (char *) "self", NULL
32329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32331 if (SWIG_arg_fail(1)) SWIG_fail
;
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32336 wxPyEndAllowThreads(__tstate
);
32337 if (PyErr_Occurred()) SWIG_fail
;
32340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32348 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
= NULL
;
32350 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32351 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32352 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32354 PyObject
* obj0
= 0 ;
32355 PyObject
* obj1
= 0 ;
32356 char *kwnames
[] = {
32357 (char *) "self",(char *) "mode", NULL
32360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32362 if (SWIG_arg_fail(1)) SWIG_fail
;
32365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32366 if (SWIG_arg_fail(2)) SWIG_fail
;
32367 if (arg2
== NULL
) {
32368 SWIG_null_ref("wxVideoMode");
32370 if (SWIG_arg_fail(2)) SWIG_fail
;
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32377 wxPyEndAllowThreads(__tstate
);
32378 if (PyErr_Occurred()) SWIG_fail
;
32380 resultobj
= result
;
32387 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32388 PyObject
*resultobj
= NULL
;
32389 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32390 wxVideoMode result
;
32391 PyObject
* obj0
= 0 ;
32392 char *kwnames
[] = {
32393 (char *) "self", NULL
32396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32398 if (SWIG_arg_fail(1)) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32407 wxVideoMode
* resultptr
;
32408 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32417 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32418 PyObject
*resultobj
= NULL
;
32419 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32420 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32421 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 char *kwnames
[] = {
32426 (char *) "self",(char *) "mode", NULL
32429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32431 if (SWIG_arg_fail(1)) SWIG_fail
;
32434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32435 if (SWIG_arg_fail(2)) SWIG_fail
;
32436 if (arg2
== NULL
) {
32437 SWIG_null_ref("wxVideoMode");
32439 if (SWIG_arg_fail(2)) SWIG_fail
;
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32458 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32459 PyObject
*resultobj
= NULL
;
32460 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32461 PyObject
* obj0
= 0 ;
32462 char *kwnames
[] = {
32463 (char *) "self", NULL
32466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32468 if (SWIG_arg_fail(1)) SWIG_fail
;
32470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32471 (arg1
)->ResetMode();
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 Py_INCREF(Py_None
); resultobj
= Py_None
;
32483 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32486 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32488 return Py_BuildValue((char *)"");
32490 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32491 PyObject
*resultobj
= NULL
;
32492 wxStandardPaths
*result
;
32493 char *kwnames
[] = {
32497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32502 wxPyEndAllowThreads(__tstate
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32512 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
= NULL
;
32514 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32516 PyObject
* obj0
= 0 ;
32517 char *kwnames
[] = {
32518 (char *) "self", NULL
32521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32523 if (SWIG_arg_fail(1)) SWIG_fail
;
32525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32526 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32544 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
= NULL
;
32546 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32548 PyObject
* obj0
= 0 ;
32549 char *kwnames
[] = {
32550 (char *) "self", NULL
32553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32555 if (SWIG_arg_fail(1)) SWIG_fail
;
32557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32576 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
= NULL
;
32578 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32580 PyObject
* obj0
= 0 ;
32581 char *kwnames
[] = {
32582 (char *) "self", NULL
32585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32587 if (SWIG_arg_fail(1)) SWIG_fail
;
32589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32590 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32592 wxPyEndAllowThreads(__tstate
);
32593 if (PyErr_Occurred()) SWIG_fail
;
32597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32608 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32609 PyObject
*resultobj
= NULL
;
32610 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32612 PyObject
* obj0
= 0 ;
32613 char *kwnames
[] = {
32614 (char *) "self", NULL
32617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32619 if (SWIG_arg_fail(1)) SWIG_fail
;
32621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32622 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32624 wxPyEndAllowThreads(__tstate
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32640 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32641 PyObject
*resultobj
= NULL
;
32642 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32644 PyObject
* obj0
= 0 ;
32645 char *kwnames
[] = {
32646 (char *) "self", NULL
32649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32651 if (SWIG_arg_fail(1)) SWIG_fail
;
32653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32654 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32672 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32673 PyObject
*resultobj
= NULL
;
32674 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32676 PyObject
* obj0
= 0 ;
32677 char *kwnames
[] = {
32678 (char *) "self", NULL
32681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32683 if (SWIG_arg_fail(1)) SWIG_fail
;
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32704 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
= NULL
;
32706 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32708 PyObject
* obj0
= 0 ;
32709 char *kwnames
[] = {
32710 (char *) "self", NULL
32713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32715 if (SWIG_arg_fail(1)) SWIG_fail
;
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32736 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32737 PyObject
*resultobj
= NULL
;
32738 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32739 wxString
*arg2
= 0 ;
32740 bool temp2
= false ;
32741 PyObject
* obj0
= 0 ;
32742 PyObject
* obj1
= 0 ;
32743 char *kwnames
[] = {
32744 (char *) "self",(char *) "prefix", NULL
32747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32749 if (SWIG_arg_fail(1)) SWIG_fail
;
32751 arg2
= wxString_in_helper(obj1
);
32752 if (arg2
== NULL
) SWIG_fail
;
32756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32757 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
32759 wxPyEndAllowThreads(__tstate
);
32760 if (PyErr_Occurred()) SWIG_fail
;
32762 Py_INCREF(Py_None
); resultobj
= Py_None
;
32777 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32778 PyObject
*resultobj
= NULL
;
32779 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32781 PyObject
* obj0
= 0 ;
32782 char *kwnames
[] = {
32783 (char *) "self", NULL
32786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32788 if (SWIG_arg_fail(1)) SWIG_fail
;
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32809 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32812 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32814 return Py_BuildValue((char *)"");
32816 static PyMethodDef SwigMethods
[] = {
32817 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32824 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32832 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32874 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32914 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32921 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"delete_ToolTip", (PyCFunction
) _wrap_delete_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32930 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
32949 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
32952 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
32955 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
32958 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
32964 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
32978 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
32984 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
32990 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
32993 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"Timer_Notify", (PyCFunction
) _wrap_Timer_Notify
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
33008 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
33011 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
33012 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
33015 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"delete_Log", (PyCFunction
) _wrap_delete_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
33043 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
33045 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
33047 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
33049 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
33056 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
33062 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
33066 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
33080 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
33084 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
33087 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
33104 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
33112 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
33159 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
33177 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
33187 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33203 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33219 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33233 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33244 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33287 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33290 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33293 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33297 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33371 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33376 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33385 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33396 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33397 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33398 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33399 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33403 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33410 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33416 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33418 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33428 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33455 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33456 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33461 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33473 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33474 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33475 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33481 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33483 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33485 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33487 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33495 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33497 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33499 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33500 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33503 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33504 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33505 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33506 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33509 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33510 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33511 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33517 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33518 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33519 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33520 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33521 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33523 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33524 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33525 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33526 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33527 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33528 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33529 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33530 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33531 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33532 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33533 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33534 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33535 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33536 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33537 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33538 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33539 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33540 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33541 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33542 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33543 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33544 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33545 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33546 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33547 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33548 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33549 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33550 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33551 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33552 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33553 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33554 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33555 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33556 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33557 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33558 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33559 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33560 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33561 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33562 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33563 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33564 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33565 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33566 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33567 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33568 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33569 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33570 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33571 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33572 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33573 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33574 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33575 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33576 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33577 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33578 { (char *)"DropTarget_OnLeave", (PyCFunction
) _wrap_DropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33579 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33580 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33581 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33582 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33583 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33584 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33585 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33586 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33587 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33588 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33589 { (char *)"TextDropTarget_OnLeave", (PyCFunction
) _wrap_TextDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33590 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33591 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33592 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33593 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33594 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33595 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33596 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33597 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33598 { (char *)"FileDropTarget_OnLeave", (PyCFunction
) _wrap_FileDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33599 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33600 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33601 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33602 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33603 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33604 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33605 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33606 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33607 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33608 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33609 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33610 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33611 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33612 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33613 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33614 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33615 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33616 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33617 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33618 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33619 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33620 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33621 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33622 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33623 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33624 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33625 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33626 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33627 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33628 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33629 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33630 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33631 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33632 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33633 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33634 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33635 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33636 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33637 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33638 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33639 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33640 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33641 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33642 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33643 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33644 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33645 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33646 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33647 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33648 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33649 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33650 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33651 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33652 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33653 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33654 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33655 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33656 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33657 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33658 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33659 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33660 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33661 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33662 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33663 { NULL
, NULL
, 0, NULL
}
33667 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33669 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33670 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33672 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33673 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33675 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33676 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33678 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33679 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33681 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33682 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33684 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33685 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33687 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33688 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33690 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33691 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33693 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33694 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33696 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33697 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33699 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33700 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33702 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33703 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33705 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33706 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33708 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33711 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33712 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33714 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33715 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33717 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33718 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33720 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33721 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33723 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33724 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33726 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33727 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33729 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33732 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33733 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33735 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33736 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33738 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33739 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33741 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33742 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33744 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33745 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33747 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33748 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33750 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33751 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33753 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33754 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33756 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33757 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33759 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33760 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33762 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33763 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33765 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33766 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33768 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33769 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33771 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33774 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33775 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33777 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33778 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33780 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33781 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33783 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33784 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33786 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33787 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33789 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33790 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33792 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33793 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33795 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33796 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33798 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33799 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33801 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33802 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33804 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33805 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33807 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33808 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33810 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33811 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33813 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33814 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33816 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33817 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33819 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33820 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33822 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33823 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33825 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33826 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33828 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33829 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33831 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33832 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33834 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33835 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33837 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33838 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33840 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33841 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33843 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33844 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33846 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33847 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33849 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33850 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33852 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33853 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33855 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33856 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33858 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33859 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33861 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33864 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33865 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33867 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33868 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33870 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33871 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33873 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33874 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33876 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33877 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33879 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33880 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33882 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33883 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33885 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33886 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33888 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33889 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33891 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33892 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33894 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33895 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33897 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33898 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33900 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33901 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33903 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33904 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33906 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33907 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33909 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33910 return (void *)((wxObject
*) ((wxSizer
*) x
));
33912 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33913 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33915 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33916 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33918 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33921 static void *_p_wxEventTo_p_wxObject(void *x
) {
33922 return (void *)((wxObject
*) ((wxEvent
*) x
));
33924 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33925 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33927 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33928 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33930 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33931 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33933 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33934 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33936 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33937 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33939 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33940 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33942 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33943 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33945 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33946 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33948 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33951 static void *_p_wxControlTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33954 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33955 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33957 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
33958 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
33960 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33961 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33963 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
33964 return (void *)((wxObject
*) ((wxClipboard
*) x
));
33966 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33967 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33969 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33970 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33972 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33975 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33976 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33978 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
33979 return (void *)((wxObject
*) ((wxToolTip
*) x
));
33981 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33982 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33984 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33987 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33988 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33990 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33993 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33994 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33996 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33997 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33999 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
34000 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
34002 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
34003 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
34005 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
34006 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
34008 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
34009 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
34011 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
34012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
34014 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
34015 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
34017 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
34018 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
34020 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
34021 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
34023 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
34024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
34026 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
34027 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
34029 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
34030 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
34032 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
34033 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
34035 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
34036 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
34038 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
34039 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
34041 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
34042 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
34044 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
34045 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
34047 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
34048 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
34050 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
34051 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
34053 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
34054 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
34056 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
34057 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
34059 static void *_p_wxImageTo_p_wxObject(void *x
) {
34060 return (void *)((wxObject
*) ((wxImage
*) x
));
34062 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
34063 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
34065 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
34066 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
34068 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
34069 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
34071 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
34072 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34074 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
34075 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34077 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34078 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34080 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34081 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34083 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34084 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34086 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34089 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
34090 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
34092 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34093 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34095 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34096 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34098 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34099 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34101 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34102 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34104 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34105 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34107 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34108 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34110 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34111 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34113 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
34114 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
34116 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34119 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34120 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34122 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34123 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34125 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34126 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34128 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34131 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
34132 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
34134 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34137 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34140 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34141 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34143 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
34144 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
34146 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
34147 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
34149 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
34150 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
34152 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
34153 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
34155 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
34156 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
34158 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
34159 return (void *)((wxLog
*) ((wxLogChain
*) x
));
34161 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
34162 return (void *)((wxLog
*) ((wxLogGui
*) x
));
34164 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
34165 return (void *)((wxLog
*) ((wxPyLog
*) x
));
34167 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34168 return (void *)((wxWindow
*) ((wxControl
*) x
));
34170 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34171 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34173 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34174 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34176 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
34177 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
34179 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
34180 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
34182 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
34183 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34184 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
34185 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34186 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34187 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34188 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
34189 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34190 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34191 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34192 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34193 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34194 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34195 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34196 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34197 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34198 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34199 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34200 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34201 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34202 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34203 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34204 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34205 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34206 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34207 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34208 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34209 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34210 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34211 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34212 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34213 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34214 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34215 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34216 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34217 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34218 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34219 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34220 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34221 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34222 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34223 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34224 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34225 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34226 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34227 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34228 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34229 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34230 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34231 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34232 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34233 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34234 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34235 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34236 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34237 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34238 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34239 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34240 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34241 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34242 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34243 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34244 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34245 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34246 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34247 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34248 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34249 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34250 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34251 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34252 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34253 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34254 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34255 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34256 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34257 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34258 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34259 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34260 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34261 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34262 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34263 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34264 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34265 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34266 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34267 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34268 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34269 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34270 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34271 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34272 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34273 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34274 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34275 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34276 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34277 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34278 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34279 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34280 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34281 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34282 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34283 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34284 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34285 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34286 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34287 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34288 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34289 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34290 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34291 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34292 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34293 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34294 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34295 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34296 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34297 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34298 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34299 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34300 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34301 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34302 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34303 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34304 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34305 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34306 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34307 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34308 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34309 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34310 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34311 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34312 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34313 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34314 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34315 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34316 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34317 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34318 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34319 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34320 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34321 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34322 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34323 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34324 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34325 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34326 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34327 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34328 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34329 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34330 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34331 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34332 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34333 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34334 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34335 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34336 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34337 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34338 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34339 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34340 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34341 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34342 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34343 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34344 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34345 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34346 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34347 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34348 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34349 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34350 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34351 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34352 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34353 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34355 static swig_type_info
*swig_type_initial
[] = {
34357 &_swigt__p_form_ops_t
,
34359 &_swigt__p_unsigned_char
,
34360 &_swigt__p_unsigned_int
,
34361 &_swigt__p_unsigned_long
,
34363 &_swigt__p_wxANIHandler
,
34364 &_swigt__p_wxAcceleratorTable
,
34365 &_swigt__p_wxActivateEvent
,
34366 &_swigt__p_wxArrayString
,
34367 &_swigt__p_wxBMPHandler
,
34368 &_swigt__p_wxBitmap
,
34369 &_swigt__p_wxBitmapDataObject
,
34370 &_swigt__p_wxBoxSizer
,
34371 &_swigt__p_wxBusyCursor
,
34372 &_swigt__p_wxBusyInfo
,
34373 &_swigt__p_wxCURHandler
,
34374 &_swigt__p_wxCaret
,
34376 &_swigt__p_wxChildFocusEvent
,
34377 &_swigt__p_wxClipboard
,
34378 &_swigt__p_wxClipboardLocker
,
34379 &_swigt__p_wxCloseEvent
,
34380 &_swigt__p_wxColour
,
34381 &_swigt__p_wxCommandEvent
,
34382 &_swigt__p_wxConfig
,
34383 &_swigt__p_wxConfigBase
,
34384 &_swigt__p_wxConfigPathChanger
,
34385 &_swigt__p_wxContextMenuEvent
,
34386 &_swigt__p_wxControl
,
34387 &_swigt__p_wxControlWithItems
,
34388 &_swigt__p_wxCursor
,
34389 &_swigt__p_wxCustomDataObject
,
34391 &_swigt__p_wxDataFormat
,
34392 &_swigt__p_wxDataObject
,
34393 &_swigt__p_wxDataObjectComposite
,
34394 &_swigt__p_wxDataObjectSimple
,
34395 &_swigt__p_wxDateEvent
,
34396 &_swigt__p_wxDateSpan
,
34397 &_swigt__p_wxDateTime
,
34398 &_swigt__p_wxDateTime__TimeZone
,
34399 &_swigt__p_wxDisplay
,
34400 &_swigt__p_wxDisplayChangedEvent
,
34401 &_swigt__p_wxDropFilesEvent
,
34402 &_swigt__p_wxDuplexMode
,
34403 &_swigt__p_wxEraseEvent
,
34404 &_swigt__p_wxEvent
,
34405 &_swigt__p_wxEvtHandler
,
34406 &_swigt__p_wxFSFile
,
34407 &_swigt__p_wxFileConfig
,
34408 &_swigt__p_wxFileDataObject
,
34409 &_swigt__p_wxFileHistory
,
34410 &_swigt__p_wxFileSystem
,
34411 &_swigt__p_wxFileType
,
34412 &_swigt__p_wxFileTypeInfo
,
34413 &_swigt__p_wxFlexGridSizer
,
34414 &_swigt__p_wxFocusEvent
,
34416 &_swigt__p_wxFrame
,
34417 &_swigt__p_wxGBSizerItem
,
34418 &_swigt__p_wxGIFHandler
,
34419 &_swigt__p_wxGridBagSizer
,
34420 &_swigt__p_wxGridSizer
,
34421 &_swigt__p_wxICOHandler
,
34423 &_swigt__p_wxIconizeEvent
,
34424 &_swigt__p_wxIdleEvent
,
34425 &_swigt__p_wxImage
,
34426 &_swigt__p_wxImageHandler
,
34427 &_swigt__p_wxIndividualLayoutConstraint
,
34428 &_swigt__p_wxInitDialogEvent
,
34429 &_swigt__p_wxJPEGHandler
,
34430 &_swigt__p_wxJoystick
,
34431 &_swigt__p_wxJoystickEvent
,
34432 &_swigt__p_wxKeyEvent
,
34433 &_swigt__p_wxKillError
,
34434 &_swigt__p_wxLayoutConstraints
,
34436 &_swigt__p_wxLogBuffer
,
34437 &_swigt__p_wxLogChain
,
34438 &_swigt__p_wxLogGui
,
34439 &_swigt__p_wxLogNull
,
34440 &_swigt__p_wxLogStderr
,
34441 &_swigt__p_wxLogTextCtrl
,
34442 &_swigt__p_wxLogWindow
,
34443 &_swigt__p_wxMaximizeEvent
,
34444 &_swigt__p_wxMemorySize
,
34446 &_swigt__p_wxMenuBar
,
34447 &_swigt__p_wxMenuEvent
,
34448 &_swigt__p_wxMenuItem
,
34449 &_swigt__p_wxMetafileDataObject
,
34450 &_swigt__p_wxMimeTypesManager
,
34451 &_swigt__p_wxMouseCaptureChangedEvent
,
34452 &_swigt__p_wxMouseEvent
,
34453 &_swigt__p_wxMouseState
,
34454 &_swigt__p_wxMoveEvent
,
34455 &_swigt__p_wxMutexGuiLocker
,
34456 &_swigt__p_wxNavigationKeyEvent
,
34457 &_swigt__p_wxNcPaintEvent
,
34458 &_swigt__p_wxNotifyEvent
,
34459 &_swigt__p_wxObject
,
34460 &_swigt__p_wxOutputStream
,
34461 &_swigt__p_wxPCXHandler
,
34462 &_swigt__p_wxPNGHandler
,
34463 &_swigt__p_wxPNMHandler
,
34464 &_swigt__p_wxPaintEvent
,
34465 &_swigt__p_wxPaletteChangedEvent
,
34466 &_swigt__p_wxPaperSize
,
34467 &_swigt__p_wxPoint
,
34468 &_swigt__p_wxProcessEvent
,
34469 &_swigt__p_wxPyApp
,
34470 &_swigt__p_wxPyArtProvider
,
34471 &_swigt__p_wxPyBitmapDataObject
,
34472 &_swigt__p_wxPyCommandEvent
,
34473 &_swigt__p_wxPyDataObjectSimple
,
34474 &_swigt__p_wxPyDropSource
,
34475 &_swigt__p_wxPyDropTarget
,
34476 &_swigt__p_wxPyEvent
,
34477 &_swigt__p_wxPyFileDropTarget
,
34478 &_swigt__p_wxPyImageHandler
,
34479 &_swigt__p_wxPyLog
,
34480 &_swigt__p_wxPyProcess
,
34481 &_swigt__p_wxPySizer
,
34482 &_swigt__p_wxPyTextDataObject
,
34483 &_swigt__p_wxPyTextDropTarget
,
34484 &_swigt__p_wxPyTimer
,
34485 &_swigt__p_wxPyTipProvider
,
34486 &_swigt__p_wxPyValidator
,
34487 &_swigt__p_wxQueryNewPaletteEvent
,
34489 &_swigt__p_wxScrollEvent
,
34490 &_swigt__p_wxScrollWinEvent
,
34491 &_swigt__p_wxSetCursorEvent
,
34492 &_swigt__p_wxShowEvent
,
34493 &_swigt__p_wxSingleInstanceChecker
,
34495 &_swigt__p_wxSizeEvent
,
34496 &_swigt__p_wxSizer
,
34497 &_swigt__p_wxSizerItem
,
34498 &_swigt__p_wxSound
,
34499 &_swigt__p_wxStandardPaths
,
34500 &_swigt__p_wxStaticBoxSizer
,
34501 &_swigt__p_wxStdDialogButtonSizer
,
34502 &_swigt__p_wxStopWatch
,
34503 &_swigt__p_wxString
,
34504 &_swigt__p_wxSysColourChangedEvent
,
34505 &_swigt__p_wxSystemOptions
,
34506 &_swigt__p_wxSystemSettings
,
34507 &_swigt__p_wxTIFFHandler
,
34508 &_swigt__p_wxTextCtrl
,
34509 &_swigt__p_wxTextDataObject
,
34510 &_swigt__p_wxTimeSpan
,
34511 &_swigt__p_wxTimer
,
34512 &_swigt__p_wxTimerEvent
,
34513 &_swigt__p_wxTimerRunner
,
34514 &_swigt__p_wxTipProvider
,
34515 &_swigt__p_wxToolTip
,
34516 &_swigt__p_wxURLDataObject
,
34517 &_swigt__p_wxUpdateUIEvent
,
34518 &_swigt__p_wxValidator
,
34519 &_swigt__p_wxVideoMode
,
34520 &_swigt__p_wxWindow
,
34521 &_swigt__p_wxWindowCreateEvent
,
34522 &_swigt__p_wxWindowDestroyEvent
,
34523 &_swigt__p_wxWindowDisabler
,
34524 &_swigt__p_wxXPMHandler
,
34525 &_swigt__ptrdiff_t
,
34526 &_swigt__std__ptrdiff_t
,
34527 &_swigt__unsigned_int
,
34530 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34531 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34532 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34533 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34534 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34535 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34536 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34537 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34538 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34539 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}};
34540 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34541 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34542 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34543 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34544 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34545 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34546 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34547 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34548 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}};
34549 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34550 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34551 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34552 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34553 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34554 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}};
34555 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34556 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}};
34557 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34558 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34559 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34560 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34561 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34562 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34563 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34564 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34565 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34566 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34567 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34568 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34569 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34570 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34571 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34572 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34573 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34574 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34575 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34576 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34577 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34578 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34579 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34580 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34581 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34582 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34583 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34584 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34585 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34586 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34587 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34588 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34589 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34590 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34591 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34592 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34593 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34594 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34595 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34596 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34597 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34598 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}};
34599 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34600 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34601 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34602 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34603 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34604 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34605 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}};
34606 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34607 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34608 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34609 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34610 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34611 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34612 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34613 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34614 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34615 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34616 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34617 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}};
34618 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34619 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34620 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34621 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34622 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34623 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34624 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34625 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34626 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34627 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34628 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34629 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34630 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34631 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34632 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34633 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34634 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34635 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34636 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34637 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34638 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34639 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34640 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34641 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34642 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34643 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34644 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34645 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34646 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34647 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34648 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34649 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34650 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34651 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34652 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34653 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34654 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34655 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34656 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34657 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34658 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34659 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34660 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34661 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}};
34662 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34663 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34664 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34665 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34666 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34667 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34668 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34669 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34670 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}};
34671 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34672 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34673 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34674 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34675 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34676 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34677 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34678 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34679 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34680 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34681 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34682 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34683 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34684 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34685 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34686 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34687 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34688 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}};
34689 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34690 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34691 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34692 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34693 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}};
34694 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34695 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34696 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34697 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}};
34698 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34699 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34700 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34701 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34703 static swig_cast_info
*swig_cast_initial
[] = {
34705 _swigc__p_form_ops_t
,
34707 _swigc__p_unsigned_char
,
34708 _swigc__p_unsigned_int
,
34709 _swigc__p_unsigned_long
,
34711 _swigc__p_wxANIHandler
,
34712 _swigc__p_wxAcceleratorTable
,
34713 _swigc__p_wxActivateEvent
,
34714 _swigc__p_wxArrayString
,
34715 _swigc__p_wxBMPHandler
,
34716 _swigc__p_wxBitmap
,
34717 _swigc__p_wxBitmapDataObject
,
34718 _swigc__p_wxBoxSizer
,
34719 _swigc__p_wxBusyCursor
,
34720 _swigc__p_wxBusyInfo
,
34721 _swigc__p_wxCURHandler
,
34724 _swigc__p_wxChildFocusEvent
,
34725 _swigc__p_wxClipboard
,
34726 _swigc__p_wxClipboardLocker
,
34727 _swigc__p_wxCloseEvent
,
34728 _swigc__p_wxColour
,
34729 _swigc__p_wxCommandEvent
,
34730 _swigc__p_wxConfig
,
34731 _swigc__p_wxConfigBase
,
34732 _swigc__p_wxConfigPathChanger
,
34733 _swigc__p_wxContextMenuEvent
,
34734 _swigc__p_wxControl
,
34735 _swigc__p_wxControlWithItems
,
34736 _swigc__p_wxCursor
,
34737 _swigc__p_wxCustomDataObject
,
34739 _swigc__p_wxDataFormat
,
34740 _swigc__p_wxDataObject
,
34741 _swigc__p_wxDataObjectComposite
,
34742 _swigc__p_wxDataObjectSimple
,
34743 _swigc__p_wxDateEvent
,
34744 _swigc__p_wxDateSpan
,
34745 _swigc__p_wxDateTime
,
34746 _swigc__p_wxDateTime__TimeZone
,
34747 _swigc__p_wxDisplay
,
34748 _swigc__p_wxDisplayChangedEvent
,
34749 _swigc__p_wxDropFilesEvent
,
34750 _swigc__p_wxDuplexMode
,
34751 _swigc__p_wxEraseEvent
,
34753 _swigc__p_wxEvtHandler
,
34754 _swigc__p_wxFSFile
,
34755 _swigc__p_wxFileConfig
,
34756 _swigc__p_wxFileDataObject
,
34757 _swigc__p_wxFileHistory
,
34758 _swigc__p_wxFileSystem
,
34759 _swigc__p_wxFileType
,
34760 _swigc__p_wxFileTypeInfo
,
34761 _swigc__p_wxFlexGridSizer
,
34762 _swigc__p_wxFocusEvent
,
34765 _swigc__p_wxGBSizerItem
,
34766 _swigc__p_wxGIFHandler
,
34767 _swigc__p_wxGridBagSizer
,
34768 _swigc__p_wxGridSizer
,
34769 _swigc__p_wxICOHandler
,
34771 _swigc__p_wxIconizeEvent
,
34772 _swigc__p_wxIdleEvent
,
34774 _swigc__p_wxImageHandler
,
34775 _swigc__p_wxIndividualLayoutConstraint
,
34776 _swigc__p_wxInitDialogEvent
,
34777 _swigc__p_wxJPEGHandler
,
34778 _swigc__p_wxJoystick
,
34779 _swigc__p_wxJoystickEvent
,
34780 _swigc__p_wxKeyEvent
,
34781 _swigc__p_wxKillError
,
34782 _swigc__p_wxLayoutConstraints
,
34784 _swigc__p_wxLogBuffer
,
34785 _swigc__p_wxLogChain
,
34786 _swigc__p_wxLogGui
,
34787 _swigc__p_wxLogNull
,
34788 _swigc__p_wxLogStderr
,
34789 _swigc__p_wxLogTextCtrl
,
34790 _swigc__p_wxLogWindow
,
34791 _swigc__p_wxMaximizeEvent
,
34792 _swigc__p_wxMemorySize
,
34794 _swigc__p_wxMenuBar
,
34795 _swigc__p_wxMenuEvent
,
34796 _swigc__p_wxMenuItem
,
34797 _swigc__p_wxMetafileDataObject
,
34798 _swigc__p_wxMimeTypesManager
,
34799 _swigc__p_wxMouseCaptureChangedEvent
,
34800 _swigc__p_wxMouseEvent
,
34801 _swigc__p_wxMouseState
,
34802 _swigc__p_wxMoveEvent
,
34803 _swigc__p_wxMutexGuiLocker
,
34804 _swigc__p_wxNavigationKeyEvent
,
34805 _swigc__p_wxNcPaintEvent
,
34806 _swigc__p_wxNotifyEvent
,
34807 _swigc__p_wxObject
,
34808 _swigc__p_wxOutputStream
,
34809 _swigc__p_wxPCXHandler
,
34810 _swigc__p_wxPNGHandler
,
34811 _swigc__p_wxPNMHandler
,
34812 _swigc__p_wxPaintEvent
,
34813 _swigc__p_wxPaletteChangedEvent
,
34814 _swigc__p_wxPaperSize
,
34816 _swigc__p_wxProcessEvent
,
34818 _swigc__p_wxPyArtProvider
,
34819 _swigc__p_wxPyBitmapDataObject
,
34820 _swigc__p_wxPyCommandEvent
,
34821 _swigc__p_wxPyDataObjectSimple
,
34822 _swigc__p_wxPyDropSource
,
34823 _swigc__p_wxPyDropTarget
,
34824 _swigc__p_wxPyEvent
,
34825 _swigc__p_wxPyFileDropTarget
,
34826 _swigc__p_wxPyImageHandler
,
34828 _swigc__p_wxPyProcess
,
34829 _swigc__p_wxPySizer
,
34830 _swigc__p_wxPyTextDataObject
,
34831 _swigc__p_wxPyTextDropTarget
,
34832 _swigc__p_wxPyTimer
,
34833 _swigc__p_wxPyTipProvider
,
34834 _swigc__p_wxPyValidator
,
34835 _swigc__p_wxQueryNewPaletteEvent
,
34837 _swigc__p_wxScrollEvent
,
34838 _swigc__p_wxScrollWinEvent
,
34839 _swigc__p_wxSetCursorEvent
,
34840 _swigc__p_wxShowEvent
,
34841 _swigc__p_wxSingleInstanceChecker
,
34843 _swigc__p_wxSizeEvent
,
34845 _swigc__p_wxSizerItem
,
34847 _swigc__p_wxStandardPaths
,
34848 _swigc__p_wxStaticBoxSizer
,
34849 _swigc__p_wxStdDialogButtonSizer
,
34850 _swigc__p_wxStopWatch
,
34851 _swigc__p_wxString
,
34852 _swigc__p_wxSysColourChangedEvent
,
34853 _swigc__p_wxSystemOptions
,
34854 _swigc__p_wxSystemSettings
,
34855 _swigc__p_wxTIFFHandler
,
34856 _swigc__p_wxTextCtrl
,
34857 _swigc__p_wxTextDataObject
,
34858 _swigc__p_wxTimeSpan
,
34860 _swigc__p_wxTimerEvent
,
34861 _swigc__p_wxTimerRunner
,
34862 _swigc__p_wxTipProvider
,
34863 _swigc__p_wxToolTip
,
34864 _swigc__p_wxURLDataObject
,
34865 _swigc__p_wxUpdateUIEvent
,
34866 _swigc__p_wxValidator
,
34867 _swigc__p_wxVideoMode
,
34868 _swigc__p_wxWindow
,
34869 _swigc__p_wxWindowCreateEvent
,
34870 _swigc__p_wxWindowDestroyEvent
,
34871 _swigc__p_wxWindowDisabler
,
34872 _swigc__p_wxXPMHandler
,
34874 _swigc__std__ptrdiff_t
,
34875 _swigc__unsigned_int
,
34879 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34881 static swig_const_info swig_const_table
[] = {
34882 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34883 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34884 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34885 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34886 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34887 {0, 0, 0, 0.0, 0, 0}};
34892 /*************************************************************************
34893 * Type initialization:
34894 * This problem is tough by the requirement that no dynamic
34895 * memory is used. Also, since swig_type_info structures store pointers to
34896 * swig_cast_info structures and swig_cast_info structures store pointers back
34897 * to swig_type_info structures, we need some lookup code at initialization.
34898 * The idea is that swig generates all the structures that are needed.
34899 * The runtime then collects these partially filled structures.
34900 * The SWIG_InitializeModule function takes these initial arrays out of
34901 * swig_module, and does all the lookup, filling in the swig_module.types
34902 * array with the correct data and linking the correct swig_cast_info
34903 * structures together.
34905 * The generated swig_type_info structures are assigned staticly to an initial
34906 * array. We just loop though that array, and handle each type individually.
34907 * First we lookup if this type has been already loaded, and if so, use the
34908 * loaded structure instead of the generated one. Then we have to fill in the
34909 * cast linked list. The cast data is initially stored in something like a
34910 * two-dimensional array. Each row corresponds to a type (there are the same
34911 * number of rows as there are in the swig_type_initial array). Each entry in
34912 * a column is one of the swig_cast_info structures for that type.
34913 * The cast_initial array is actually an array of arrays, because each row has
34914 * a variable number of columns. So to actually build the cast linked list,
34915 * we find the array of casts associated with the type, and loop through it
34916 * adding the casts to the list. The one last trick we need to do is making
34917 * sure the type pointer in the swig_cast_info struct is correct.
34919 * First off, we lookup the cast->type name to see if it is already loaded.
34920 * There are three cases to handle:
34921 * 1) If the cast->type has already been loaded AND the type we are adding
34922 * casting info to has not been loaded (it is in this module), THEN we
34923 * replace the cast->type pointer with the type pointer that has already
34925 * 2) If BOTH types (the one we are adding casting info to, and the
34926 * cast->type) are loaded, THEN the cast info has already been loaded by
34927 * the previous module so we just ignore it.
34928 * 3) Finally, if cast->type has not already been loaded, then we add that
34929 * swig_cast_info to the linked list (because the cast->type) pointer will
34941 #define SWIGRUNTIME_DEBUG
34945 SWIG_InitializeModule(void *clientdata
) {
34947 swig_module_info
*module_head
;
34948 static int init_run
= 0;
34950 clientdata
= clientdata
;
34952 if (init_run
) return;
34955 /* Initialize the swig_module */
34956 swig_module
.type_initial
= swig_type_initial
;
34957 swig_module
.cast_initial
= swig_cast_initial
;
34959 /* Try and load any already created modules */
34960 module_head
= SWIG_GetModule(clientdata
);
34962 swig_module
.next
= module_head
->next
;
34963 module_head
->next
= &swig_module
;
34965 /* This is the first module loaded */
34966 swig_module
.next
= &swig_module
;
34967 SWIG_SetModule(clientdata
, &swig_module
);
34970 /* Now work on filling in swig_module.types */
34971 #ifdef SWIGRUNTIME_DEBUG
34972 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34974 for (i
= 0; i
< swig_module
.size
; ++i
) {
34975 swig_type_info
*type
= 0;
34976 swig_type_info
*ret
;
34977 swig_cast_info
*cast
;
34979 #ifdef SWIGRUNTIME_DEBUG
34980 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34983 /* if there is another module already loaded */
34984 if (swig_module
.next
!= &swig_module
) {
34985 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34988 /* Overwrite clientdata field */
34989 #ifdef SWIGRUNTIME_DEBUG
34990 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34992 if (swig_module
.type_initial
[i
]->clientdata
) {
34993 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34994 #ifdef SWIGRUNTIME_DEBUG
34995 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34999 type
= swig_module
.type_initial
[i
];
35002 /* Insert casting types */
35003 cast
= swig_module
.cast_initial
[i
];
35004 while (cast
->type
) {
35005 /* Don't need to add information already in the list */
35007 #ifdef SWIGRUNTIME_DEBUG
35008 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
35010 if (swig_module
.next
!= &swig_module
) {
35011 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
35012 #ifdef SWIGRUNTIME_DEBUG
35013 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
35017 if (type
== swig_module
.type_initial
[i
]) {
35018 #ifdef SWIGRUNTIME_DEBUG
35019 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
35024 /* Check for casting already in the list */
35025 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
35026 #ifdef SWIGRUNTIME_DEBUG
35027 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
35029 if (!ocast
) ret
= 0;
35034 #ifdef SWIGRUNTIME_DEBUG
35035 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
35038 type
->cast
->prev
= cast
;
35039 cast
->next
= type
->cast
;
35045 /* Set entry in modules->types array equal to the type */
35046 swig_module
.types
[i
] = type
;
35048 swig_module
.types
[i
] = 0;
35050 #ifdef SWIGRUNTIME_DEBUG
35051 printf("**** SWIG_InitializeModule: Cast List ******\n");
35052 for (i
= 0; i
< swig_module
.size
; ++i
) {
35054 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
35055 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35056 while (cast
->type
) {
35057 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
35061 printf("---- Total casts: %d\n",j
);
35063 printf("**** SWIG_InitializeModule: Cast List ******\n");
35067 /* This function will propagate the clientdata field of type to
35068 * any new swig_type_info structures that have been added into the list
35069 * of equivalent types. It is like calling
35070 * SWIG_TypeClientData(type, clientdata) a second time.
35073 SWIG_PropagateClientData(void) {
35075 swig_cast_info
*equiv
;
35076 static int init_run
= 0;
35078 if (init_run
) return;
35081 for (i
= 0; i
< swig_module
.size
; i
++) {
35082 if (swig_module
.types
[i
]->clientdata
) {
35083 equiv
= swig_module
.types
[i
]->cast
;
35085 if (!equiv
->converter
) {
35086 if (equiv
->type
&& !equiv
->type
->clientdata
)
35087 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
35089 equiv
= equiv
->next
;
35109 /* Python-specific SWIG API */
35110 #define SWIG_newvarlink() SWIG_Python_newvarlink()
35111 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35112 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35114 /* -----------------------------------------------------------------------------
35115 * global variable support code.
35116 * ----------------------------------------------------------------------------- */
35118 typedef struct swig_globalvar
{
35119 char *name
; /* Name of global variable */
35120 PyObject
*(*get_attr
)(void); /* Return the current value */
35121 int (*set_attr
)(PyObject
*); /* Set the value */
35122 struct swig_globalvar
*next
;
35125 typedef struct swig_varlinkobject
{
35127 swig_globalvar
*vars
;
35128 } swig_varlinkobject
;
35130 SWIGINTERN PyObject
*
35131 swig_varlink_repr(swig_varlinkobject
*v
) {
35133 return PyString_FromString("<Swig global variables>");
35137 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
35138 swig_globalvar
*var
;
35140 fprintf(fp
,"Swig global variables { ");
35141 for (var
= v
->vars
; var
; var
=var
->next
) {
35142 fprintf(fp
,"%s", var
->name
);
35143 if (var
->next
) fprintf(fp
,", ");
35145 fprintf(fp
," }\n");
35149 SWIGINTERN PyObject
*
35150 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
35151 swig_globalvar
*var
= v
->vars
;
35153 if (strcmp(var
->name
,n
) == 0) {
35154 return (*var
->get_attr
)();
35158 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35163 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
35164 swig_globalvar
*var
= v
->vars
;
35166 if (strcmp(var
->name
,n
) == 0) {
35167 return (*var
->set_attr
)(p
);
35171 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35175 SWIGINTERN PyTypeObject
*
35176 swig_varlink_type(void) {
35177 static char varlink__doc__
[] = "Swig var link object";
35178 static PyTypeObject varlink_type
35179 #if !defined(__cplusplus)
35181 static int type_init
= 0;
35186 PyObject_HEAD_INIT(&PyType_Type
)
35187 0, /* Number of items in variable part (ob_size) */
35188 (char *)"swigvarlink", /* Type name (tp_name) */
35189 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
35190 0, /* Itemsize (tp_itemsize) */
35191 0, /* Deallocator (tp_dealloc) */
35192 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35193 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35194 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35195 0, /* tp_compare */
35196 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35197 0, /* tp_as_number */
35198 0, /* tp_as_sequence */
35199 0, /* tp_as_mapping */
35203 0, /* tp_getattro */
35204 0, /* tp_setattro */
35205 0, /* tp_as_buffer */
35207 varlink__doc__
, /* tp_doc */
35208 #if PY_VERSION_HEX >= 0x02000000
35209 0, /* tp_traverse */
35212 #if PY_VERSION_HEX >= 0x02010000
35213 0, /* tp_richcompare */
35214 0, /* tp_weaklistoffset */
35216 #if PY_VERSION_HEX >= 0x02020000
35217 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35219 #if PY_VERSION_HEX >= 0x02030000
35222 #ifdef COUNT_ALLOCS
35223 0,0,0,0 /* tp_alloc -> tp_next */
35226 #if !defined(__cplusplus)
35227 varlink_type
= tmp
;
35231 return &varlink_type
;
35234 /* Create a variable linking object for use later */
35235 SWIGINTERN PyObject
*
35236 SWIG_Python_newvarlink(void) {
35237 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35241 return ((PyObject
*) result
);
35245 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35246 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35247 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35249 size_t size
= strlen(name
)+1;
35250 gv
->name
= (char *)malloc(size
);
35252 strncpy(gv
->name
,name
,size
);
35253 gv
->get_attr
= get_attr
;
35254 gv
->set_attr
= set_attr
;
35255 gv
->next
= v
->vars
;
35261 /* -----------------------------------------------------------------------------
35262 * constants/methods manipulation
35263 * ----------------------------------------------------------------------------- */
35265 /* Install Constants */
35267 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35270 for (i
= 0; constants
[i
].type
; ++i
) {
35271 switch(constants
[i
].type
) {
35273 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35275 case SWIG_PY_FLOAT
:
35276 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35278 case SWIG_PY_STRING
:
35279 if (constants
[i
].pvalue
) {
35280 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35282 Py_INCREF(Py_None
);
35286 case SWIG_PY_POINTER
:
35287 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35289 case SWIG_PY_BINARY
:
35290 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35297 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35303 /* -----------------------------------------------------------------------------*/
35304 /* Fix SwigMethods to carry the callback ptrs when needed */
35305 /* -----------------------------------------------------------------------------*/
35308 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35309 swig_const_info
*const_table
,
35310 swig_type_info
**types
,
35311 swig_type_info
**types_initial
) {
35313 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35314 char *c
= methods
[i
].ml_doc
;
35315 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35317 swig_const_info
*ci
= 0;
35318 char *name
= c
+ 10;
35319 for (j
= 0; const_table
[j
].type
; ++j
) {
35320 if (strncmp(const_table
[j
].name
, name
,
35321 strlen(const_table
[j
].name
)) == 0) {
35322 ci
= &(const_table
[j
]);
35327 size_t shift
= (ci
->ptype
) - types
;
35328 swig_type_info
*ty
= types_initial
[shift
];
35329 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35330 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35331 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35334 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35336 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35338 strncpy(buff
, "swig_ptr: ", 10);
35340 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35341 methods
[i
].ml_doc
= ndoc
;
35349 /* -----------------------------------------------------------------------------*
35350 * Initialize type list
35351 * -----------------------------------------------------------------------------*/
35357 /* -----------------------------------------------------------------------------*
35358 * Partial Init method
35359 * -----------------------------------------------------------------------------*/
35364 SWIGEXPORT
void SWIG_init(void) {
35365 static PyObject
*SWIG_globals
= 0;
35367 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35369 /* Fix SwigMethods to carry the callback ptrs when needed */
35370 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35372 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35373 d
= PyModule_GetDict(m
);
35375 SWIG_InitializeModule(0);
35376 SWIG_InstallConstants(d
,swig_const_table
);
35379 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35382 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35385 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35388 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35391 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35394 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35397 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35400 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35403 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35406 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35409 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35412 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35415 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35418 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35421 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35424 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35427 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35430 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35433 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35436 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35439 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35442 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35445 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35448 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35451 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35454 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35457 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35460 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35463 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35466 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35469 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35472 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35475 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35478 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35481 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35484 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35487 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35490 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35493 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35496 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35499 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35502 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35505 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35508 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35511 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35514 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35517 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35520 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35523 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35526 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35529 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35532 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35535 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35538 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35541 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35544 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35547 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35550 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35553 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35556 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35559 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35562 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35565 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35568 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35571 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35574 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35577 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35580 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35583 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35586 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35589 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35592 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35595 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35598 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35601 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35604 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35607 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35610 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35613 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35616 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35619 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35622 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35625 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35628 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35631 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35634 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35637 PyDict_SetItemString(d
,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_TABLET_PRESENT
)));
35640 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35643 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35646 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35649 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35652 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35654 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35655 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35656 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35657 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35658 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35660 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35663 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35666 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35669 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35671 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35673 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35676 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35679 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35682 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35685 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35688 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35691 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35694 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35697 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35700 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35703 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35706 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35708 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35709 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35710 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35711 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35712 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35714 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35717 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35720 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35723 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35726 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35729 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35732 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35735 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35738 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35741 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35744 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35747 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35750 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35753 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35756 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35759 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35762 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35765 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35768 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35771 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35774 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35777 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35780 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35783 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35786 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35789 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35792 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35795 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35798 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35801 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35804 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35806 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35808 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35811 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35814 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35817 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35820 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35823 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35826 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35829 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35832 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35835 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35838 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35841 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35844 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35846 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35847 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35848 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35849 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35851 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35854 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35857 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35860 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35863 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35866 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35869 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35872 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35874 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35875 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35876 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35877 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35878 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35879 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35880 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35881 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35882 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35883 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35884 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35885 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35886 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35887 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35888 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35889 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35890 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35891 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35892 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35908 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35909 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35910 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35911 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35912 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35913 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35914 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35915 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35916 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35917 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35918 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35919 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35920 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35921 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35922 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35923 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35924 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35925 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35926 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35927 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35928 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35929 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35930 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35932 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35935 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
35938 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
35941 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
35944 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
35947 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
35950 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
35953 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
35956 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
35959 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
35961 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
35962 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
35964 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
35967 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
35970 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
35973 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
35976 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
35979 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
35982 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
35985 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
35988 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
35991 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
35994 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
35997 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
36000 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
36003 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
36006 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
36009 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
36012 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
36015 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
36018 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
36021 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
36024 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
36027 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
36030 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
36033 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
36036 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
36039 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
36042 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
36045 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
36048 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
36051 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
36054 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
36057 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
36060 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
36063 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
36066 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
36069 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
36072 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
36075 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
36078 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
36081 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
36084 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
36087 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
36090 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
36093 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
36096 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
36099 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
36102 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
36105 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
36108 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
36111 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
36114 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
36117 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
36120 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
36123 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
36126 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
36129 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
36132 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
36135 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
36138 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
36141 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
36144 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
36147 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
36150 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
36153 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
36156 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
36159 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
36162 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
36165 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
36168 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
36171 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
36174 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
36177 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
36180 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
36183 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
36186 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
36189 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
36192 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36195 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36198 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36201 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36204 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36207 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36210 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36213 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36216 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36219 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36222 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36225 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36228 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36231 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36234 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36237 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36240 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36243 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36246 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36249 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36252 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36255 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36258 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36261 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36264 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36267 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36270 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36273 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36276 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36279 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36282 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36285 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36288 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36291 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36294 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36297 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36300 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36303 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36306 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36309 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36312 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36315 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36318 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36321 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36324 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36327 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36330 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36333 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36336 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36339 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36342 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36345 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36348 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36351 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36354 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36357 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36360 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36363 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36366 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36369 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36372 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36375 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36378 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36381 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36384 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36387 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36390 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36393 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36396 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36399 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36402 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36405 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36408 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36411 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36414 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36417 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36420 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36423 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36426 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36428 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36430 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36433 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36436 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36439 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36442 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36445 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36448 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36451 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36454 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36457 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36460 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36463 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36466 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36469 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36472 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36475 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36478 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36481 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36484 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36487 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36489 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36491 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36494 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36497 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36500 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36503 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36506 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36509 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36512 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36515 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36518 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36521 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36524 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36527 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36528 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36529 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36530 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36532 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);