1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_char swig_types[0]
1435 #define SWIGTYPE_p_form_ops_t swig_types[1]
1436 #define SWIGTYPE_p_int swig_types[2]
1437 #define SWIGTYPE_p_unsigned_char swig_types[3]
1438 #define SWIGTYPE_p_unsigned_int swig_types[4]
1439 #define SWIGTYPE_p_unsigned_long swig_types[5]
1440 #define SWIGTYPE_p_void swig_types[6]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444 #define SWIGTYPE_p_wxArrayString swig_types[10]
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1446 #define SWIGTYPE_p_wxBitmap swig_types[12]
1447 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
1448 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
1449 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
1450 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
1451 #define SWIGTYPE_p_wxCURHandler swig_types[17]
1452 #define SWIGTYPE_p_wxCaret swig_types[18]
1453 #define SWIGTYPE_p_wxChar swig_types[19]
1454 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
1455 #define SWIGTYPE_p_wxClipboard swig_types[21]
1456 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[23]
1458 #define SWIGTYPE_p_wxColour swig_types[24]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[25]
1460 #define SWIGTYPE_p_wxConfig swig_types[26]
1461 #define SWIGTYPE_p_wxConfigBase swig_types[27]
1462 #define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
1463 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
1464 #define SWIGTYPE_p_wxControl swig_types[30]
1465 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
1466 #define SWIGTYPE_p_wxCursor swig_types[32]
1467 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1468 #define SWIGTYPE_p_wxDC swig_types[34]
1469 #define SWIGTYPE_p_wxDataFormat swig_types[35]
1470 #define SWIGTYPE_p_wxDataObject swig_types[36]
1471 #define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
1472 #define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
1473 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1474 #define SWIGTYPE_p_wxDateSpan swig_types[40]
1475 #define SWIGTYPE_p_wxDateTime swig_types[41]
1476 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
1477 #define SWIGTYPE_p_wxDisplay swig_types[43]
1478 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
1479 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
1480 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
1481 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
1482 #define SWIGTYPE_p_wxEvent swig_types[48]
1483 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
1484 #define SWIGTYPE_p_wxFSFile swig_types[50]
1485 #define SWIGTYPE_p_wxFileConfig swig_types[51]
1486 #define SWIGTYPE_p_wxFileDataObject swig_types[52]
1487 #define SWIGTYPE_p_wxFileHistory swig_types[53]
1488 #define SWIGTYPE_p_wxFileSystem swig_types[54]
1489 #define SWIGTYPE_p_wxFileType swig_types[55]
1490 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1491 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
1492 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
1493 #define SWIGTYPE_p_wxFont swig_types[59]
1494 #define SWIGTYPE_p_wxFrame swig_types[60]
1495 #define SWIGTYPE_p_wxGBSizerItem swig_types[61]
1496 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
1497 #define SWIGTYPE_p_wxGridBagSizer swig_types[63]
1498 #define SWIGTYPE_p_wxGridSizer swig_types[64]
1499 #define SWIGTYPE_p_wxICOHandler swig_types[65]
1500 #define SWIGTYPE_p_wxIcon swig_types[66]
1501 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
1502 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
1503 #define SWIGTYPE_p_wxImage swig_types[69]
1504 #define SWIGTYPE_p_wxImageHandler swig_types[70]
1505 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
1506 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
1507 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508 #define SWIGTYPE_p_wxJoystick swig_types[74]
1509 #define SWIGTYPE_p_wxJoystickEvent swig_types[75]
1510 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
1511 #define SWIGTYPE_p_wxKillError swig_types[77]
1512 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
1513 #define SWIGTYPE_p_wxLog swig_types[79]
1514 #define SWIGTYPE_p_wxLogBuffer swig_types[80]
1515 #define SWIGTYPE_p_wxLogChain swig_types[81]
1516 #define SWIGTYPE_p_wxLogGui swig_types[82]
1517 #define SWIGTYPE_p_wxLogNull swig_types[83]
1518 #define SWIGTYPE_p_wxLogStderr swig_types[84]
1519 #define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
1520 #define SWIGTYPE_p_wxLogWindow swig_types[86]
1521 #define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
1522 #define SWIGTYPE_p_wxMemorySize swig_types[88]
1523 #define SWIGTYPE_p_wxMenu swig_types[89]
1524 #define SWIGTYPE_p_wxMenuBar swig_types[90]
1525 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
1526 #define SWIGTYPE_p_wxMenuItem swig_types[92]
1527 #define SWIGTYPE_p_wxMetafile swig_types[93]
1528 #define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
1529 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
1530 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
1531 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
1532 #define SWIGTYPE_p_wxMouseState swig_types[98]
1533 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
1534 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
1535 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1536 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
1537 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
1538 #define SWIGTYPE_p_wxObject swig_types[104]
1539 #define SWIGTYPE_p_wxOutputStream swig_types[105]
1540 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
1541 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
1542 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
1543 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
1544 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
1545 #define SWIGTYPE_p_wxPaperSize swig_types[111]
1546 #define SWIGTYPE_p_wxPoint swig_types[112]
1547 #define SWIGTYPE_p_wxProcessEvent swig_types[113]
1548 #define SWIGTYPE_p_wxPyApp swig_types[114]
1549 #define SWIGTYPE_p_wxPyArtProvider swig_types[115]
1550 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
1551 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1552 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
1553 #define SWIGTYPE_p_wxPyDropSource swig_types[119]
1554 #define SWIGTYPE_p_wxPyDropTarget swig_types[120]
1555 #define SWIGTYPE_p_wxPyEvent swig_types[121]
1556 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
1557 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
1558 #define SWIGTYPE_p_wxPyLog swig_types[124]
1559 #define SWIGTYPE_p_wxPyProcess swig_types[125]
1560 #define SWIGTYPE_p_wxPySizer swig_types[126]
1561 #define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
1562 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
1563 #define SWIGTYPE_p_wxPyTimer swig_types[129]
1564 #define SWIGTYPE_p_wxPyTipProvider swig_types[130]
1565 #define SWIGTYPE_p_wxPyValidator swig_types[131]
1566 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
1567 #define SWIGTYPE_p_wxRect swig_types[133]
1568 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
1569 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
1570 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
1571 #define SWIGTYPE_p_wxShowEvent swig_types[137]
1572 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
1573 #define SWIGTYPE_p_wxSize swig_types[139]
1574 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
1575 #define SWIGTYPE_p_wxSizer swig_types[141]
1576 #define SWIGTYPE_p_wxSizerItem swig_types[142]
1577 #define SWIGTYPE_p_wxSound swig_types[143]
1578 #define SWIGTYPE_p_wxStandardPaths swig_types[144]
1579 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
1580 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
1581 #define SWIGTYPE_p_wxStopWatch swig_types[147]
1582 #define SWIGTYPE_p_wxString swig_types[148]
1583 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
1584 #define SWIGTYPE_p_wxSystemOptions swig_types[150]
1585 #define SWIGTYPE_p_wxSystemSettings swig_types[151]
1586 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
1587 #define SWIGTYPE_p_wxTextCtrl swig_types[153]
1588 #define SWIGTYPE_p_wxTextDataObject swig_types[154]
1589 #define SWIGTYPE_p_wxTimeSpan swig_types[155]
1590 #define SWIGTYPE_p_wxTimer swig_types[156]
1591 #define SWIGTYPE_p_wxTimerEvent swig_types[157]
1592 #define SWIGTYPE_p_wxTimerRunner swig_types[158]
1593 #define SWIGTYPE_p_wxTipProvider swig_types[159]
1594 #define SWIGTYPE_p_wxToolTip swig_types[160]
1595 #define SWIGTYPE_p_wxURLDataObject swig_types[161]
1596 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
1597 #define SWIGTYPE_p_wxValidator swig_types[163]
1598 #define SWIGTYPE_p_wxVideoMode swig_types[164]
1599 #define SWIGTYPE_p_wxWindow swig_types[165]
1600 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
1601 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
1602 #define SWIGTYPE_p_wxWindowDisabler swig_types[168]
1603 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
1604 #define SWIGTYPE_ptrdiff_t swig_types[170]
1605 #define SWIGTYPE_std__ptrdiff_t swig_types[171]
1606 #define SWIGTYPE_unsigned_int swig_types[172]
1607 static swig_type_info
*swig_types
[174];
1608 static swig_module_info swig_module
= {swig_types
, 173, 0, 0, 0, 0};
1609 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1610 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1612 /* -------- TYPES TABLE (END) -------- */
1615 /*-----------------------------------------------
1616 @(target):= _misc_.so
1617 ------------------------------------------------*/
1618 #define SWIG_init init_misc_
1620 #define SWIG_name "_misc_"
1622 #include "wx/wxPython/wxPython.h"
1623 #include "wx/wxPython/pyclasses.h"
1624 #include "wx/wxPython/pyistream.h"
1626 static const wxString
wxPyEmptyString(wxEmptyString
);
1630 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1631 #define SWIG_From_int PyInt_FromLong
1639 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1642 if (value
< min_value
) {
1644 PyErr_Format(PyExc_OverflowError
,
1645 "value %ld is less than '%s' minimum %ld",
1646 value
, errmsg
, min_value
);
1649 } else if (value
> max_value
) {
1651 PyErr_Format(PyExc_OverflowError
,
1652 "value %ld is greater than '%s' maximum %ld",
1653 value
, errmsg
, max_value
);
1662 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1664 if (PyNumber_Check(obj
)) {
1665 if (val
) *val
= PyInt_AsLong(obj
);
1669 SWIG_Python_TypeError("number", obj
);
1675 #if INT_MAX != LONG_MAX
1677 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1679 const char* errmsg
= val
? "int" : (char*)0;
1681 if (SWIG_AsVal_long(obj
, &v
)) {
1682 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1683 if (val
) *val
= static_cast<int >(v
);
1692 SWIG_type_error(errmsg
, obj
);
1697 SWIGINTERNINLINE
int
1698 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1700 return SWIG_AsVal_long(obj
,(long*)val
);
1705 SWIGINTERNINLINE
int
1706 SWIG_As_int(PyObject
* obj
)
1709 if (!SWIG_AsVal_int(obj
, &v
)) {
1711 this is needed to make valgrind/purify happier.
1713 memset((void*)&v
, 0, sizeof(int));
1719 SWIGINTERNINLINE
int
1720 SWIG_Check_int(PyObject
* obj
)
1722 return SWIG_AsVal_int(obj
, (int*)0);
1725 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1727 #include <wx/stockitem.h>
1729 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1730 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1731 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1733 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1734 #define SWIG_From_long PyInt_FromLong
1738 SWIGINTERNINLINE
long
1739 SWIG_As_long(PyObject
* obj
)
1742 if (!SWIG_AsVal_long(obj
, &v
)) {
1744 this is needed to make valgrind/purify happier.
1746 memset((void*)&v
, 0, sizeof(long));
1752 SWIGINTERNINLINE
int
1753 SWIG_Check_long(PyObject
* obj
)
1755 return SWIG_AsVal_long(obj
, (long*)0);
1760 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1762 if (obj
== Py_True
) {
1763 if (val
) *val
= true;
1766 if (obj
== Py_False
) {
1767 if (val
) *val
= false;
1771 if (SWIG_AsVal_int(obj
, &res
)) {
1772 if (val
) *val
= res
? true : false;
1778 SWIG_type_error("bool", obj
);
1784 SWIGINTERNINLINE
bool
1785 SWIG_As_bool(PyObject
* obj
)
1788 if (!SWIG_AsVal_bool(obj
, &v
)) {
1790 this is needed to make valgrind/purify happier.
1792 memset((void*)&v
, 0, sizeof(bool));
1798 SWIGINTERNINLINE
int
1799 SWIG_Check_bool(PyObject
* obj
)
1801 return SWIG_AsVal_bool(obj
, (bool*)0);
1805 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1811 } else if (result
== Py_None
) {
1815 if (!PyTuple_Check(result
)) {
1817 result
= PyTuple_New(1);
1818 PyTuple_SET_ITEM(result
, 0, o2
);
1820 o3
= PyTuple_New(1);
1821 PyTuple_SetItem(o3
, 0, obj
);
1823 result
= PySequence_Concat(o2
, o3
);
1833 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1836 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1837 SWIG_Python_TypeError("unsigned number", obj
);
1840 *val
= (unsigned long)v
;
1845 SWIGINTERNINLINE
unsigned long
1846 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1849 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1851 this is needed to make valgrind/purify happier.
1853 memset((void*)&v
, 0, sizeof(unsigned long));
1859 SWIGINTERNINLINE
int
1860 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1862 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1866 SWIGINTERNINLINE PyObject
*
1867 SWIG_From_unsigned_SS_long(unsigned long value
)
1869 return (value
> LONG_MAX
) ?
1870 PyLong_FromUnsignedLong(value
)
1871 : PyInt_FromLong(static_cast<long >(value
));
1875 void* wxGetXDisplay()
1878 return wxGetDisplay();
1885 wxWindow
* FindWindowAtPointer() {
1887 return wxFindWindowAtPointer(unused
);
1891 bool wxThread_IsMain() {
1892 #ifdef WXP_WITH_THREAD
1893 return wxThread::IsMain();
1899 static void wxCaret_Destroy(wxCaret
*self
){
1903 #include <wx/snglinst.h>
1907 #include <wx/msw/private.h>
1908 #include <wx/dynload.h>
1913 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1924 // This one only partially works. Appears to be an undocumented
1925 // "standard" convention that not all widgets adhear to. For
1926 // example, for some widgets backgrounds or non-client areas may
1928 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1933 // This one works much better, nearly all widgets and their
1934 // children are captured correctly[**]. Prior to the big
1935 // background erase changes that Vadim did in 2004-2005 this
1936 // method failed badly on XP with Themes activated, most native
1937 // widgets draw only partially, if at all. Without themes it
1938 // worked just like on Win2k. After those changes this method
1941 // ** For example the radio buttons in a wxRadioBox are not its
1942 // children by default, but you can capture it via the panel
1943 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1944 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1945 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1946 PRF_ERASEBKGND
| PRF_OWNED
);
1952 // This one is only defined in the latest SDK and is only
1953 // available on XP. MSDN says it is similar to sending WM_PRINT
1954 // so I expect that it will work similar to the above. Since it
1955 // is avaialble only on XP, it can't be compiled like this and
1956 // will have to be loaded dynamically.
1957 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1962 // Use PrintWindow if available, or fallback to WM_PRINT
1963 // otherwise. Unfortunately using PrintWindow is even worse than
1964 // WM_PRINT. For most native widgets nothing is drawn to the dc
1965 // at all, with or without Themes.
1966 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1967 static bool s_triedToLoad
= false;
1968 static PrintWindow_t pfnPrintWindow
= NULL
;
1969 if ( !s_triedToLoad
)
1972 s_triedToLoad
= true;
1973 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1974 if ( dllUser32
.IsLoaded() )
1976 wxLogNull nolog
; // Don't report errors here
1977 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1982 //printf("Using PrintWindow\n");
1983 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1987 //printf("Using WM_PRINT\n");
1988 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1989 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1990 PRF_ERASEBKGND
| PRF_OWNED
);
2001 #include <wx/tipdlg.h>
2004 class wxPyTipProvider
: public wxTipProvider
{
2006 wxPyTipProvider(size_t currentTip
)
2007 : wxTipProvider(currentTip
) {}
2009 DEC_PYCALLBACK_STRING__pure(GetTip
);
2010 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2014 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2015 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2018 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
2020 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2022 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
2023 : wxTimer(owner
, id
)
2025 if (owner
== NULL
) SetOwner(this);
2029 SWIGINTERN PyObject
*
2030 SWIG_FromCharPtr(const char* cptr
)
2033 size_t size
= strlen(cptr
);
2034 if (size
> INT_MAX
) {
2035 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2036 SWIG_TypeQuery("char *"), 0);
2039 return PyString_FromStringAndSize(cptr
, size
);
2041 return PyString_FromString(cptr
);
2050 SWIGINTERNINLINE
int
2051 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2052 unsigned long max_value
,
2055 if (value
> max_value
) {
2057 PyErr_Format(PyExc_OverflowError
,
2058 "value %lu is greater than '%s' minimum %lu",
2059 value
, errmsg
, max_value
);
2067 #if UINT_MAX != ULONG_MAX
2069 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2071 const char* errmsg
= val
? "unsigned int" : (char*)0;
2073 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2074 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2075 if (val
) *val
= static_cast<unsigned int >(v
);
2082 SWIG_type_error(errmsg
, obj
);
2087 SWIGINTERNINLINE
unsigned int
2088 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2090 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2095 SWIGINTERNINLINE
unsigned int
2096 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2099 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2101 this is needed to make valgrind/purify happier.
2103 memset((void*)&v
, 0, sizeof(unsigned int));
2109 SWIGINTERNINLINE
int
2110 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2112 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2115 static wxString
wxLog_TimeStamp(){
2117 wxLog::TimeStamp(&msg
);
2120 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
2121 // Make some wrappers that double any % signs so they are 'escaped'
2122 void wxPyLogFatalError(const wxString
& msg
)
2125 m
.Replace(wxT("%"), wxT("%%"));
2129 void wxPyLogError(const wxString
& msg
)
2132 m
.Replace(wxT("%"), wxT("%%"));
2136 void wxPyLogWarning(const wxString
& msg
)
2139 m
.Replace(wxT("%"), wxT("%%"));
2143 void wxPyLogMessage(const wxString
& msg
)
2146 m
.Replace(wxT("%"), wxT("%%"));
2150 void wxPyLogInfo(const wxString
& msg
)
2153 m
.Replace(wxT("%"), wxT("%%"));
2157 void wxPyLogDebug(const wxString
& msg
)
2160 m
.Replace(wxT("%"), wxT("%%"));
2164 void wxPyLogVerbose(const wxString
& msg
)
2167 m
.Replace(wxT("%"), wxT("%%"));
2171 void wxPyLogStatus(const wxString
& msg
)
2174 m
.Replace(wxT("%"), wxT("%%"));
2178 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2181 m
.Replace(wxT("%"), wxT("%%"));
2182 wxLogStatus(pFrame
, m
);
2185 void wxPyLogSysError(const wxString
& msg
)
2188 m
.Replace(wxT("%"), wxT("%%"));
2192 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2195 m
.Replace(wxT("%"), wxT("%%"));
2196 wxLogGeneric(level
, m
);
2199 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2202 m
.Replace(wxT("%"), wxT("%%"));
2203 wxLogTrace(mask
, m
);
2206 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2209 m
.Replace(wxT("%"), wxT("%%"));
2210 wxLogTrace(mask
, m
);
2215 // A wxLog class that can be derived from in wxPython
2216 class wxPyLog
: public wxLog
{
2218 wxPyLog() : wxLog() {}
2220 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2223 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2224 PyObject
* s
= wx2PyString(szString
);
2225 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2228 wxPyEndBlockThreads(blocked
);
2230 wxLog::DoLog(level
, szString
, t
);
2233 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2236 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2237 PyObject
* s
= wx2PyString(szString
);
2238 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2241 wxPyEndBlockThreads(blocked
);
2243 wxLog::DoLogString(szString
, t
);
2246 DEC_PYCALLBACK_VOID_(Flush
);
2249 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
2254 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2257 #include <wx/joystick.h>
2260 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2261 // A C++ stub class for wxJoystick for platforms that don't have it.
2262 class wxJoystick
: public wxObject
{
2264 wxJoystick(int joystick
= wxJOYSTICK1
) {
2265 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2266 PyErr_SetString(PyExc_NotImplementedError
,
2267 "wxJoystick is not available on this platform.");
2268 wxPyEndBlockThreads(blocked
);
2270 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2271 int GetZPosition() { return -1; }
2272 int GetButtonState() { return -1; }
2273 int GetPOVPosition() { return -1; }
2274 int GetPOVCTSPosition() { return -1; }
2275 int GetRudderPosition() { return -1; }
2276 int GetUPosition() { return -1; }
2277 int GetVPosition() { return -1; }
2278 int GetMovementThreshold() { return -1; }
2279 void SetMovementThreshold(int threshold
) {}
2281 bool IsOk(void) { return false; }
2282 int GetNumberJoysticks() { return -1; }
2283 int GetManufacturerId() { return -1; }
2284 int GetProductId() { return -1; }
2285 wxString
GetProductName() { return wxEmptyString
; }
2286 int GetXMin() { return -1; }
2287 int GetYMin() { return -1; }
2288 int GetZMin() { return -1; }
2289 int GetXMax() { return -1; }
2290 int GetYMax() { return -1; }
2291 int GetZMax() { return -1; }
2292 int GetNumberButtons() { return -1; }
2293 int GetNumberAxes() { return -1; }
2294 int GetMaxButtons() { return -1; }
2295 int GetMaxAxes() { return -1; }
2296 int GetPollingMin() { return -1; }
2297 int GetPollingMax() { return -1; }
2298 int GetRudderMin() { return -1; }
2299 int GetRudderMax() { return -1; }
2300 int GetUMin() { return -1; }
2301 int GetUMax() { return -1; }
2302 int GetVMin() { return -1; }
2303 int GetVMax() { return -1; }
2305 bool HasRudder() { return false; }
2306 bool HasZ() { return false; }
2307 bool HasU() { return false; }
2308 bool HasV() { return false; }
2309 bool HasPOV() { return false; }
2310 bool HasPOV4Dir() { return false; }
2311 bool HasPOVCTS() { return false; }
2313 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2314 bool ReleaseCapture() { return false; }
2319 #include <wx/sound.h>
2323 // A C++ stub class for wxWave for platforms that don't have it.
2324 class wxSound
: public wxObject
2328 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2329 PyErr_SetString(PyExc_NotImplementedError
,
2330 "wxSound is not available on this platform.");
2331 wxPyEndBlockThreads(blocked
);
2333 wxSound(const wxString
&/*, bool*/) {
2334 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2335 PyErr_SetString(PyExc_NotImplementedError
,
2336 "wxSound is not available on this platform.");
2337 wxPyEndBlockThreads(blocked
);
2339 wxSound(int, const wxByte
*) {
2340 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2341 PyErr_SetString(PyExc_NotImplementedError
,
2342 "wxSound is not available on this platform.");
2343 wxPyEndBlockThreads(blocked
);
2348 bool Create(const wxString
&/*, bool*/) { return false; }
2349 bool Create(int, const wxByte
*) { return false; };
2350 bool IsOk() { return false; };
2351 bool Play(unsigned) const { return false; }
2352 static bool Play(const wxString
&, unsigned) { return false; }
2353 static void Stop() {}
2358 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2359 if (fileName
.Length() == 0)
2362 return new wxSound(fileName
);
2364 static wxSound
*new_wxSound(PyObject
*data
){
2365 unsigned char* buffer
; int size
;
2366 wxSound
*sound
= NULL
;
2368 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2369 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2371 sound
= new wxSound(size
, buffer
);
2373 wxPyEndBlockThreads(blocked
);
2376 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2378 unsigned char* buffer
;
2382 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2383 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2385 rv
= self
->Create(size
, buffer
);
2387 wxPyEndBlockThreads(blocked
);
2390 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2391 PyErr_SetString(PyExc_NotImplementedError
,
2392 "Create from data is not available on this platform.");
2393 wxPyEndBlockThreads(blocked
);
2398 #include <wx/mimetype.h>
2400 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2402 if (self
->GetMimeType(&str
))
2403 return wx2PyString(str
);
2407 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2409 if (self
->GetMimeTypes(arr
))
2410 return wxArrayString2PyList_helper(arr
);
2414 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2416 if (self
->GetExtensions(arr
))
2417 return wxArrayString2PyList_helper(arr
);
2421 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2423 if (self
->GetIcon(&loc
))
2424 return new wxIcon(loc
);
2428 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2430 if (self
->GetIcon(&loc
)) {
2431 wxString iconFile
= loc
.GetFileName();
2436 // Make a tuple and put the values in it
2437 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2438 PyObject
* tuple
= PyTuple_New(3);
2439 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2440 wxT("wxIcon"), true));
2441 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2442 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2443 wxPyEndBlockThreads(blocked
);
2449 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2451 if (self
->GetDescription(&str
))
2452 return wx2PyString(str
);
2456 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2458 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2459 return wx2PyString(str
);
2463 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2465 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2466 return wx2PyString(str
);
2470 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2471 wxArrayString verbs
;
2472 wxArrayString commands
;
2473 if (self
->GetAllCommands(&verbs
, &commands
,
2474 wxFileType::MessageParameters(filename
, mimetype
))) {
2475 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2476 PyObject
* tuple
= PyTuple_New(2);
2477 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2478 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2479 wxPyEndBlockThreads(blocked
);
2485 static wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2486 return wxFileType::ExpandCommand(command
,
2487 wxFileType::MessageParameters(filename
, mimetype
));
2489 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2491 self
->EnumAllFileTypes(arr
);
2492 return wxArrayString2PyList_helper(arr
);
2495 #include <wx/artprov.h>
2497 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2498 static const wxString
wxPyART_MENU(wxART_MENU
);
2499 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2500 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2501 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2502 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2503 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2504 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2505 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2506 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2507 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2508 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2509 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2510 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2511 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2512 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2513 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2514 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2515 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2516 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2517 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2518 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2519 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2520 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2521 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2522 static const wxString
wxPyART_HELP(wxART_HELP
);
2523 static const wxString
wxPyART_TIP(wxART_TIP
);
2524 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2525 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2526 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2527 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2528 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2529 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2530 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2531 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2532 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2533 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2534 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2535 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2536 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2537 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2538 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2539 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2540 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2541 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2542 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2543 static const wxString
wxPyART_COPY(wxART_COPY
);
2544 static const wxString
wxPyART_CUT(wxART_CUT
);
2545 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2546 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2547 static const wxString
wxPyART_NEW(wxART_NEW
);
2548 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2549 static const wxString
wxPyART_REDO(wxART_REDO
);
2550 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2551 static const wxString
wxPyART_FIND(wxART_FIND
);
2552 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2553 // Python aware wxArtProvider
2554 class wxPyArtProvider
: public wxArtProvider
{
2557 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2558 const wxArtClient
& client
,
2559 const wxSize
& size
) {
2560 wxBitmap rval
= wxNullBitmap
;
2561 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2562 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2563 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2567 s1
= wx2PyString(id
);
2568 s2
= wx2PyString(client
);
2569 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2574 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2579 wxPyEndBlockThreads(blocked
);
2586 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2590 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2591 PyObject
* ret
= PyTuple_New(3);
2593 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2594 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2595 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2600 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2605 cont
= self
->GetFirstGroup(value
, index
);
2606 return __EnumerationHelper(cont
, value
, index
);
2608 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2612 cont
= self
->GetNextGroup(value
, index
);
2613 return __EnumerationHelper(cont
, value
, index
);
2615 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2620 cont
= self
->GetFirstEntry(value
, index
);
2621 return __EnumerationHelper(cont
, value
, index
);
2623 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2627 cont
= self
->GetNextEntry(value
, index
);
2628 return __EnumerationHelper(cont
, value
, index
);
2630 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2632 self
->Read(key
, &rv
, defaultVal
);
2637 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2639 if (PyNumber_Check(obj
)) {
2640 if (val
) *val
= PyFloat_AsDouble(obj
);
2644 SWIG_Python_TypeError("number", obj
);
2650 SWIGINTERNINLINE
double
2651 SWIG_As_double(PyObject
* obj
)
2654 if (!SWIG_AsVal_double(obj
, &v
)) {
2656 this is needed to make valgrind/purify happier.
2658 memset((void*)&v
, 0, sizeof(double));
2664 SWIGINTERNINLINE
int
2665 SWIG_Check_double(PyObject
* obj
)
2667 return SWIG_AsVal_double(obj
, (double*)0);
2670 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2672 self
->Read(key
, &rv
, defaultVal
);
2676 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2677 #define SWIG_From_double PyFloat_FromDouble
2680 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2682 self
->Read(key
, &rv
, defaultVal
);
2686 #include <wx/datetime.h>
2688 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2689 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2691 #define LOCAL_TZ wxDateTime::Local
2693 static PyObject
*wxDateTime_GetAmPmStrings(){
2696 wxDateTime::GetAmPmStrings(&am
, &pm
);
2697 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2698 PyObject
* tup
= PyTuple_New(2);
2699 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2700 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2701 wxPyEndBlockThreads(blocked
);
2705 #if UINT_MAX < LONG_MAX
2706 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2707 #define SWIG_From_unsigned_SS_int SWIG_From_long
2710 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2711 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2715 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2716 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2717 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2718 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2719 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2720 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2721 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2722 return (*self
< *other
);
2724 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2725 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2726 return (*self
<= *other
);
2728 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2729 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2730 return (*self
> *other
);
2732 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2733 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2734 return (*self
>= *other
);
2736 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2737 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2738 return (*self
== *other
);
2740 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2741 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2742 return (*self
!= *other
);
2744 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2746 const wxChar
* _date
= date
;
2747 rv
= self
->ParseRfc822Date(_date
);
2748 if (rv
== NULL
) return -1;
2751 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2753 const wxChar
* _date
= date
;
2754 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2755 if (rv
== NULL
) return -1;
2758 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2760 const wxChar
* _datetime
= datetime
;
2761 rv
= self
->ParseDateTime(_datetime
);
2762 if (rv
== NULL
) return -1;
2763 return rv
- _datetime
;
2765 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2767 const wxChar
* _date
= date
;
2768 rv
= self
->ParseDate(_date
);
2769 if (rv
== NULL
) return -1;
2772 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2774 const wxChar
* _time
= time
;
2775 rv
= self
->ParseTime(_time
);
2776 if (rv
== NULL
) return -1;
2779 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2780 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2781 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2782 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2783 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2784 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2785 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2786 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2787 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2788 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2789 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2790 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2791 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2792 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2793 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2794 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2796 #include <wx/dataobj.h>
2798 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2799 size_t count
= self
->GetFormatCount(dir
);
2800 wxDataFormat
* formats
= new wxDataFormat
[count
];
2801 self
->GetAllFormats(formats
, dir
);
2803 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2804 PyObject
* list
= PyList_New(count
);
2805 for (size_t i
=0; i
<count
; i
++) {
2806 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2807 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2808 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
2810 wxPyEndBlockThreads(blocked
);
2814 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2815 PyObject
* rval
= NULL
;
2816 size_t size
= self
->GetDataSize(format
);
2817 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2819 char* buf
= new char[size
];
2820 if (self
->GetDataHere(format
, buf
))
2821 rval
= PyString_FromStringAndSize(buf
, size
);
2828 wxPyEndBlockThreads(blocked
);
2831 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2833 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2834 if (PyString_Check(data
)) {
2835 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2838 // raise a TypeError if not a string
2839 PyErr_SetString(PyExc_TypeError
, "String expected.");
2842 wxPyEndBlockThreads(blocked
);
2845 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2846 PyObject
* rval
= NULL
;
2847 size_t size
= self
->GetDataSize();
2848 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2850 char* buf
= new char[size
];
2851 if (self
->GetDataHere(buf
))
2852 rval
= PyString_FromStringAndSize(buf
, size
);
2859 wxPyEndBlockThreads(blocked
);
2862 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2864 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2865 if (PyString_Check(data
)) {
2866 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2869 // raise a TypeError if not a string
2870 PyErr_SetString(PyExc_TypeError
, "String expected.");
2873 wxPyEndBlockThreads(blocked
);
2876 // Create a new class for wxPython to use
2877 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2879 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2880 : wxDataObjectSimple(format
) {}
2882 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2883 bool GetDataHere(void *buf
) const;
2884 bool SetData(size_t len
, const void *buf
) const;
2888 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2890 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2891 // We need to get the data for this object and write it to buf. I think
2892 // the best way to do this for wxPython is to have the Python method
2893 // return either a string or None and then act appropriately with the
2897 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2898 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2900 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2902 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2904 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2908 wxPyEndBlockThreads(blocked
);
2912 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2913 // For this one we simply need to make a string from buf and len
2914 // and send it to the Python method.
2916 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2917 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2918 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2919 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2922 wxPyEndBlockThreads(blocked
);
2926 // Create a new class for wxPython to use
2927 class wxPyTextDataObject
: public wxTextDataObject
{
2929 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2930 : wxTextDataObject(text
) {}
2932 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2933 DEC_PYCALLBACK_STRING__const(GetText
);
2934 DEC_PYCALLBACK__STRING(SetText
);
2938 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2939 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2940 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2943 // Create a new class for wxPython to use
2944 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2946 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2947 : wxBitmapDataObject(bitmap
) {}
2949 wxBitmap
GetBitmap() const;
2950 void SetBitmap(const wxBitmap
& bitmap
);
2954 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2955 wxBitmap
* rval
= &wxNullBitmap
;
2956 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2957 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2960 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2962 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2967 wxPyEndBlockThreads(blocked
);
2971 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2972 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2973 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2974 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2975 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2978 wxPyEndBlockThreads(blocked
);
2981 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2982 return new wxCustomDataObject(wxDataFormat(formatName
));
2984 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2986 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2987 if (PyString_Check(data
)) {
2988 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2991 // raise a TypeError if not a string
2992 PyErr_SetString(PyExc_TypeError
, "String expected.");
2995 wxPyEndBlockThreads(blocked
);
2998 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3000 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3001 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3002 wxPyEndBlockThreads(blocked
);
3006 #include <wx/metafile.h>
3009 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3012 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3013 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3014 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3015 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3016 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3019 class wxPyTextDropTarget
: public wxTextDropTarget
{
3021 wxPyTextDropTarget() {}
3023 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3025 DEC_PYCALLBACK__(OnLeave
);
3026 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3027 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3028 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3029 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3034 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3035 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3036 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3037 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3038 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3039 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3043 class wxPyFileDropTarget
: public wxFileDropTarget
{
3045 wxPyFileDropTarget() {}
3047 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3049 DEC_PYCALLBACK__(OnLeave
);
3050 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3051 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3052 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3053 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3058 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3059 const wxArrayString
& filenames
) {
3061 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3062 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3063 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3064 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3067 wxPyEndBlockThreads(blocked
);
3073 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3074 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3075 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3076 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3077 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3082 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
3084 #include <wx/display.h>
3086 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
3087 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
3089 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3091 #include <wx/dynarray.h>
3092 #include <wx/vidmode.h>
3094 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
3095 #include "wx/arrimpl.cpp"
3096 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
3097 const wxVideoMode wxDefaultVideoMode
;
3102 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
3105 static size_t GetCount()
3106 { wxPyRaiseNotImplemented(); return 0; }
3108 static int GetFromPoint(const wxPoint
& pt
)
3109 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3110 static int GetFromWindow(wxWindow
*window
)
3111 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3113 virtual bool IsOk() const { return false; }
3114 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
3115 virtual wxString
GetName() const { return wxEmptyString
; }
3116 bool IsPrimary() const { return false; }
3118 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3119 { wxArrayVideoModes a
; return a
; }
3121 virtual wxVideoMode
GetCurrentMode() const
3122 { return wxDefaultVideoMode
; }
3124 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3131 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
3132 PyObject
* pyList
= NULL
;
3133 wxArrayVideoModes arr
= self
->GetModes(mode
);
3134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3135 pyList
= PyList_New(0);
3136 for (int i
=0; i
< arr
.GetCount(); i
++) {
3137 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
3138 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
3139 PyList_Append(pyList
, pyObj
);
3142 wxPyEndBlockThreads(blocked
);
3146 #include <wx/stdpaths.h>
3148 static wxStandardPaths
*wxStandardPaths_Get(){
3149 return (wxStandardPaths
*) &wxStandardPaths::Get();
3151 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
3152 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
3156 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
= NULL
;
3158 wxSystemColour arg1
;
3160 PyObject
* obj0
= 0 ;
3162 (char *) "index", NULL
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3167 arg1
= static_cast<wxSystemColour
>(SWIG_As_int(obj0
));
3168 if (SWIG_arg_fail(1)) SWIG_fail
;
3171 if (!wxPyCheckForApp()) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 result
= wxSystemSettings::GetColour(arg1
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3179 wxColour
* resultptr
;
3180 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3189 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
= NULL
;
3193 PyObject
* obj0
= 0 ;
3195 (char *) "index", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3200 arg1
= static_cast<wxSystemFont
>(SWIG_As_int(obj0
));
3201 if (SWIG_arg_fail(1)) SWIG_fail
;
3204 if (!wxPyCheckForApp()) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= wxSystemSettings::GetFont(arg1
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3213 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
3214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3222 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
= NULL
;
3224 wxSystemMetric arg1
;
3225 wxWindow
*arg2
= (wxWindow
*) NULL
;
3227 PyObject
* obj0
= 0 ;
3228 PyObject
* obj1
= 0 ;
3230 (char *) "index",(char *) "win", NULL
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3235 arg1
= static_cast<wxSystemMetric
>(SWIG_As_int(obj0
));
3236 if (SWIG_arg_fail(1)) SWIG_fail
;
3239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3240 if (SWIG_arg_fail(2)) SWIG_fail
;
3243 if (!wxPyCheckForApp()) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= SWIG_From_int(static_cast<int >(result
));
3259 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
= NULL
;
3261 wxSystemFeature arg1
;
3263 PyObject
* obj0
= 0 ;
3265 (char *) "index", NULL
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3270 arg1
= static_cast<wxSystemFeature
>(SWIG_As_int(obj0
));
3271 if (SWIG_arg_fail(1)) SWIG_fail
;
3274 if (!wxPyCheckForApp()) SWIG_fail
;
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 result
= (bool)wxSystemSettings::HasFeature(arg1
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3290 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
*resultobj
= NULL
;
3292 wxSystemScreenType result
;
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3299 if (!wxPyCheckForApp()) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 resultobj
= SWIG_From_int((result
));
3313 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
= NULL
;
3315 wxSystemScreenType arg1
;
3316 PyObject
* obj0
= 0 ;
3318 (char *) "screen", NULL
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3323 arg1
= static_cast<wxSystemScreenType
>(SWIG_As_int(obj0
));
3324 if (SWIG_arg_fail(1)) SWIG_fail
;
3327 if (!wxPyCheckForApp()) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 wxSystemSettings::SetScreenType(arg1
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 Py_INCREF(Py_None
); resultobj
= Py_None
;
3341 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3344 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3346 return Py_BuildValue((char *)"");
3348 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3349 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3354 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3355 PyObject
*pyobj
= NULL
;
3359 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3361 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3368 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
= NULL
;
3370 wxSystemOptions
*result
;
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 result
= (wxSystemOptions
*)new wxSystemOptions();
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3390 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
= NULL
;
3392 wxString
*arg1
= 0 ;
3393 wxString
*arg2
= 0 ;
3394 bool temp1
= false ;
3395 bool temp2
= false ;
3396 PyObject
* obj0
= 0 ;
3397 PyObject
* obj1
= 0 ;
3399 (char *) "name",(char *) "value", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3404 arg1
= wxString_in_helper(obj0
);
3405 if (arg1
== NULL
) SWIG_fail
;
3409 arg2
= wxString_in_helper(obj1
);
3410 if (arg2
== NULL
) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 Py_INCREF(Py_None
); resultobj
= Py_None
;
3443 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
= NULL
;
3445 wxString
*arg1
= 0 ;
3447 bool temp1
= false ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3451 (char *) "name",(char *) "value", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3456 arg1
= wxString_in_helper(obj0
);
3457 if (arg1
== NULL
) SWIG_fail
;
3461 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3462 if (SWIG_arg_fail(2)) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3471 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
= NULL
;
3488 wxString
*arg1
= 0 ;
3490 bool temp1
= false ;
3491 PyObject
* obj0
= 0 ;
3493 (char *) "name", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3498 arg1
= wxString_in_helper(obj0
);
3499 if (arg1
== NULL
) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3530 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
= NULL
;
3532 wxString
*arg1
= 0 ;
3534 bool temp1
= false ;
3535 PyObject
* obj0
= 0 ;
3537 (char *) "name", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3542 arg1
= wxString_in_helper(obj0
);
3543 if (arg1
== NULL
) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= SWIG_From_int(static_cast<int >(result
));
3570 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
= NULL
;
3572 wxString
*arg1
= 0 ;
3574 bool temp1
= false ;
3575 PyObject
* obj0
= 0 ;
3577 (char *) "name", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3582 arg1
= wxString_in_helper(obj0
);
3583 if (arg1
== NULL
) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3610 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
= NULL
;
3612 wxString
*arg1
= 0 ;
3614 bool temp1
= false ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "name", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3622 arg1
= wxString_in_helper(obj0
);
3623 if (arg1
== NULL
) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3650 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3653 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3655 return Py_BuildValue((char *)"");
3657 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3658 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3663 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3664 PyObject
*pyobj
= NULL
;
3668 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3670 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3677 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3678 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3683 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3684 PyObject
*pyobj
= NULL
;
3688 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3690 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3697 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3698 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3703 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3704 PyObject
*pyobj
= NULL
;
3708 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3710 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3717 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
= NULL
;
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 result
= (long)wxNewId();
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= SWIG_From_long(static_cast<long >(result
));
3741 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
= NULL
;
3744 PyObject
* obj0
= 0 ;
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3751 arg1
= static_cast<long >(SWIG_As_long(obj0
));
3752 if (SWIG_arg_fail(1)) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 Py_INCREF(Py_None
); resultobj
= Py_None
;
3768 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= NULL
;
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 result
= (long)wxGetCurrentId();
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= SWIG_From_long(static_cast<long >(result
));
3792 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
= NULL
;
3796 PyObject
* obj0
= 0 ;
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3803 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3804 if (SWIG_arg_fail(1)) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 result
= (bool)wxIsStockID(arg1
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3822 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
= NULL
;
3825 wxString
*arg2
= 0 ;
3827 bool temp2
= false ;
3828 PyObject
* obj0
= 0 ;
3829 PyObject
* obj1
= 0 ;
3831 (char *) "id",(char *) "label", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3836 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3837 if (SWIG_arg_fail(1)) SWIG_fail
;
3840 arg2
= wxString_in_helper(obj1
);
3841 if (arg2
== NULL
) SWIG_fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3868 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
= NULL
;
3871 bool arg2
= (bool) true ;
3872 wxString arg3
= (wxString
) wxPyEmptyString
;
3874 PyObject
* obj0
= 0 ;
3875 PyObject
* obj1
= 0 ;
3876 PyObject
* obj2
= 0 ;
3878 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3883 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3884 if (SWIG_arg_fail(1)) SWIG_fail
;
3888 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3889 if (SWIG_arg_fail(2)) SWIG_fail
;
3894 wxString
* sptr
= wxString_in_helper(obj2
);
3895 if (sptr
== NULL
) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3920 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
= NULL
;
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3928 if (!wxPyCheckForApp()) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 Py_INCREF(Py_None
); resultobj
= Py_None
;
3942 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
= NULL
;
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3950 if (!wxPyCheckForApp()) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 Py_INCREF(Py_None
); resultobj
= Py_None
;
3964 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
= NULL
;
3966 bool arg1
= (bool) true ;
3968 PyObject
* obj0
= 0 ;
3970 (char *) "resetTimer", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3976 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
3977 if (SWIG_arg_fail(1)) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 result
= (long)wxGetElapsedTime(arg1
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3988 resultobj
= SWIG_From_long(static_cast<long >(result
));
3996 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
= NULL
;
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (bool)wxIsBusy();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4020 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
= NULL
;
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4048 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
= NULL
;
4050 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4051 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4053 bool temp1
= false ;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "command", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
4062 arg1
= wxString_in_helper(obj0
);
4063 if (arg1
== NULL
) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (bool)wxShell((wxString
const &)*arg1
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4091 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
= NULL
;
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 Py_INCREF(Py_None
); resultobj
= Py_None
;
4112 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
= NULL
;
4114 int *arg1
= (int *) 0 ;
4115 int *arg2
= (int *) 0 ;
4125 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4126 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (int)wxGetOsVersion(arg1
,arg2
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= SWIG_From_int(static_cast<int >(result
));
4138 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4139 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4140 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4141 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4148 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
= NULL
;
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= wxGetOsDescription();
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4176 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
= NULL
;
4178 wxMemorySize result
;
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= wxGetFreeMemory();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4192 wxMemorySize
* resultptr
;
4193 resultptr
= new wxMemorySize(static_cast<wxMemorySize
& >(result
));
4194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4202 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
= NULL
;
4204 wxShutdownFlags arg1
;
4206 PyObject
* obj0
= 0 ;
4208 (char *) "wFlags", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4213 arg1
= static_cast<wxShutdownFlags
>(SWIG_As_int(obj0
));
4214 if (SWIG_arg_fail(1)) SWIG_fail
;
4217 if (!wxPyCheckForApp()) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (bool)wxShutdown(arg1
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4233 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
= NULL
;
4236 PyObject
* obj0
= 0 ;
4238 (char *) "secs", NULL
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4243 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4244 if (SWIG_arg_fail(1)) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 Py_INCREF(Py_None
); resultobj
= Py_None
;
4260 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
= NULL
;
4262 unsigned long arg1
;
4263 PyObject
* obj0
= 0 ;
4265 (char *) "milliseconds", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4270 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4271 if (SWIG_arg_fail(1)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4287 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
= NULL
;
4289 unsigned long arg1
;
4290 PyObject
* obj0
= 0 ;
4292 (char *) "microseconds", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4297 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4298 if (SWIG_arg_fail(1)) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 Py_INCREF(Py_None
); resultobj
= Py_None
;
4314 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
= NULL
;
4317 PyObject
* obj0
= 0 ;
4319 (char *) "enable", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4324 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4325 if (SWIG_arg_fail(1)) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 wxEnableTopLevelWindows(arg1
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 Py_INCREF(Py_None
); resultobj
= Py_None
;
4341 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= NULL
;
4343 wxString
*arg1
= 0 ;
4345 bool temp1
= false ;
4346 PyObject
* obj0
= 0 ;
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4353 arg1
= wxString_in_helper(obj0
);
4354 if (arg1
== NULL
) SWIG_fail
;
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4359 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4385 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
= NULL
;
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= wxGetEmailAddress();
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4413 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
= NULL
;
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= wxGetHostName();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4441 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
= NULL
;
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= wxGetFullHostName();
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4469 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
= NULL
;
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 result
= wxGetUserId();
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4497 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
= NULL
;
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 result
= wxGetUserName();
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4525 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
= NULL
;
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= wxGetHomeDir();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4553 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
= NULL
;
4555 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4556 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4558 bool temp1
= false ;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "user", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4567 arg1
= wxString_in_helper(obj0
);
4568 if (arg1
== NULL
) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= wxGetUserHome((wxString
const &)*arg1
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4600 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
= NULL
;
4602 unsigned long result
;
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (unsigned long)wxGetProcessId();
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
4624 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
= NULL
;
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 Py_INCREF(Py_None
); resultobj
= Py_None
;
4645 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
= NULL
;
4647 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4648 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4649 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4650 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4651 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4652 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4653 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4654 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4655 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4656 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4657 int arg6
= (int) 0 ;
4658 wxWindow
*arg7
= (wxWindow
*) NULL
;
4659 int arg8
= (int) -1 ;
4660 int arg9
= (int) -1 ;
4662 bool temp1
= false ;
4663 bool temp2
= false ;
4664 bool temp3
= false ;
4665 bool temp4
= false ;
4666 bool temp5
= false ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4670 PyObject
* obj3
= 0 ;
4671 PyObject
* obj4
= 0 ;
4672 PyObject
* obj5
= 0 ;
4673 PyObject
* obj6
= 0 ;
4674 PyObject
* obj7
= 0 ;
4675 PyObject
* obj8
= 0 ;
4677 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4683 arg1
= wxString_in_helper(obj0
);
4684 if (arg1
== NULL
) SWIG_fail
;
4690 arg2
= wxString_in_helper(obj1
);
4691 if (arg2
== NULL
) SWIG_fail
;
4697 arg3
= wxString_in_helper(obj2
);
4698 if (arg3
== NULL
) SWIG_fail
;
4704 arg4
= wxString_in_helper(obj3
);
4705 if (arg4
== NULL
) SWIG_fail
;
4711 arg5
= wxString_in_helper(obj4
);
4712 if (arg5
== NULL
) SWIG_fail
;
4718 arg6
= static_cast<int >(SWIG_As_int(obj5
));
4719 if (SWIG_arg_fail(6)) SWIG_fail
;
4723 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4724 if (SWIG_arg_fail(7)) SWIG_fail
;
4728 arg8
= static_cast<int >(SWIG_As_int(obj7
));
4729 if (SWIG_arg_fail(8)) SWIG_fail
;
4734 arg9
= static_cast<int >(SWIG_As_int(obj8
));
4735 if (SWIG_arg_fail(9)) SWIG_fail
;
4739 if (!wxPyCheckForApp()) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4799 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
= NULL
;
4801 wxString
*arg1
= 0 ;
4802 wxString
*arg2
= 0 ;
4803 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4804 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4805 wxWindow
*arg4
= (wxWindow
*) NULL
;
4807 bool temp1
= false ;
4808 bool temp2
= false ;
4809 bool temp3
= false ;
4810 PyObject
* obj0
= 0 ;
4811 PyObject
* obj1
= 0 ;
4812 PyObject
* obj2
= 0 ;
4813 PyObject
* obj3
= 0 ;
4815 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4820 arg1
= wxString_in_helper(obj0
);
4821 if (arg1
== NULL
) SWIG_fail
;
4825 arg2
= wxString_in_helper(obj1
);
4826 if (arg2
== NULL
) SWIG_fail
;
4831 arg3
= wxString_in_helper(obj2
);
4832 if (arg3
== NULL
) SWIG_fail
;
4837 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4838 if (SWIG_arg_fail(4)) SWIG_fail
;
4841 if (!wxPyCheckForApp()) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4885 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
= NULL
;
4887 wxString
*arg1
= 0 ;
4888 wxString
*arg2
= 0 ;
4889 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4890 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4891 wxWindow
*arg4
= (wxWindow
*) NULL
;
4893 bool temp1
= false ;
4894 bool temp2
= false ;
4895 bool temp3
= false ;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4898 PyObject
* obj2
= 0 ;
4899 PyObject
* obj3
= 0 ;
4901 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4906 arg1
= wxString_in_helper(obj0
);
4907 if (arg1
== NULL
) SWIG_fail
;
4911 arg2
= wxString_in_helper(obj1
);
4912 if (arg2
== NULL
) SWIG_fail
;
4917 arg3
= wxString_in_helper(obj2
);
4918 if (arg3
== NULL
) SWIG_fail
;
4923 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4924 if (SWIG_arg_fail(4)) SWIG_fail
;
4927 if (!wxPyCheckForApp()) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4971 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
= NULL
;
4973 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4974 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4975 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4976 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4977 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4978 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4979 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4980 wxWindow
*arg5
= (wxWindow
*) NULL
;
4982 bool temp1
= false ;
4983 bool temp2
= false ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4987 PyObject
* obj2
= 0 ;
4988 PyObject
* obj3
= 0 ;
4989 PyObject
* obj4
= 0 ;
4991 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4997 arg1
= wxString_in_helper(obj0
);
4998 if (arg1
== NULL
) SWIG_fail
;
5004 arg2
= wxString_in_helper(obj1
);
5005 if (arg2
== NULL
) SWIG_fail
;
5011 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5012 if (SWIG_arg_fail(3)) SWIG_fail
;
5018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5022 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5023 if (SWIG_arg_fail(5)) SWIG_fail
;
5026 if (!wxPyCheckForApp()) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5062 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= NULL
;
5064 wxString
*arg1
= 0 ;
5065 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5066 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5069 wxWindow
*arg4
= (wxWindow
*) NULL
;
5070 int arg5
= (int) -1 ;
5071 int arg6
= (int) -1 ;
5072 bool arg7
= (bool) true ;
5074 bool temp1
= false ;
5075 bool temp2
= false ;
5076 bool temp3
= false ;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5079 PyObject
* obj2
= 0 ;
5080 PyObject
* obj3
= 0 ;
5081 PyObject
* obj4
= 0 ;
5082 PyObject
* obj5
= 0 ;
5083 PyObject
* obj6
= 0 ;
5085 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5090 arg1
= wxString_in_helper(obj0
);
5091 if (arg1
== NULL
) SWIG_fail
;
5096 arg2
= wxString_in_helper(obj1
);
5097 if (arg2
== NULL
) SWIG_fail
;
5103 arg3
= wxString_in_helper(obj2
);
5104 if (arg3
== NULL
) SWIG_fail
;
5109 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5110 if (SWIG_arg_fail(4)) SWIG_fail
;
5114 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5115 if (SWIG_arg_fail(5)) SWIG_fail
;
5120 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5121 if (SWIG_arg_fail(6)) SWIG_fail
;
5126 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
5127 if (SWIG_arg_fail(7)) SWIG_fail
;
5131 if (!wxPyCheckForApp()) SWIG_fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5175 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
= NULL
;
5177 wxString
*arg1
= 0 ;
5178 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5179 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5180 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5181 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5182 wxWindow
*arg4
= (wxWindow
*) NULL
;
5184 bool temp1
= false ;
5185 bool temp2
= false ;
5186 bool temp3
= false ;
5187 PyObject
* obj0
= 0 ;
5188 PyObject
* obj1
= 0 ;
5189 PyObject
* obj2
= 0 ;
5190 PyObject
* obj3
= 0 ;
5192 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5197 arg1
= wxString_in_helper(obj0
);
5198 if (arg1
== NULL
) SWIG_fail
;
5203 arg2
= wxString_in_helper(obj1
);
5204 if (arg2
== NULL
) SWIG_fail
;
5210 arg3
= wxString_in_helper(obj2
);
5211 if (arg3
== NULL
) SWIG_fail
;
5216 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5217 if (SWIG_arg_fail(4)) SWIG_fail
;
5220 if (!wxPyCheckForApp()) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5264 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
= NULL
;
5266 wxString
*arg1
= 0 ;
5267 wxString
*arg2
= 0 ;
5269 wxString
*arg4
= (wxString
*) 0 ;
5270 wxWindow
*arg5
= (wxWindow
*) NULL
;
5271 int arg6
= (int) -1 ;
5272 int arg7
= (int) -1 ;
5273 bool arg8
= (bool) true ;
5274 int arg9
= (int) 150 ;
5275 int arg10
= (int) 200 ;
5277 bool temp1
= false ;
5278 bool temp2
= false ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5281 PyObject
* obj2
= 0 ;
5282 PyObject
* obj3
= 0 ;
5283 PyObject
* obj4
= 0 ;
5284 PyObject
* obj5
= 0 ;
5285 PyObject
* obj6
= 0 ;
5286 PyObject
* obj7
= 0 ;
5287 PyObject
* obj8
= 0 ;
5289 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5294 arg1
= wxString_in_helper(obj0
);
5295 if (arg1
== NULL
) SWIG_fail
;
5299 arg2
= wxString_in_helper(obj1
);
5300 if (arg2
== NULL
) SWIG_fail
;
5304 arg3
= PyList_Size(obj2
);
5305 arg4
= wxString_LIST_helper(obj2
);
5306 if (arg4
== NULL
) SWIG_fail
;
5309 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5310 if (SWIG_arg_fail(5)) SWIG_fail
;
5314 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5315 if (SWIG_arg_fail(6)) SWIG_fail
;
5320 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5321 if (SWIG_arg_fail(7)) SWIG_fail
;
5326 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5327 if (SWIG_arg_fail(8)) SWIG_fail
;
5332 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5333 if (SWIG_arg_fail(9)) SWIG_fail
;
5338 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5339 if (SWIG_arg_fail(10)) SWIG_fail
;
5343 if (!wxPyCheckForApp()) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5366 if (arg4
) delete [] arg4
;
5379 if (arg4
) delete [] arg4
;
5385 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
= NULL
;
5387 wxString
*arg1
= 0 ;
5388 wxString
*arg2
= 0 ;
5390 wxString
*arg4
= (wxString
*) 0 ;
5391 wxWindow
*arg5
= (wxWindow
*) NULL
;
5392 int arg6
= (int) -1 ;
5393 int arg7
= (int) -1 ;
5394 bool arg8
= (bool) true ;
5395 int arg9
= (int) 150 ;
5396 int arg10
= (int) 200 ;
5398 bool temp1
= false ;
5399 bool temp2
= false ;
5400 PyObject
* obj0
= 0 ;
5401 PyObject
* obj1
= 0 ;
5402 PyObject
* obj2
= 0 ;
5403 PyObject
* obj3
= 0 ;
5404 PyObject
* obj4
= 0 ;
5405 PyObject
* obj5
= 0 ;
5406 PyObject
* obj6
= 0 ;
5407 PyObject
* obj7
= 0 ;
5408 PyObject
* obj8
= 0 ;
5410 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5415 arg1
= wxString_in_helper(obj0
);
5416 if (arg1
== NULL
) SWIG_fail
;
5420 arg2
= wxString_in_helper(obj1
);
5421 if (arg2
== NULL
) SWIG_fail
;
5425 arg3
= PyList_Size(obj2
);
5426 arg4
= wxString_LIST_helper(obj2
);
5427 if (arg4
== NULL
) SWIG_fail
;
5430 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5431 if (SWIG_arg_fail(5)) SWIG_fail
;
5435 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5436 if (SWIG_arg_fail(6)) SWIG_fail
;
5441 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5442 if (SWIG_arg_fail(7)) SWIG_fail
;
5447 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5448 if (SWIG_arg_fail(8)) SWIG_fail
;
5453 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5454 if (SWIG_arg_fail(9)) SWIG_fail
;
5459 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5460 if (SWIG_arg_fail(10)) SWIG_fail
;
5464 if (!wxPyCheckForApp()) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= SWIG_From_int(static_cast<int >(result
));
5483 if (arg4
) delete [] arg4
;
5496 if (arg4
) delete [] arg4
;
5502 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
= NULL
;
5504 wxString
*arg1
= 0 ;
5505 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5506 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5507 int arg3
= (int) wxOK
|wxCENTRE
;
5508 wxWindow
*arg4
= (wxWindow
*) NULL
;
5509 int arg5
= (int) -1 ;
5510 int arg6
= (int) -1 ;
5512 bool temp1
= false ;
5513 bool temp2
= false ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5516 PyObject
* obj2
= 0 ;
5517 PyObject
* obj3
= 0 ;
5518 PyObject
* obj4
= 0 ;
5519 PyObject
* obj5
= 0 ;
5521 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5526 arg1
= wxString_in_helper(obj0
);
5527 if (arg1
== NULL
) SWIG_fail
;
5532 arg2
= wxString_in_helper(obj1
);
5533 if (arg2
== NULL
) SWIG_fail
;
5539 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5540 if (SWIG_arg_fail(3)) SWIG_fail
;
5544 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5545 if (SWIG_arg_fail(4)) SWIG_fail
;
5549 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5550 if (SWIG_arg_fail(5)) SWIG_fail
;
5555 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5556 if (SWIG_arg_fail(6)) SWIG_fail
;
5560 if (!wxPyCheckForApp()) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5568 resultobj
= SWIG_From_int(static_cast<int >(result
));
5592 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
= NULL
;
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5601 if (!wxPyCheckForApp()) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (bool)wxColourDisplay();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5617 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
= NULL
;
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5626 if (!wxPyCheckForApp()) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (int)wxDisplayDepth();
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= SWIG_From_int(static_cast<int >(result
));
5642 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
= NULL
;
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5651 if (!wxPyCheckForApp()) SWIG_fail
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 result
= (int)wxGetDisplayDepth();
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_From_int(static_cast<int >(result
));
5667 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
= NULL
;
5669 int *arg1
= (int *) 0 ;
5670 int *arg2
= (int *) 0 ;
5679 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5680 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5683 if (!wxPyCheckForApp()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 wxDisplaySize(arg1
,arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 Py_INCREF(Py_None
); resultobj
= Py_None
;
5691 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5692 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5693 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5694 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5701 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
= NULL
;
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5710 if (!wxPyCheckForApp()) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= wxGetDisplaySize();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5719 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5728 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
= NULL
;
5730 int *arg1
= (int *) 0 ;
5731 int *arg2
= (int *) 0 ;
5740 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5741 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5744 if (!wxPyCheckForApp()) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 wxDisplaySizeMM(arg1
,arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 Py_INCREF(Py_None
); resultobj
= Py_None
;
5752 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5753 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5754 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5755 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5762 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
= NULL
;
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5771 if (!wxPyCheckForApp()) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 result
= wxGetDisplaySizeMM();
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5780 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5789 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
= NULL
;
5791 int *arg1
= (int *) 0 ;
5792 int *arg2
= (int *) 0 ;
5793 int *arg3
= (int *) 0 ;
5794 int *arg4
= (int *) 0 ;
5807 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5808 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5809 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5810 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5813 if (!wxPyCheckForApp()) SWIG_fail
;
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 Py_INCREF(Py_None
); resultobj
= Py_None
;
5821 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5822 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5823 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5824 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5825 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5826 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5827 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5828 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5835 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= NULL
;
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5844 if (!wxPyCheckForApp()) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= wxGetClientDisplayRect();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5853 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
5854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5862 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
= NULL
;
5864 wxCursor
*arg1
= 0 ;
5865 PyObject
* obj0
= 0 ;
5867 (char *) "cursor", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5873 if (SWIG_arg_fail(1)) SWIG_fail
;
5875 SWIG_null_ref("wxCursor");
5877 if (SWIG_arg_fail(1)) SWIG_fail
;
5880 if (!wxPyCheckForApp()) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 Py_INCREF(Py_None
); resultobj
= Py_None
;
5894 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
= NULL
;
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5903 if (!wxPyCheckForApp()) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (void *)wxGetXDisplay();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5917 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
= NULL
;
5919 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5920 PyObject
* obj0
= 0 ;
5922 (char *) "cursor", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5928 if (SWIG_arg_fail(1)) SWIG_fail
;
5931 if (!wxPyCheckForApp()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 wxBeginBusyCursor(arg1
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 Py_INCREF(Py_None
); resultobj
= Py_None
;
5945 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
= NULL
;
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
5954 if (!wxPyCheckForApp()) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= wxGetMousePosition();
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 wxPoint
* resultptr
;
5963 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5972 static PyObject
*_wrap_FindWindowAtPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
= NULL
;
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FindWindowAtPointer",kwnames
)) goto fail
;
5981 if (!wxPyCheckForApp()) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (wxWindow
*)FindWindowAtPointer();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= wxPyMake_wxObject(result
, 0);
5997 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
= NULL
;
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
6006 if (!wxPyCheckForApp()) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (wxWindow
*)wxGetActiveWindow();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= wxPyMake_wxObject(result
, 0);
6022 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
= NULL
;
6027 PyObject
* obj0
= 0 ;
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6035 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6038 if (!wxPyCheckForApp()) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= wxPyMake_wxObject(result
, 0);
6054 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
= NULL
;
6059 PyObject
* obj0
= 0 ;
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6067 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6070 if (!wxPyCheckForApp()) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= wxPyMake_wxObject(result
, 0);
6086 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
= NULL
;
6088 wxWindow
*arg1
= (wxWindow
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "win", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6097 if (SWIG_arg_fail(1)) SWIG_fail
;
6099 if (!wxPyCheckForApp()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= wxPyMake_wxObject(result
, 0);
6115 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
= NULL
;
6117 wxString
*arg1
= 0 ;
6119 bool temp1
= false ;
6120 PyObject
* obj0
= 0 ;
6122 (char *) "url", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6127 arg1
= wxString_in_helper(obj0
);
6128 if (arg1
== NULL
) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6155 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
= NULL
;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "key", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6166 arg1
= static_cast<wxKeyCode
>(SWIG_As_int(obj0
));
6167 if (SWIG_arg_fail(1)) SWIG_fail
;
6170 if (!wxPyCheckForApp()) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (bool)wxGetKeyState(arg1
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6186 static PyObject
*_wrap_new_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
= NULL
;
6188 wxMouseState
*result
;
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MouseState",kwnames
)) goto fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (wxMouseState
*)new wxMouseState();
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseState
, 1);
6208 static PyObject
*_wrap_delete_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
= NULL
;
6210 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MouseState",kwnames
,&obj0
)) goto fail
;
6217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6218 if (SWIG_arg_fail(1)) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 Py_INCREF(Py_None
); resultobj
= Py_None
;
6233 static PyObject
*_wrap_MouseState_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
= NULL
;
6235 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6239 (char *) "self", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetX",kwnames
,&obj0
)) goto fail
;
6243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6244 if (SWIG_arg_fail(1)) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (int)(arg1
)->GetX();
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_From_int(static_cast<int >(result
));
6261 static PyObject
*_wrap_MouseState_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= NULL
;
6263 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6265 PyObject
* obj0
= 0 ;
6267 (char *) "self", NULL
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetY",kwnames
,&obj0
)) goto fail
;
6271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6272 if (SWIG_arg_fail(1)) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (int)(arg1
)->GetY();
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= SWIG_From_int(static_cast<int >(result
));
6289 static PyObject
*_wrap_MouseState_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
= NULL
;
6291 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6295 (char *) "self", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_LeftDown",kwnames
,&obj0
)) goto fail
;
6299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6300 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (bool)(arg1
)->LeftDown();
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6317 static PyObject
*_wrap_MouseState_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= NULL
;
6319 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6323 (char *) "self", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MiddleDown",kwnames
,&obj0
)) goto fail
;
6327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6328 if (SWIG_arg_fail(1)) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (bool)(arg1
)->MiddleDown();
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6345 static PyObject
*_wrap_MouseState_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
= NULL
;
6347 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6349 PyObject
* obj0
= 0 ;
6351 (char *) "self", NULL
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_RightDown",kwnames
,&obj0
)) goto fail
;
6355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6356 if (SWIG_arg_fail(1)) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (bool)(arg1
)->RightDown();
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6373 static PyObject
*_wrap_MouseState_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
= NULL
;
6375 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "self", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ControlDown",kwnames
,&obj0
)) goto fail
;
6383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (bool)(arg1
)->ControlDown();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6401 static PyObject
*_wrap_MouseState_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= NULL
;
6403 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ShiftDown",kwnames
,&obj0
)) goto fail
;
6411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6412 if (SWIG_arg_fail(1)) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (bool)(arg1
)->ShiftDown();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6429 static PyObject
*_wrap_MouseState_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
= NULL
;
6431 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "self", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_AltDown",kwnames
,&obj0
)) goto fail
;
6439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6440 if (SWIG_arg_fail(1)) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)(arg1
)->AltDown();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 static PyObject
*_wrap_MouseState_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
= NULL
;
6459 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "self", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MetaDown",kwnames
,&obj0
)) goto fail
;
6467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6468 if (SWIG_arg_fail(1)) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (bool)(arg1
)->MetaDown();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6485 static PyObject
*_wrap_MouseState_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
= NULL
;
6487 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "self", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_CmdDown",kwnames
,&obj0
)) goto fail
;
6495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6496 if (SWIG_arg_fail(1)) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (bool)(arg1
)->CmdDown();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6513 static PyObject
*_wrap_MouseState_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
= NULL
;
6515 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6517 PyObject
* obj0
= 0 ;
6518 PyObject
* obj1
= 0 ;
6520 (char *) "self",(char *) "x", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
6524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6525 if (SWIG_arg_fail(1)) SWIG_fail
;
6527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6528 if (SWIG_arg_fail(2)) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 Py_INCREF(Py_None
); resultobj
= Py_None
;
6544 static PyObject
*_wrap_MouseState_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
= NULL
;
6546 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6548 PyObject
* obj0
= 0 ;
6549 PyObject
* obj1
= 0 ;
6551 (char *) "self",(char *) "y", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
6555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6556 if (SWIG_arg_fail(1)) SWIG_fail
;
6558 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6559 if (SWIG_arg_fail(2)) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 Py_INCREF(Py_None
); resultobj
= Py_None
;
6575 static PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
= NULL
;
6577 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6582 (char *) "self",(char *) "down", NULL
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6587 if (SWIG_arg_fail(1)) SWIG_fail
;
6589 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6590 if (SWIG_arg_fail(2)) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 (arg1
)->SetLeftDown(arg2
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 Py_INCREF(Py_None
); resultobj
= Py_None
;
6606 static PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
= NULL
;
6608 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6613 (char *) "self",(char *) "down", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6618 if (SWIG_arg_fail(1)) SWIG_fail
;
6620 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6621 if (SWIG_arg_fail(2)) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 (arg1
)->SetMiddleDown(arg2
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_MouseState_SetRightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
= NULL
;
6639 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6644 (char *) "self",(char *) "down", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6649 if (SWIG_arg_fail(1)) SWIG_fail
;
6651 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6652 if (SWIG_arg_fail(2)) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 (arg1
)->SetRightDown(arg2
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 Py_INCREF(Py_None
); resultobj
= Py_None
;
6668 static PyObject
*_wrap_MouseState_SetControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
= NULL
;
6670 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6675 (char *) "self",(char *) "down", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6680 if (SWIG_arg_fail(1)) SWIG_fail
;
6682 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6683 if (SWIG_arg_fail(2)) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 (arg1
)->SetControlDown(arg2
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 Py_INCREF(Py_None
); resultobj
= Py_None
;
6699 static PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
= NULL
;
6701 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6704 PyObject
* obj1
= 0 ;
6706 (char *) "self",(char *) "down", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6711 if (SWIG_arg_fail(1)) SWIG_fail
;
6713 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6714 if (SWIG_arg_fail(2)) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 (arg1
)->SetShiftDown(arg2
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 Py_INCREF(Py_None
); resultobj
= Py_None
;
6730 static PyObject
*_wrap_MouseState_SetAltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
= NULL
;
6732 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6735 PyObject
* obj1
= 0 ;
6737 (char *) "self",(char *) "down", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6742 if (SWIG_arg_fail(1)) SWIG_fail
;
6744 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6745 if (SWIG_arg_fail(2)) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 (arg1
)->SetAltDown(arg2
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 Py_INCREF(Py_None
); resultobj
= Py_None
;
6761 static PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
= NULL
;
6763 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6768 (char *) "self",(char *) "down", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6776 if (SWIG_arg_fail(2)) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->SetMetaDown(arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
* MouseState_swigregister(PyObject
*, PyObject
*args
) {
6794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6795 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState
, obj
);
6797 return Py_BuildValue((char *)"");
6799 static PyObject
*_wrap_GetMouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= NULL
;
6801 wxMouseState result
;
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMouseState",kwnames
)) goto fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= wxGetMouseState();
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 wxMouseState
* resultptr
;
6816 resultptr
= new wxMouseState(static_cast<wxMouseState
& >(result
));
6817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMouseState
, 1);
6825 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
= NULL
;
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6833 if (!wxPyCheckForApp()) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 wxWakeUpMainThread();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 Py_INCREF(Py_None
); resultobj
= Py_None
;
6847 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
= NULL
;
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6855 if (!wxPyCheckForApp()) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 Py_INCREF(Py_None
); resultobj
= Py_None
;
6869 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
= NULL
;
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6877 if (!wxPyCheckForApp()) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 Py_INCREF(Py_None
); resultobj
= Py_None
;
6891 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= NULL
;
6893 wxMutexGuiLocker
*result
;
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6900 if (!wxPyCheckForApp()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6914 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
= NULL
;
6916 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6919 (char *) "self", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6924 if (SWIG_arg_fail(1)) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 Py_INCREF(Py_None
); resultobj
= Py_None
;
6939 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6942 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6944 return Py_BuildValue((char *)"");
6946 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
= NULL
;
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)wxThread_IsMain();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6970 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
= NULL
;
6972 wxString
*arg1
= 0 ;
6974 bool temp1
= false ;
6975 PyObject
* obj0
= 0 ;
6977 (char *) "tip", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6982 arg1
= wxString_in_helper(obj0
);
6983 if (arg1
== NULL
) SWIG_fail
;
6987 if (!wxPyCheckForApp()) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolTip
, 1);
7009 static PyObject
*_wrap_delete_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
= NULL
;
7011 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7012 PyObject
* obj0
= 0 ;
7014 (char *) "self", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ToolTip",kwnames
,&obj0
)) goto fail
;
7018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7019 if (SWIG_arg_fail(1)) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 Py_INCREF(Py_None
); resultobj
= Py_None
;
7034 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
= NULL
;
7036 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7037 wxString
*arg2
= 0 ;
7038 bool temp2
= false ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7042 (char *) "self",(char *) "tip", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7047 if (SWIG_arg_fail(1)) SWIG_fail
;
7049 arg2
= wxString_in_helper(obj1
);
7050 if (arg2
== NULL
) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 (arg1
)->SetTip((wxString
const &)*arg2
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7075 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
= NULL
;
7077 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7081 (char *) "self", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7086 if (SWIG_arg_fail(1)) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (arg1
)->GetTip();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7107 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
= NULL
;
7109 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7113 (char *) "self", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7118 if (SWIG_arg_fail(1)) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= (wxWindow
*)(arg1
)->GetWindow();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7127 resultobj
= wxPyMake_wxObject(result
, 0);
7135 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
= NULL
;
7138 PyObject
* obj0
= 0 ;
7140 (char *) "flag", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7145 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7146 if (SWIG_arg_fail(1)) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 wxToolTip::Enable(arg1
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 Py_INCREF(Py_None
); resultobj
= Py_None
;
7162 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
= NULL
;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "milliseconds", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7172 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7173 if (SWIG_arg_fail(1)) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 wxToolTip::SetDelay(arg1
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 Py_INCREF(Py_None
); resultobj
= Py_None
;
7189 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7192 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7194 return Py_BuildValue((char *)"");
7196 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
= NULL
;
7198 wxWindow
*arg1
= (wxWindow
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "window",(char *) "size", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail
;
7213 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7216 if (!wxPyCheckForApp()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7230 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= NULL
;
7232 wxCaret
*arg1
= (wxCaret
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7235 (char *) "self", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
7239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 Py_INCREF(Py_None
); resultobj
= Py_None
;
7255 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
= NULL
;
7257 wxCaret
*arg1
= (wxCaret
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7260 (char *) "self", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7265 if (SWIG_arg_fail(1)) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 wxCaret_Destroy(arg1
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 Py_INCREF(Py_None
); resultobj
= Py_None
;
7280 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
= NULL
;
7282 wxCaret
*arg1
= (wxCaret
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "self", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7291 if (SWIG_arg_fail(1)) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (bool)(arg1
)->IsOk();
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7308 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
= NULL
;
7310 wxCaret
*arg1
= (wxCaret
*) 0 ;
7312 PyObject
* obj0
= 0 ;
7314 (char *) "self", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (bool)(arg1
)->IsVisible();
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7336 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
= NULL
;
7338 wxCaret
*arg1
= (wxCaret
*) 0 ;
7340 PyObject
* obj0
= 0 ;
7342 (char *) "self", NULL
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7347 if (SWIG_arg_fail(1)) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (arg1
)->GetPosition();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7356 wxPoint
* resultptr
;
7357 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7366 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
= NULL
;
7368 wxCaret
*arg1
= (wxCaret
*) 0 ;
7369 int *arg2
= (int *) 0 ;
7370 int *arg3
= (int *) 0 ;
7375 PyObject
* obj0
= 0 ;
7377 (char *) "self", NULL
7380 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7381 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(1)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 (arg1
)->GetPosition(arg2
,arg3
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7393 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7394 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7395 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7396 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7403 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
= NULL
;
7405 wxCaret
*arg1
= (wxCaret
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7409 (char *) "self", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7414 if (SWIG_arg_fail(1)) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 result
= (arg1
)->GetSize();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7424 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7433 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
= NULL
;
7435 wxCaret
*arg1
= (wxCaret
*) 0 ;
7436 int *arg2
= (int *) 0 ;
7437 int *arg3
= (int *) 0 ;
7442 PyObject
* obj0
= 0 ;
7444 (char *) "self", NULL
7447 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7448 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7451 if (SWIG_arg_fail(1)) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 (arg1
)->GetSize(arg2
,arg3
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7461 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7462 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7463 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7470 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
= NULL
;
7472 wxCaret
*arg1
= (wxCaret
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7476 (char *) "self", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (wxWindow
*)(arg1
)->GetWindow();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= wxPyMake_wxObject(result
, 0);
7498 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
= NULL
;
7500 wxCaret
*arg1
= (wxCaret
*) 0 ;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7505 PyObject
* obj2
= 0 ;
7507 (char *) "self",(char *) "x",(char *) "y", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7512 if (SWIG_arg_fail(1)) SWIG_fail
;
7514 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7515 if (SWIG_arg_fail(2)) SWIG_fail
;
7518 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7519 if (SWIG_arg_fail(3)) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 (arg1
)->Move(arg2
,arg3
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 Py_INCREF(Py_None
); resultobj
= Py_None
;
7535 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
= NULL
;
7537 wxCaret
*arg1
= (wxCaret
*) 0 ;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7543 (char *) "self",(char *) "pt", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail
;
7551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 (arg1
)->Move((wxPoint
const &)*arg2
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 Py_INCREF(Py_None
); resultobj
= Py_None
;
7567 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
= NULL
;
7569 wxCaret
*arg1
= (wxCaret
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7574 PyObject
* obj2
= 0 ;
7576 (char *) "self",(char *) "width",(char *) "height", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7581 if (SWIG_arg_fail(1)) SWIG_fail
;
7583 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7584 if (SWIG_arg_fail(2)) SWIG_fail
;
7587 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7588 if (SWIG_arg_fail(3)) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 (arg1
)->SetSize(arg2
,arg3
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 Py_INCREF(Py_None
); resultobj
= Py_None
;
7604 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
= NULL
;
7606 wxCaret
*arg1
= (wxCaret
*) 0 ;
7609 PyObject
* obj0
= 0 ;
7610 PyObject
* obj1
= 0 ;
7612 (char *) "self",(char *) "size", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7617 if (SWIG_arg_fail(1)) SWIG_fail
;
7620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 (arg1
)->SetSize((wxSize
const &)*arg2
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 Py_INCREF(Py_None
); resultobj
= Py_None
;
7636 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
= NULL
;
7638 wxCaret
*arg1
= (wxCaret
*) 0 ;
7639 int arg2
= (int) true ;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7643 (char *) "self",(char *) "show", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7648 if (SWIG_arg_fail(1)) SWIG_fail
;
7651 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7652 if (SWIG_arg_fail(2)) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 Py_INCREF(Py_None
); resultobj
= Py_None
;
7669 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
= NULL
;
7671 wxCaret
*arg1
= (wxCaret
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7674 (char *) "self", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7687 Py_INCREF(Py_None
); resultobj
= Py_None
;
7694 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
= NULL
;
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (int)wxCaret::GetBlinkTime();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= SWIG_From_int(static_cast<int >(result
));
7718 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
= NULL
;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "milliseconds", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7728 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7729 if (SWIG_arg_fail(1)) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 wxCaret::SetBlinkTime(arg1
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 Py_INCREF(Py_None
); resultobj
= Py_None
;
7745 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7748 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7750 return Py_BuildValue((char *)"");
7752 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
= NULL
;
7754 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7755 wxBusyCursor
*result
;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "cursor", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7764 if (SWIG_arg_fail(1)) SWIG_fail
;
7767 if (!wxPyCheckForApp()) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7781 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
= NULL
;
7783 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7786 (char *) "self", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7791 if (SWIG_arg_fail(1)) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 Py_INCREF(Py_None
); resultobj
= Py_None
;
7806 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7809 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7811 return Py_BuildValue((char *)"");
7813 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
= NULL
;
7815 wxWindow
*arg1
= (wxWindow
*) NULL
;
7816 wxWindowDisabler
*result
;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "winToSkip", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7825 if (SWIG_arg_fail(1)) SWIG_fail
;
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7842 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
= NULL
;
7844 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "self", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7852 if (SWIG_arg_fail(1)) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 Py_INCREF(Py_None
); resultobj
= Py_None
;
7867 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7870 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7872 return Py_BuildValue((char *)"");
7874 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
= NULL
;
7876 wxString
*arg1
= 0 ;
7878 bool temp1
= false ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "message", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7886 arg1
= wxString_in_helper(obj0
);
7887 if (arg1
== NULL
) SWIG_fail
;
7891 if (!wxPyCheckForApp()) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7913 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
= NULL
;
7915 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7923 if (SWIG_arg_fail(1)) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 Py_INCREF(Py_None
); resultobj
= Py_None
;
7938 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7941 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7943 return Py_BuildValue((char *)"");
7945 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
= NULL
;
7947 wxStopWatch
*result
;
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (wxStopWatch
*)new wxStopWatch();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7967 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
= NULL
;
7969 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7970 long arg2
= (long) 0 ;
7971 PyObject
* obj0
= 0 ;
7972 PyObject
* obj1
= 0 ;
7974 (char *) "self",(char *) "t0", NULL
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail
;
7982 arg2
= static_cast<long >(SWIG_As_long(obj1
));
7983 if (SWIG_arg_fail(2)) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 (arg1
)->Start(arg2
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 Py_INCREF(Py_None
); resultobj
= Py_None
;
8000 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
= NULL
;
8002 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8005 (char *) "self", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
8009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8010 if (SWIG_arg_fail(1)) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 Py_INCREF(Py_None
); resultobj
= Py_None
;
8025 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
= NULL
;
8027 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8030 (char *) "self", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8035 if (SWIG_arg_fail(1)) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 Py_INCREF(Py_None
); resultobj
= Py_None
;
8050 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
= NULL
;
8052 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_From_long(static_cast<long >(result
));
8078 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8081 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8083 return Py_BuildValue((char *)"");
8085 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
= NULL
;
8087 int arg1
= (int) 9 ;
8088 int arg2
= (int) wxID_FILE1
;
8089 wxFileHistory
*result
;
8090 PyObject
* obj0
= 0 ;
8091 PyObject
* obj1
= 0 ;
8093 (char *) "maxFiles",(char *) "idBase", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8099 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8100 if (SWIG_arg_fail(1)) SWIG_fail
;
8105 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8106 if (SWIG_arg_fail(2)) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8123 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
= NULL
;
8125 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8126 PyObject
* obj0
= 0 ;
8128 (char *) "self", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 Py_INCREF(Py_None
); resultobj
= Py_None
;
8148 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
= NULL
;
8150 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8151 wxString
*arg2
= 0 ;
8152 bool temp2
= false ;
8153 PyObject
* obj0
= 0 ;
8154 PyObject
* obj1
= 0 ;
8156 (char *) "self",(char *) "file", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8161 if (SWIG_arg_fail(1)) SWIG_fail
;
8163 arg2
= wxString_in_helper(obj1
);
8164 if (arg2
== NULL
) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 Py_INCREF(Py_None
); resultobj
= Py_None
;
8189 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
= NULL
;
8191 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8193 PyObject
* obj0
= 0 ;
8194 PyObject
* obj1
= 0 ;
8196 (char *) "self",(char *) "i", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8201 if (SWIG_arg_fail(1)) SWIG_fail
;
8203 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8204 if (SWIG_arg_fail(2)) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 (arg1
)->RemoveFileFromHistory(arg2
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 Py_INCREF(Py_None
); resultobj
= Py_None
;
8220 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
= NULL
;
8222 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8226 (char *) "self", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8231 if (SWIG_arg_fail(1)) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8240 resultobj
= SWIG_From_int(static_cast<int >(result
));
8248 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
= NULL
;
8250 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8251 wxMenu
*arg2
= (wxMenu
*) 0 ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8255 (char *) "self",(char *) "menu", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8260 if (SWIG_arg_fail(1)) SWIG_fail
;
8261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8262 if (SWIG_arg_fail(2)) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->UseMenu(arg2
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8277 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
= NULL
;
8279 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8280 wxMenu
*arg2
= (wxMenu
*) 0 ;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8284 (char *) "self",(char *) "menu", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8289 if (SWIG_arg_fail(1)) SWIG_fail
;
8290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(2)) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 (arg1
)->RemoveMenu(arg2
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
= NULL
;
8308 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8309 wxConfigBase
*arg2
= 0 ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8313 (char *) "self",(char *) "config", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8318 if (SWIG_arg_fail(1)) SWIG_fail
;
8320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8321 if (SWIG_arg_fail(2)) SWIG_fail
;
8323 SWIG_null_ref("wxConfigBase");
8325 if (SWIG_arg_fail(2)) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 (arg1
)->Load(*arg2
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 Py_INCREF(Py_None
); resultobj
= Py_None
;
8341 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
= NULL
;
8343 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8344 wxConfigBase
*arg2
= 0 ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8348 (char *) "self",(char *) "config", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
8352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8353 if (SWIG_arg_fail(1)) SWIG_fail
;
8355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8356 if (SWIG_arg_fail(2)) SWIG_fail
;
8358 SWIG_null_ref("wxConfigBase");
8360 if (SWIG_arg_fail(2)) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 (arg1
)->Save(*arg2
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 Py_INCREF(Py_None
); resultobj
= Py_None
;
8376 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
= NULL
;
8378 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8379 PyObject
* obj0
= 0 ;
8381 (char *) "self", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8386 if (SWIG_arg_fail(1)) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 (arg1
)->AddFilesToMenu();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 Py_INCREF(Py_None
); resultobj
= Py_None
;
8401 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
= NULL
;
8403 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8404 wxMenu
*arg2
= (wxMenu
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8406 PyObject
* obj1
= 0 ;
8408 (char *) "self",(char *) "menu", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8413 if (SWIG_arg_fail(1)) SWIG_fail
;
8414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(2)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 (arg1
)->AddFilesToMenu(arg2
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 Py_INCREF(Py_None
); resultobj
= Py_None
;
8430 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
= NULL
;
8432 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8436 PyObject
* obj1
= 0 ;
8438 (char *) "self",(char *) "i", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail
;
8445 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8446 if (SWIG_arg_fail(2)) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8468 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
*resultobj
= NULL
;
8470 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8472 PyObject
* obj0
= 0 ;
8474 (char *) "self", NULL
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8479 if (SWIG_arg_fail(1)) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_From_int(static_cast<int >(result
));
8496 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8499 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8501 return Py_BuildValue((char *)"");
8503 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
= NULL
;
8505 wxString
*arg1
= 0 ;
8506 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8507 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8508 wxSingleInstanceChecker
*result
;
8509 bool temp1
= false ;
8510 bool temp2
= false ;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8514 (char *) "name",(char *) "path", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8519 arg1
= wxString_in_helper(obj0
);
8520 if (arg1
== NULL
) SWIG_fail
;
8525 arg2
= wxString_in_helper(obj1
);
8526 if (arg2
== NULL
) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8560 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
= NULL
;
8562 wxSingleInstanceChecker
*result
;
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8582 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
= NULL
;
8584 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8587 (char *) "self", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
8591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8592 if (SWIG_arg_fail(1)) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8607 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
= NULL
;
8609 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8610 wxString
*arg2
= 0 ;
8611 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8612 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8614 bool temp2
= false ;
8615 bool temp3
= false ;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8618 PyObject
* obj2
= 0 ;
8620 (char *) "self",(char *) "name",(char *) "path", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8625 if (SWIG_arg_fail(1)) SWIG_fail
;
8627 arg2
= wxString_in_helper(obj1
);
8628 if (arg2
== NULL
) SWIG_fail
;
8633 arg3
= wxString_in_helper(obj2
);
8634 if (arg3
== NULL
) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8670 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
= NULL
;
8672 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8676 (char *) "self", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8681 if (SWIG_arg_fail(1)) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8698 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8701 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8703 return Py_BuildValue((char *)"");
8705 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
= NULL
;
8707 wxWindow
*arg1
= (wxWindow
*) 0 ;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8713 (char *) "window",(char *) "dc", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8718 if (SWIG_arg_fail(1)) SWIG_fail
;
8720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8721 if (SWIG_arg_fail(2)) SWIG_fail
;
8723 SWIG_null_ref("wxDC");
8725 if (SWIG_arg_fail(2)) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8743 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
= NULL
;
8745 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8746 PyObject
* obj0
= 0 ;
8748 (char *) "self", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8753 if (SWIG_arg_fail(1)) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8768 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
= NULL
;
8770 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8772 PyObject
* obj0
= 0 ;
8774 (char *) "self", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8779 if (SWIG_arg_fail(1)) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (arg1
)->GetTip();
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8800 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= NULL
;
8802 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8804 PyObject
* obj0
= 0 ;
8806 (char *) "self", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8811 if (SWIG_arg_fail(1)) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (size_t)(arg1
)->GetCurrentTip();
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8828 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
= NULL
;
8830 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8831 wxString
*arg2
= 0 ;
8833 bool temp2
= false ;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8837 (char *) "self",(char *) "tip", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8842 if (SWIG_arg_fail(1)) SWIG_fail
;
8844 arg2
= wxString_in_helper(obj1
);
8845 if (arg2
== NULL
) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8876 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8879 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8881 return Py_BuildValue((char *)"");
8883 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
= NULL
;
8886 wxPyTipProvider
*result
;
8887 PyObject
* obj0
= 0 ;
8889 (char *) "currentTip", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8894 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8895 if (SWIG_arg_fail(1)) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8911 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
= NULL
;
8913 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8914 PyObject
*arg2
= (PyObject
*) 0 ;
8915 PyObject
*arg3
= (PyObject
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8918 PyObject
* obj2
= 0 ;
8920 (char *) "self",(char *) "self",(char *) "_class", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 Py_INCREF(Py_None
); resultobj
= Py_None
;
8942 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8945 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8947 return Py_BuildValue((char *)"");
8949 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
= NULL
;
8951 wxWindow
*arg1
= (wxWindow
*) 0 ;
8952 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8953 bool arg3
= (bool) true ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8957 PyObject
* obj2
= 0 ;
8959 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8964 if (SWIG_arg_fail(1)) SWIG_fail
;
8965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8966 if (SWIG_arg_fail(2)) SWIG_fail
;
8969 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8970 if (SWIG_arg_fail(3)) SWIG_fail
;
8974 if (!wxPyCheckForApp()) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8990 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
= NULL
;
8992 wxString
*arg1
= 0 ;
8994 wxTipProvider
*result
;
8995 bool temp1
= false ;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8999 (char *) "filename",(char *) "currentTip", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
9004 arg1
= wxString_in_helper(obj0
);
9005 if (arg1
== NULL
) SWIG_fail
;
9009 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
9010 if (SWIG_arg_fail(2)) SWIG_fail
;
9013 if (!wxPyCheckForApp()) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9035 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
= NULL
;
9037 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9038 int arg2
= (int) -1 ;
9040 PyObject
* obj0
= 0 ;
9041 PyObject
* obj1
= 0 ;
9043 (char *) "owner",(char *) "id", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail
;
9053 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9054 if (SWIG_arg_fail(2)) SWIG_fail
;
9058 if (!wxPyCheckForApp()) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9072 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
= NULL
;
9074 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9077 (char *) "self", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9082 if (SWIG_arg_fail(1)) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 Py_INCREF(Py_None
); resultobj
= Py_None
;
9097 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
= NULL
;
9099 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9100 PyObject
*arg2
= (PyObject
*) 0 ;
9101 PyObject
*arg3
= (PyObject
*) 0 ;
9102 int arg4
= (int) 1 ;
9103 PyObject
* obj0
= 0 ;
9104 PyObject
* obj1
= 0 ;
9105 PyObject
* obj2
= 0 ;
9106 PyObject
* obj3
= 0 ;
9108 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9113 if (SWIG_arg_fail(1)) SWIG_fail
;
9118 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9119 if (SWIG_arg_fail(4)) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 Py_INCREF(Py_None
); resultobj
= Py_None
;
9136 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
= NULL
;
9138 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9139 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9140 int arg3
= (int) -1 ;
9141 PyObject
* obj0
= 0 ;
9142 PyObject
* obj1
= 0 ;
9143 PyObject
* obj2
= 0 ;
9145 (char *) "self",(char *) "owner",(char *) "id", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9150 if (SWIG_arg_fail(1)) SWIG_fail
;
9151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9152 if (SWIG_arg_fail(2)) SWIG_fail
;
9155 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9156 if (SWIG_arg_fail(3)) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 (arg1
)->SetOwner(arg2
,arg3
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 Py_INCREF(Py_None
); resultobj
= Py_None
;
9173 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
= NULL
;
9175 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9176 wxEvtHandler
*result
;
9177 PyObject
* obj0
= 0 ;
9179 (char *) "self", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= wxPyMake_wxObject(result
, 0);
9201 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
= NULL
;
9203 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9204 int arg2
= (int) -1 ;
9205 bool arg3
= (bool) false ;
9207 PyObject
* obj0
= 0 ;
9208 PyObject
* obj1
= 0 ;
9209 PyObject
* obj2
= 0 ;
9211 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail
;
9219 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9220 if (SWIG_arg_fail(2)) SWIG_fail
;
9225 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9226 if (SWIG_arg_fail(3)) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9245 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
= NULL
;
9247 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9248 PyObject
* obj0
= 0 ;
9250 (char *) "self", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9255 if (SWIG_arg_fail(1)) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 Py_INCREF(Py_None
); resultobj
= Py_None
;
9270 static PyObject
*_wrap_Timer_Notify(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
= NULL
;
9272 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Notify",kwnames
,&obj0
)) goto fail
;
9279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 Py_INCREF(Py_None
); resultobj
= Py_None
;
9295 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
= NULL
;
9297 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9323 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
= NULL
;
9325 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9329 (char *) "self", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9334 if (SWIG_arg_fail(1)) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_From_int(static_cast<int >(result
));
9351 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
= NULL
;
9353 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9355 PyObject
* obj0
= 0 ;
9357 (char *) "self", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9379 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
= NULL
;
9381 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9390 if (SWIG_arg_fail(1)) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= SWIG_From_int(static_cast<int >(result
));
9407 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9410 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9412 return Py_BuildValue((char *)"");
9414 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
= NULL
;
9416 int arg1
= (int) 0 ;
9417 int arg2
= (int) 0 ;
9418 wxTimerEvent
*result
;
9419 PyObject
* obj0
= 0 ;
9420 PyObject
* obj1
= 0 ;
9422 (char *) "timerid",(char *) "interval", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9428 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9429 if (SWIG_arg_fail(1)) SWIG_fail
;
9434 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9435 if (SWIG_arg_fail(2)) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9452 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
= NULL
;
9454 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9458 (char *) "self", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9463 if (SWIG_arg_fail(1)) SWIG_fail
;
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_From_int(static_cast<int >(result
));
9480 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9483 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9485 return Py_BuildValue((char *)"");
9487 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9488 PyObject
*resultobj
= NULL
;
9490 wxTimerRunner
*result
;
9491 PyObject
* obj0
= 0 ;
9493 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9496 if (SWIG_arg_fail(1)) SWIG_fail
;
9498 SWIG_null_ref("wxTimer");
9500 if (SWIG_arg_fail(1)) SWIG_fail
;
9503 if (!wxPyCheckForApp()) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9517 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9518 PyObject
*resultobj
= NULL
;
9521 bool arg3
= (bool) false ;
9522 wxTimerRunner
*result
;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9525 PyObject
* obj2
= 0 ;
9527 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9530 if (SWIG_arg_fail(1)) SWIG_fail
;
9532 SWIG_null_ref("wxTimer");
9534 if (SWIG_arg_fail(1)) SWIG_fail
;
9537 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9538 if (SWIG_arg_fail(2)) SWIG_fail
;
9542 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9543 if (SWIG_arg_fail(3)) SWIG_fail
;
9547 if (!wxPyCheckForApp()) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9561 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9566 argc
= PyObject_Length(args
);
9567 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9568 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9574 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9582 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9585 if ((argc
>= 2) && (argc
<= 3)) {
9589 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9597 _v
= SWIG_Check_int(argv
[1]);
9600 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9602 _v
= SWIG_Check_bool(argv
[2]);
9604 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9610 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9615 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
= NULL
;
9617 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9620 (char *) "self", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9625 if (SWIG_arg_fail(1)) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 Py_INCREF(Py_None
); resultobj
= Py_None
;
9640 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
= NULL
;
9642 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9644 bool arg3
= (bool) false ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9647 PyObject
* obj2
= 0 ;
9649 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9654 if (SWIG_arg_fail(1)) SWIG_fail
;
9656 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9657 if (SWIG_arg_fail(2)) SWIG_fail
;
9661 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9662 if (SWIG_arg_fail(3)) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->Start(arg2
,arg3
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 Py_INCREF(Py_None
); resultobj
= Py_None
;
9679 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9682 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9684 return Py_BuildValue((char *)"");
9686 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
= NULL
;
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (wxLog
*)new wxLog();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9708 static PyObject
*_wrap_delete_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
= NULL
;
9710 wxLog
*arg1
= (wxLog
*) 0 ;
9711 PyObject
* obj0
= 0 ;
9713 (char *) "self", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Log",kwnames
,&obj0
)) goto fail
;
9717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 Py_INCREF(Py_None
); resultobj
= Py_None
;
9733 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
= NULL
;
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= (bool)wxLog::IsEnabled();
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9757 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= NULL
;
9759 bool arg1
= (bool) true ;
9761 PyObject
* obj0
= 0 ;
9763 (char *) "doIt", NULL
9766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9769 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9770 if (SWIG_arg_fail(1)) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (bool)wxLog::EnableLogging(arg1
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9789 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
= NULL
;
9792 wxChar
*arg2
= (wxChar
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9795 PyObject
* obj1
= 0 ;
9796 PyObject
* obj2
= 0 ;
9798 (char *) "level",(char *) "szString",(char *) "t", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9803 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9804 if (SWIG_arg_fail(1)) SWIG_fail
;
9806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(2)) SWIG_fail
;
9809 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9810 if (SWIG_arg_fail(3)) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 Py_INCREF(Py_None
); resultobj
= Py_None
;
9826 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
= NULL
;
9828 wxLog
*arg1
= (wxLog
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 Py_INCREF(Py_None
); resultobj
= Py_None
;
9851 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
= NULL
;
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 wxLog::FlushActive();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 Py_INCREF(Py_None
); resultobj
= Py_None
;
9872 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= NULL
;
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (wxLog
*)wxLog::GetActiveTarget();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9894 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
= NULL
;
9896 wxLog
*arg1
= (wxLog
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9900 (char *) "pLogger", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
9905 if (SWIG_arg_fail(1)) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9920 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
= NULL
;
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 Py_INCREF(Py_None
); resultobj
= Py_None
;
9941 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
= NULL
;
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9955 Py_INCREF(Py_None
); resultobj
= Py_None
;
9962 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
= NULL
;
9964 bool arg1
= (bool) true ;
9965 PyObject
* obj0
= 0 ;
9967 (char *) "bVerbose", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9973 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9974 if (SWIG_arg_fail(1)) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 wxLog::SetVerbose(arg1
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 Py_INCREF(Py_None
); resultobj
= Py_None
;
9991 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
= NULL
;
9994 PyObject
* obj0
= 0 ;
9996 (char *) "logLevel", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
10001 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
10002 if (SWIG_arg_fail(1)) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 wxLog::SetLogLevel(arg1
);
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 Py_INCREF(Py_None
); resultobj
= Py_None
;
10018 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
= NULL
;
10020 char *kwnames
[] = {
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 wxLog::DontCreateOnDemand();
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 Py_INCREF(Py_None
); resultobj
= Py_None
;
10039 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
= NULL
;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "ulMask", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
10049 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
10050 if (SWIG_arg_fail(1)) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 wxLog::SetTraceMask(arg1
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 Py_INCREF(Py_None
); resultobj
= Py_None
;
10066 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
= NULL
;
10068 wxString
*arg1
= 0 ;
10069 bool temp1
= false ;
10070 PyObject
* obj0
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "str", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
10077 arg1
= wxString_in_helper(obj0
);
10078 if (arg1
== NULL
) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 wxLog::AddTraceMask((wxString
const &)*arg1
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 Py_INCREF(Py_None
); resultobj
= Py_None
;
10103 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
= NULL
;
10105 wxString
*arg1
= 0 ;
10106 bool temp1
= false ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "str", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10114 arg1
= wxString_in_helper(obj0
);
10115 if (arg1
== NULL
) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 Py_INCREF(Py_None
); resultobj
= Py_None
;
10140 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
= NULL
;
10142 char *kwnames
[] = {
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 wxLog::ClearTraceMasks();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 Py_INCREF(Py_None
); resultobj
= Py_None
;
10161 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
= NULL
;
10163 wxArrayString
*result
;
10164 char *kwnames
[] = {
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10173 result
= (wxArrayString
*) &_result_ref
;
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= wxArrayString2PyList_helper(*result
);
10188 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
= NULL
;
10190 wxChar
*arg1
= (wxChar
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "ts", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10198 if (SWIG_arg_fail(1)) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 wxLog::SetTimestamp((wxChar
const *)arg1
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 Py_INCREF(Py_None
); resultobj
= Py_None
;
10213 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= NULL
;
10216 char *kwnames
[] = {
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (bool)wxLog::GetVerbose();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10237 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
= NULL
;
10239 wxTraceMask result
;
10240 char *kwnames
[] = {
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (wxTraceMask
)wxLog::GetTraceMask();
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10261 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
= NULL
;
10263 wxChar
*arg1
= (wxChar
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "mask", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10272 if (SWIG_arg_fail(1)) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10289 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
= NULL
;
10292 char *kwnames
[] = {
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 result
= (wxLogLevel
)wxLog::GetLogLevel();
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10305 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10313 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
= NULL
;
10316 char *kwnames
[] = {
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 result
= (wxChar
*)wxLog::GetTimestamp();
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10335 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= NULL
;
10338 char *kwnames
[] = {
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= wxLog_TimeStamp();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10363 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
= NULL
;
10365 wxLog
*arg1
= (wxLog
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxLog_Destroy(arg1
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 Py_INCREF(Py_None
); resultobj
= Py_None
;
10388 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10391 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10393 return Py_BuildValue((char *)"");
10395 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
= NULL
;
10397 wxLogStderr
*result
;
10398 char *kwnames
[] = {
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (wxLogStderr
*)new wxLogStderr();
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10417 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10420 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10422 return Py_BuildValue((char *)"");
10424 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= NULL
;
10426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10427 wxLogTextCtrl
*result
;
10428 PyObject
* obj0
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "pTextCtrl", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10435 if (SWIG_arg_fail(1)) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10450 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10453 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10455 return Py_BuildValue((char *)"");
10457 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
= NULL
;
10460 char *kwnames
[] = {
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (wxLogGui
*)new wxLogGui();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10479 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10482 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10484 return Py_BuildValue((char *)"");
10486 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
= NULL
;
10488 wxFrame
*arg1
= (wxFrame
*) 0 ;
10489 wxString
*arg2
= 0 ;
10490 bool arg3
= (bool) true ;
10491 bool arg4
= (bool) true ;
10492 wxLogWindow
*result
;
10493 bool temp2
= false ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 PyObject
* obj3
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10504 if (SWIG_arg_fail(1)) SWIG_fail
;
10506 arg2
= wxString_in_helper(obj1
);
10507 if (arg2
== NULL
) SWIG_fail
;
10512 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10513 if (SWIG_arg_fail(3)) SWIG_fail
;
10518 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10519 if (SWIG_arg_fail(4)) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10544 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
= NULL
;
10546 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10547 bool arg2
= (bool) true ;
10548 PyObject
* obj0
= 0 ;
10549 PyObject
* obj1
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self",(char *) "bShow", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10556 if (SWIG_arg_fail(1)) SWIG_fail
;
10559 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10560 if (SWIG_arg_fail(2)) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 (arg1
)->Show(arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 Py_INCREF(Py_None
); resultobj
= Py_None
;
10577 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
= NULL
;
10579 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10588 if (SWIG_arg_fail(1)) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= wxPyMake_wxObject(result
, (bool)0);
10605 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
= NULL
;
10607 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10616 if (SWIG_arg_fail(1)) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10631 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
= NULL
;
10633 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10635 PyObject
* obj0
= 0 ;
10636 char *kwnames
[] = {
10637 (char *) "self", NULL
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10642 if (SWIG_arg_fail(1)) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10659 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
= NULL
;
10661 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 PyObject
* obj1
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self",(char *) "bDoPass", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10671 if (SWIG_arg_fail(1)) SWIG_fail
;
10673 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10674 if (SWIG_arg_fail(2)) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 (arg1
)->PassMessages(arg2
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 Py_INCREF(Py_None
); resultobj
= Py_None
;
10690 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10693 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10695 return Py_BuildValue((char *)"");
10697 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
= NULL
;
10699 wxLog
*arg1
= (wxLog
*) 0 ;
10700 wxLogChain
*result
;
10701 PyObject
* obj0
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "logger", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10708 if (SWIG_arg_fail(1)) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (wxLogChain
*)new wxLogChain(arg1
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10723 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
= NULL
;
10725 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10726 wxLog
*arg2
= (wxLog
*) 0 ;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "logger", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10735 if (SWIG_arg_fail(1)) SWIG_fail
;
10736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10737 if (SWIG_arg_fail(2)) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 (arg1
)->SetLog(arg2
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 Py_INCREF(Py_None
); resultobj
= Py_None
;
10752 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
= NULL
;
10754 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 PyObject
* obj1
= 0 ;
10758 char *kwnames
[] = {
10759 (char *) "self",(char *) "bDoPass", NULL
10762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10764 if (SWIG_arg_fail(1)) SWIG_fail
;
10766 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10767 if (SWIG_arg_fail(2)) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 (arg1
)->PassMessages(arg2
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 Py_INCREF(Py_None
); resultobj
= Py_None
;
10783 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
= NULL
;
10785 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10787 PyObject
* obj0
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10794 if (SWIG_arg_fail(1)) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (bool)(arg1
)->IsPassingMessages();
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10811 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
= NULL
;
10813 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (wxLog
*)(arg1
)->GetOldLog();
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10837 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10840 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10842 return Py_BuildValue((char *)"");
10844 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
= NULL
;
10846 wxLogBuffer
*result
;
10847 char *kwnames
[] = {
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (wxLogBuffer
*)new wxLogBuffer();
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10866 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
= NULL
;
10868 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10877 if (SWIG_arg_fail(1)) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10882 result
= (wxString
*) &_result_ref
;
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10892 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10901 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
= NULL
;
10903 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10904 PyObject
* obj0
= 0 ;
10905 char *kwnames
[] = {
10906 (char *) "self", NULL
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10911 if (SWIG_arg_fail(1)) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 Py_INCREF(Py_None
); resultobj
= Py_None
;
10926 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10929 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10931 return Py_BuildValue((char *)"");
10933 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
= NULL
;
10935 unsigned long result
;
10936 char *kwnames
[] = {
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (unsigned long)wxSysErrorCode();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10957 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
= NULL
;
10959 unsigned long arg1
= (unsigned long) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "nErrCode", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10969 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10970 if (SWIG_arg_fail(1)) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= wxSysErrorMsg(arg1
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10993 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
= NULL
;
10995 wxString
*arg1
= 0 ;
10996 bool temp1
= false ;
10997 PyObject
* obj0
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "msg", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
11004 arg1
= wxString_in_helper(obj0
);
11005 if (arg1
== NULL
) SWIG_fail
;
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 wxPyLogFatalError((wxString
const &)*arg1
);
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11015 Py_INCREF(Py_None
); resultobj
= Py_None
;
11030 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
= NULL
;
11032 wxString
*arg1
= 0 ;
11033 bool temp1
= false ;
11034 PyObject
* obj0
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "msg", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
11041 arg1
= wxString_in_helper(obj0
);
11042 if (arg1
== NULL
) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 wxPyLogError((wxString
const &)*arg1
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 Py_INCREF(Py_None
); resultobj
= Py_None
;
11067 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
= NULL
;
11069 wxString
*arg1
= 0 ;
11070 bool temp1
= false ;
11071 PyObject
* obj0
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "msg", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
11078 arg1
= wxString_in_helper(obj0
);
11079 if (arg1
== NULL
) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 wxPyLogWarning((wxString
const &)*arg1
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11104 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
= NULL
;
11106 wxString
*arg1
= 0 ;
11107 bool temp1
= false ;
11108 PyObject
* obj0
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "msg", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11115 arg1
= wxString_in_helper(obj0
);
11116 if (arg1
== NULL
) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 wxPyLogMessage((wxString
const &)*arg1
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 Py_INCREF(Py_None
); resultobj
= Py_None
;
11141 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
= NULL
;
11143 wxString
*arg1
= 0 ;
11144 bool temp1
= false ;
11145 PyObject
* obj0
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "msg", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11152 arg1
= wxString_in_helper(obj0
);
11153 if (arg1
== NULL
) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 wxPyLogInfo((wxString
const &)*arg1
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 Py_INCREF(Py_None
); resultobj
= Py_None
;
11178 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
= NULL
;
11180 wxString
*arg1
= 0 ;
11181 bool temp1
= false ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "msg", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11189 arg1
= wxString_in_helper(obj0
);
11190 if (arg1
== NULL
) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 wxPyLogDebug((wxString
const &)*arg1
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 Py_INCREF(Py_None
); resultobj
= Py_None
;
11215 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
= NULL
;
11217 wxString
*arg1
= 0 ;
11218 bool temp1
= false ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "msg", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11226 arg1
= wxString_in_helper(obj0
);
11227 if (arg1
== NULL
) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 wxPyLogVerbose((wxString
const &)*arg1
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
= NULL
;
11254 wxString
*arg1
= 0 ;
11255 bool temp1
= false ;
11256 PyObject
* obj0
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "msg", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11263 arg1
= wxString_in_helper(obj0
);
11264 if (arg1
== NULL
) SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 wxPyLogStatus((wxString
const &)*arg1
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 Py_INCREF(Py_None
); resultobj
= Py_None
;
11289 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
= NULL
;
11291 wxFrame
*arg1
= (wxFrame
*) 0 ;
11292 wxString
*arg2
= 0 ;
11293 bool temp2
= false ;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "pFrame",(char *) "msg", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11302 if (SWIG_arg_fail(1)) SWIG_fail
;
11304 arg2
= wxString_in_helper(obj1
);
11305 if (arg2
== NULL
) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 Py_INCREF(Py_None
); resultobj
= Py_None
;
11330 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
= NULL
;
11332 wxString
*arg1
= 0 ;
11333 bool temp1
= false ;
11334 PyObject
* obj0
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "msg", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11341 arg1
= wxString_in_helper(obj0
);
11342 if (arg1
== NULL
) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 wxPyLogSysError((wxString
const &)*arg1
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 Py_INCREF(Py_None
); resultobj
= Py_None
;
11367 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
= NULL
;
11369 unsigned long arg1
;
11370 wxString
*arg2
= 0 ;
11371 bool temp2
= false ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "level",(char *) "msg", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11380 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11381 if (SWIG_arg_fail(1)) SWIG_fail
;
11384 arg2
= wxString_in_helper(obj1
);
11385 if (arg2
== NULL
) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 Py_INCREF(Py_None
); resultobj
= Py_None
;
11410 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11411 PyObject
*resultobj
= NULL
;
11412 unsigned long arg1
;
11413 wxString
*arg2
= 0 ;
11414 bool temp2
= false ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11418 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11420 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11421 if (SWIG_arg_fail(1)) SWIG_fail
;
11424 arg2
= wxString_in_helper(obj1
);
11425 if (arg2
== NULL
) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11451 PyObject
*resultobj
= NULL
;
11452 wxString
*arg1
= 0 ;
11453 wxString
*arg2
= 0 ;
11454 bool temp1
= false ;
11455 bool temp2
= false ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11459 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11461 arg1
= wxString_in_helper(obj0
);
11462 if (arg1
== NULL
) SWIG_fail
;
11466 arg2
= wxString_in_helper(obj1
);
11467 if (arg2
== NULL
) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11505 argc
= PyObject_Length(args
);
11506 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11507 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11512 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11516 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11519 return _wrap_LogTrace__SWIG_1(self
,args
);
11525 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11528 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11531 return _wrap_LogTrace__SWIG_0(self
,args
);
11536 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11541 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
= NULL
;
11543 wxString
*arg1
= 0 ;
11544 wxString
*arg2
= 0 ;
11545 bool temp1
= false ;
11546 bool temp2
= false ;
11547 PyObject
* obj0
= 0 ;
11548 PyObject
* obj1
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "title",(char *) "text", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11555 arg1
= wxString_in_helper(obj0
);
11556 if (arg1
== NULL
) SWIG_fail
;
11560 arg2
= wxString_in_helper(obj1
);
11561 if (arg2
== NULL
) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 Py_INCREF(Py_None
); resultobj
= Py_None
;
11594 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
= NULL
;
11597 char *kwnames
[] = {
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (wxLogNull
*)new wxLogNull();
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11616 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
= NULL
;
11618 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11619 PyObject
* obj0
= 0 ;
11620 char *kwnames
[] = {
11621 (char *) "self", NULL
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11626 if (SWIG_arg_fail(1)) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 Py_INCREF(Py_None
); resultobj
= Py_None
;
11641 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11644 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11646 return Py_BuildValue((char *)"");
11648 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
= NULL
;
11651 char *kwnames
[] = {
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (wxPyLog
*)new wxPyLog();
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11670 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
= NULL
;
11672 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11673 PyObject
*arg2
= (PyObject
*) 0 ;
11674 PyObject
*arg3
= (PyObject
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 PyObject
* obj2
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "self",(char *) "_class", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11684 if (SWIG_arg_fail(1)) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 Py_INCREF(Py_None
); resultobj
= Py_None
;
11701 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11704 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11706 return Py_BuildValue((char *)"");
11708 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
= NULL
;
11711 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11712 int arg3
= (int) wxKILL_NOCHILDREN
;
11713 wxKillError result
;
11714 PyObject
* obj0
= 0 ;
11715 PyObject
* obj1
= 0 ;
11716 PyObject
* obj2
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11723 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11724 if (SWIG_arg_fail(1)) SWIG_fail
;
11728 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11729 if (SWIG_arg_fail(2)) SWIG_fail
;
11734 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11735 if (SWIG_arg_fail(3)) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_From_int((result
));
11752 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
= NULL
;
11756 PyObject
* obj0
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "pid", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11763 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11764 if (SWIG_arg_fail(1)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (bool)wxPyProcess::Exists(arg1
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
= NULL
;
11784 wxString
*arg1
= 0 ;
11785 int arg2
= (int) wxEXEC_ASYNC
;
11786 wxPyProcess
*result
;
11787 bool temp1
= false ;
11788 PyObject
* obj0
= 0 ;
11789 PyObject
* obj1
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "cmd",(char *) "flags", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11796 arg1
= wxString_in_helper(obj0
);
11797 if (arg1
== NULL
) SWIG_fail
;
11802 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11803 if (SWIG_arg_fail(2)) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11828 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
= NULL
;
11830 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11831 int arg2
= (int) -1 ;
11832 wxPyProcess
*result
;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "parent",(char *) "id", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11842 if (SWIG_arg_fail(1)) SWIG_fail
;
11846 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11847 if (SWIG_arg_fail(2)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11864 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= NULL
;
11866 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11867 PyObject
*arg2
= (PyObject
*) 0 ;
11868 PyObject
*arg3
= (PyObject
*) 0 ;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 PyObject
* obj2
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self",(char *) "self",(char *) "_class", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11878 if (SWIG_arg_fail(1)) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 Py_INCREF(Py_None
); resultobj
= Py_None
;
11895 static PyObject
*_wrap_Process_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
= NULL
;
11897 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 PyObject
* obj2
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self",(char *) "pid",(char *) "status", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11909 if (SWIG_arg_fail(1)) SWIG_fail
;
11911 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11912 if (SWIG_arg_fail(2)) SWIG_fail
;
11915 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11916 if (SWIG_arg_fail(3)) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 (arg1
)->OnTerminate(arg2
,arg3
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 Py_INCREF(Py_None
); resultobj
= Py_None
;
11932 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
= NULL
;
11934 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11935 PyObject
* obj0
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11942 if (SWIG_arg_fail(1)) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 (arg1
)->Redirect();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 Py_INCREF(Py_None
); resultobj
= Py_None
;
11957 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
= NULL
;
11959 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11968 if (SWIG_arg_fail(1)) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 result
= (bool)(arg1
)->IsRedirected();
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11985 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
= NULL
;
11987 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 Py_INCREF(Py_None
); resultobj
= Py_None
;
12010 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
= NULL
;
12012 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12013 wxInputStream
*result
;
12014 PyObject
* obj0
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
12020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12021 if (SWIG_arg_fail(1)) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= (wxInputStream
*)(arg1
)->GetInputStream();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 wxPyInputStream
* _ptr
= NULL
;
12033 _ptr
= new wxPyInputStream(result
);
12035 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12043 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= NULL
;
12045 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12046 wxInputStream
*result
;
12047 PyObject
* obj0
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
12053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12063 wxPyInputStream
* _ptr
= NULL
;
12066 _ptr
= new wxPyInputStream(result
);
12068 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12076 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
= NULL
;
12078 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12079 wxOutputStream
*result
;
12080 PyObject
* obj0
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12087 if (SWIG_arg_fail(1)) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12102 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
= NULL
;
12104 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 (arg1
)->CloseOutput();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 Py_INCREF(Py_None
); resultobj
= Py_None
;
12127 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
= NULL
;
12129 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12138 if (SWIG_arg_fail(1)) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12155 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
= NULL
;
12157 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12166 if (SWIG_arg_fail(1)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12183 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
= NULL
;
12185 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12194 if (SWIG_arg_fail(1)) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12211 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12214 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12216 return Py_BuildValue((char *)"");
12218 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
= NULL
;
12220 int arg1
= (int) 0 ;
12221 int arg2
= (int) 0 ;
12222 int arg3
= (int) 0 ;
12223 wxProcessEvent
*result
;
12224 PyObject
* obj0
= 0 ;
12225 PyObject
* obj1
= 0 ;
12226 PyObject
* obj2
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12234 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12240 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12241 if (SWIG_arg_fail(2)) SWIG_fail
;
12246 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12247 if (SWIG_arg_fail(3)) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12264 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
= NULL
;
12266 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 char *kwnames
[] = {
12270 (char *) "self", NULL
12273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12275 if (SWIG_arg_fail(1)) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (int)(arg1
)->GetPid();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_From_int(static_cast<int >(result
));
12292 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
= NULL
;
12294 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (int)(arg1
)->GetExitCode();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_From_int(static_cast<int >(result
));
12320 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
= NULL
;
12322 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self",(char *) "m_pid", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12332 if (SWIG_arg_fail(1)) SWIG_fail
;
12334 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12335 if (SWIG_arg_fail(2)) SWIG_fail
;
12337 if (arg1
) (arg1
)->m_pid
= arg2
;
12339 Py_INCREF(Py_None
); resultobj
= Py_None
;
12346 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
= NULL
;
12348 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12350 PyObject
* obj0
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12357 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 result
= (int) ((arg1
)->m_pid
);
12361 resultobj
= SWIG_From_int(static_cast<int >(result
));
12369 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
= NULL
;
12371 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj1
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self",(char *) "m_exitcode", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12381 if (SWIG_arg_fail(1)) SWIG_fail
;
12383 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12384 if (SWIG_arg_fail(2)) SWIG_fail
;
12386 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12388 Py_INCREF(Py_None
); resultobj
= Py_None
;
12395 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
= NULL
;
12397 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12406 if (SWIG_arg_fail(1)) SWIG_fail
;
12407 result
= (int) ((arg1
)->m_exitcode
);
12410 resultobj
= SWIG_From_int(static_cast<int >(result
));
12418 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12421 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12423 return Py_BuildValue((char *)"");
12425 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
= NULL
;
12427 wxString
*arg1
= 0 ;
12428 int arg2
= (int) wxEXEC_ASYNC
;
12429 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12431 bool temp1
= false ;
12432 PyObject
* obj0
= 0 ;
12433 PyObject
* obj1
= 0 ;
12434 PyObject
* obj2
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "command",(char *) "flags",(char *) "process", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12441 arg1
= wxString_in_helper(obj0
);
12442 if (arg1
== NULL
) SWIG_fail
;
12447 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12448 if (SWIG_arg_fail(2)) SWIG_fail
;
12452 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12453 if (SWIG_arg_fail(3)) SWIG_fail
;
12456 if (!wxPyCheckForApp()) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_From_long(static_cast<long >(result
));
12480 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
= NULL
;
12483 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12484 wxKillError
*arg3
= (wxKillError
*) 0 ;
12485 int arg4
= (int) wxKILL_NOCHILDREN
;
12487 wxKillError temp3
;
12488 PyObject
* obj0
= 0 ;
12489 PyObject
* obj1
= 0 ;
12490 PyObject
* obj2
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12500 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12501 if (SWIG_arg_fail(1)) SWIG_fail
;
12505 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12506 if (SWIG_arg_fail(2)) SWIG_fail
;
12511 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12512 if (SWIG_arg_fail(4)) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_From_int(static_cast<int >(result
));
12527 o
= PyInt_FromLong((long) (*arg3
));
12529 resultobj
= t_output_helper(resultobj
, o
);
12540 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
= NULL
;
12542 int arg1
= (int) wxJOYSTICK1
;
12543 wxJoystick
*result
;
12544 PyObject
* obj0
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "joystick", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12552 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12553 if (SWIG_arg_fail(1)) SWIG_fail
;
12557 if (!wxPyCheckForApp()) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (wxJoystick
*)new wxJoystick(arg1
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12571 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
= NULL
;
12573 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12581 if (SWIG_arg_fail(1)) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12596 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
= NULL
;
12598 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
12606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12607 if (SWIG_arg_fail(1)) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= (arg1
)->GetPosition();
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12616 wxPoint
* resultptr
;
12617 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12626 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
= NULL
;
12628 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12630 PyObject
* obj0
= 0 ;
12631 char *kwnames
[] = {
12632 (char *) "self", NULL
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12637 if (SWIG_arg_fail(1)) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (int)(arg1
)->GetZPosition();
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= SWIG_From_int(static_cast<int >(result
));
12654 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
= NULL
;
12656 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12658 PyObject
* obj0
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "self", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
12664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12665 if (SWIG_arg_fail(1)) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= (int)(arg1
)->GetButtonState();
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= SWIG_From_int(static_cast<int >(result
));
12682 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
= NULL
;
12684 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
12692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12693 if (SWIG_arg_fail(1)) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (int)(arg1
)->GetPOVPosition();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= SWIG_From_int(static_cast<int >(result
));
12710 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
= NULL
;
12712 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 char *kwnames
[] = {
12716 (char *) "self", NULL
12719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
12720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12721 if (SWIG_arg_fail(1)) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 result
= (int)(arg1
)->GetPOVCTSPosition();
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= SWIG_From_int(static_cast<int >(result
));
12738 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= NULL
;
12740 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
12748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 result
= (int)(arg1
)->GetRudderPosition();
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= SWIG_From_int(static_cast<int >(result
));
12766 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
= NULL
;
12768 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
12776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12777 if (SWIG_arg_fail(1)) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (int)(arg1
)->GetUPosition();
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= SWIG_From_int(static_cast<int >(result
));
12794 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
= NULL
;
12796 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (int)(arg1
)->GetVPosition();
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= SWIG_From_int(static_cast<int >(result
));
12822 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
= NULL
;
12824 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "self", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12833 if (SWIG_arg_fail(1)) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= (int)(arg1
)->GetMovementThreshold();
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= SWIG_From_int(static_cast<int >(result
));
12850 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
= NULL
;
12852 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self",(char *) "threshold", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12862 if (SWIG_arg_fail(1)) SWIG_fail
;
12864 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12865 if (SWIG_arg_fail(2)) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 (arg1
)->SetMovementThreshold(arg2
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 Py_INCREF(Py_None
); resultobj
= Py_None
;
12881 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
= NULL
;
12883 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12885 PyObject
* obj0
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12892 if (SWIG_arg_fail(1)) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (bool)(arg1
)->IsOk();
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
= NULL
;
12911 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12920 if (SWIG_arg_fail(1)) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (int)(arg1
)->GetNumberJoysticks();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_From_int(static_cast<int >(result
));
12937 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
= NULL
;
12939 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12948 if (SWIG_arg_fail(1)) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (int)(arg1
)->GetManufacturerId();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_From_int(static_cast<int >(result
));
12965 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
= NULL
;
12967 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (int)(arg1
)->GetProductId();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= SWIG_From_int(static_cast<int >(result
));
12993 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= NULL
;
12995 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
13003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13004 if (SWIG_arg_fail(1)) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (arg1
)->GetProductName();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13025 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
= NULL
;
13027 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13029 PyObject
* obj0
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
13035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13036 if (SWIG_arg_fail(1)) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (int)(arg1
)->GetXMin();
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= SWIG_From_int(static_cast<int >(result
));
13053 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
= NULL
;
13055 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
13063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (int)(arg1
)->GetYMin();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= SWIG_From_int(static_cast<int >(result
));
13081 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
= NULL
;
13083 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13085 PyObject
* obj0
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
13091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13092 if (SWIG_arg_fail(1)) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (int)(arg1
)->GetZMin();
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= SWIG_From_int(static_cast<int >(result
));
13109 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
= NULL
;
13111 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13113 PyObject
* obj0
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
13119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13120 if (SWIG_arg_fail(1)) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (int)(arg1
)->GetXMax();
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_From_int(static_cast<int >(result
));
13137 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
= NULL
;
13139 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
13147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13148 if (SWIG_arg_fail(1)) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (int)(arg1
)->GetYMax();
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= SWIG_From_int(static_cast<int >(result
));
13165 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
= NULL
;
13167 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
13175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13176 if (SWIG_arg_fail(1)) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (int)(arg1
)->GetZMax();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= SWIG_From_int(static_cast<int >(result
));
13193 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
= NULL
;
13195 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
13203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13204 if (SWIG_arg_fail(1)) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (int)(arg1
)->GetNumberButtons();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_From_int(static_cast<int >(result
));
13221 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
= NULL
;
13223 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
13231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13232 if (SWIG_arg_fail(1)) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (int)(arg1
)->GetNumberAxes();
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= SWIG_From_int(static_cast<int >(result
));
13249 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
= NULL
;
13251 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
13259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13260 if (SWIG_arg_fail(1)) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (int)(arg1
)->GetMaxButtons();
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= SWIG_From_int(static_cast<int >(result
));
13277 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
= NULL
;
13279 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
13287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13288 if (SWIG_arg_fail(1)) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (int)(arg1
)->GetMaxAxes();
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_From_int(static_cast<int >(result
));
13305 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
= NULL
;
13307 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
13315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13316 if (SWIG_arg_fail(1)) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (int)(arg1
)->GetPollingMin();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= SWIG_From_int(static_cast<int >(result
));
13333 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
= NULL
;
13335 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13337 PyObject
* obj0
= 0 ;
13338 char *kwnames
[] = {
13339 (char *) "self", NULL
13342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
13343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13344 if (SWIG_arg_fail(1)) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 result
= (int)(arg1
)->GetPollingMax();
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_From_int(static_cast<int >(result
));
13361 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
= NULL
;
13363 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
13371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13372 if (SWIG_arg_fail(1)) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= (int)(arg1
)->GetRudderMin();
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_From_int(static_cast<int >(result
));
13389 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
= NULL
;
13391 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
13399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13400 if (SWIG_arg_fail(1)) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (int)(arg1
)->GetRudderMax();
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13409 resultobj
= SWIG_From_int(static_cast<int >(result
));
13417 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
= NULL
;
13419 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13421 PyObject
* obj0
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
13427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13428 if (SWIG_arg_fail(1)) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= (int)(arg1
)->GetUMin();
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_From_int(static_cast<int >(result
));
13445 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
= NULL
;
13447 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
13455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13456 if (SWIG_arg_fail(1)) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (int)(arg1
)->GetUMax();
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_From_int(static_cast<int >(result
));
13473 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
= NULL
;
13475 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
13483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13484 if (SWIG_arg_fail(1)) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= (int)(arg1
)->GetVMin();
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= SWIG_From_int(static_cast<int >(result
));
13501 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
= NULL
;
13503 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
13511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13512 if (SWIG_arg_fail(1)) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (int)(arg1
)->GetVMax();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= SWIG_From_int(static_cast<int >(result
));
13529 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
= NULL
;
13531 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
13539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13540 if (SWIG_arg_fail(1)) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (bool)(arg1
)->HasRudder();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13557 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
= NULL
;
13559 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13561 PyObject
* obj0
= 0 ;
13562 char *kwnames
[] = {
13563 (char *) "self", NULL
13566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
13567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13568 if (SWIG_arg_fail(1)) SWIG_fail
;
13570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 result
= (bool)(arg1
)->HasZ();
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13585 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
= NULL
;
13587 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13589 PyObject
* obj0
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
13595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13596 if (SWIG_arg_fail(1)) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 result
= (bool)(arg1
)->HasU();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13613 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13614 PyObject
*resultobj
= NULL
;
13615 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13617 PyObject
* obj0
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "self", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
13623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13624 if (SWIG_arg_fail(1)) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (bool)(arg1
)->HasV();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13641 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
= NULL
;
13643 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
13651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13652 if (SWIG_arg_fail(1)) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 result
= (bool)(arg1
)->HasPOV();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13669 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
= NULL
;
13671 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
13679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13680 if (SWIG_arg_fail(1)) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (bool)(arg1
)->HasPOV4Dir();
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13697 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= NULL
;
13699 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 char *kwnames
[] = {
13703 (char *) "self", NULL
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
13707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13708 if (SWIG_arg_fail(1)) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (bool)(arg1
)->HasPOVCTS();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13725 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
= NULL
;
13727 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13728 wxWindow
*arg2
= (wxWindow
*) 0 ;
13729 int arg3
= (int) 0 ;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 PyObject
* obj2
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13740 if (SWIG_arg_fail(1)) SWIG_fail
;
13741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13742 if (SWIG_arg_fail(2)) SWIG_fail
;
13745 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13746 if (SWIG_arg_fail(3)) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13765 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
= NULL
;
13767 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13776 if (SWIG_arg_fail(1)) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (bool)(arg1
)->ReleaseCapture();
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13793 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13796 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13798 return Py_BuildValue((char *)"");
13800 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
= NULL
;
13802 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13803 int arg2
= (int) 0 ;
13804 int arg3
= (int) wxJOYSTICK1
;
13805 int arg4
= (int) 0 ;
13806 wxJoystickEvent
*result
;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 PyObject
* obj2
= 0 ;
13810 PyObject
* obj3
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13818 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13819 if (SWIG_arg_fail(1)) SWIG_fail
;
13824 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13825 if (SWIG_arg_fail(2)) SWIG_fail
;
13830 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13831 if (SWIG_arg_fail(3)) SWIG_fail
;
13836 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13837 if (SWIG_arg_fail(4)) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13854 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
= NULL
;
13856 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13865 if (SWIG_arg_fail(1)) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13874 wxPoint
* resultptr
;
13875 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13884 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
= NULL
;
13886 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13895 if (SWIG_arg_fail(1)) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= SWIG_From_int(static_cast<int >(result
));
13912 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
= NULL
;
13914 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13923 if (SWIG_arg_fail(1)) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_From_int(static_cast<int >(result
));
13940 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
= NULL
;
13942 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13951 if (SWIG_arg_fail(1)) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_From_int(static_cast<int >(result
));
13968 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
= NULL
;
13970 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13979 if (SWIG_arg_fail(1)) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_From_int(static_cast<int >(result
));
13996 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
= NULL
;
13998 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 PyObject
* obj1
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self",(char *) "stick", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
14007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14008 if (SWIG_arg_fail(1)) SWIG_fail
;
14010 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14011 if (SWIG_arg_fail(2)) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 (arg1
)->SetJoystick(arg2
);
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 Py_INCREF(Py_None
); resultobj
= Py_None
;
14027 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
= NULL
;
14029 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 char *kwnames
[] = {
14034 (char *) "self",(char *) "state", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
14038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail
;
14041 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14042 if (SWIG_arg_fail(2)) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 (arg1
)->SetButtonState(arg2
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 Py_INCREF(Py_None
); resultobj
= Py_None
;
14058 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
= NULL
;
14060 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14062 PyObject
* obj0
= 0 ;
14063 PyObject
* obj1
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self",(char *) "change", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
14069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14070 if (SWIG_arg_fail(1)) SWIG_fail
;
14072 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14073 if (SWIG_arg_fail(2)) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 (arg1
)->SetButtonChange(arg2
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 Py_INCREF(Py_None
); resultobj
= Py_None
;
14089 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
= NULL
;
14091 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14092 wxPoint
*arg2
= 0 ;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "pos", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14102 if (SWIG_arg_fail(1)) SWIG_fail
;
14105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 Py_INCREF(Py_None
); resultobj
= Py_None
;
14121 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
= NULL
;
14123 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14125 PyObject
* obj0
= 0 ;
14126 PyObject
* obj1
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self",(char *) "zPos", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14133 if (SWIG_arg_fail(1)) SWIG_fail
;
14135 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14136 if (SWIG_arg_fail(2)) SWIG_fail
;
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 (arg1
)->SetZPosition(arg2
);
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14145 Py_INCREF(Py_None
); resultobj
= Py_None
;
14152 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
= NULL
;
14154 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14156 PyObject
* obj0
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "self", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14163 if (SWIG_arg_fail(1)) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14180 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
= NULL
;
14182 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
14190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14191 if (SWIG_arg_fail(1)) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14208 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
= NULL
;
14210 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
14218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14219 if (SWIG_arg_fail(1)) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14236 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
= NULL
;
14238 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14239 int arg2
= (int) wxJOY_BUTTON_ANY
;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self",(char *) "but", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14249 if (SWIG_arg_fail(1)) SWIG_fail
;
14252 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14253 if (SWIG_arg_fail(2)) SWIG_fail
;
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14272 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
= NULL
;
14274 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14275 int arg2
= (int) wxJOY_BUTTON_ANY
;
14277 PyObject
* obj0
= 0 ;
14278 PyObject
* obj1
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self",(char *) "but", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14285 if (SWIG_arg_fail(1)) SWIG_fail
;
14288 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14289 if (SWIG_arg_fail(2)) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14308 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
= NULL
;
14310 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14311 int arg2
= (int) wxJOY_BUTTON_ANY
;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self",(char *) "but", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14321 if (SWIG_arg_fail(1)) SWIG_fail
;
14324 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14325 if (SWIG_arg_fail(2)) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14344 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14347 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14349 return Py_BuildValue((char *)"");
14351 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
= NULL
;
14353 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14354 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14356 bool temp1
= false ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "fileName", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14365 arg1
= wxString_in_helper(obj0
);
14366 if (arg1
== NULL
) SWIG_fail
;
14371 if (!wxPyCheckForApp()) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14393 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
= NULL
;
14395 PyObject
*arg1
= (PyObject
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "data", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14405 if (!wxPyCheckForApp()) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (wxSound
*)new_wxSound(arg1
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14419 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
= NULL
;
14421 wxSound
*arg1
= (wxSound
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14429 if (SWIG_arg_fail(1)) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 Py_INCREF(Py_None
); resultobj
= Py_None
;
14444 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
= NULL
;
14446 wxSound
*arg1
= (wxSound
*) 0 ;
14447 wxString
*arg2
= 0 ;
14449 bool temp2
= false ;
14450 PyObject
* obj0
= 0 ;
14451 PyObject
* obj1
= 0 ;
14452 char *kwnames
[] = {
14453 (char *) "self",(char *) "fileName", NULL
14456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14458 if (SWIG_arg_fail(1)) SWIG_fail
;
14460 arg2
= wxString_in_helper(obj1
);
14461 if (arg2
== NULL
) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14488 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
= NULL
;
14490 wxSound
*arg1
= (wxSound
*) 0 ;
14491 PyObject
*arg2
= (PyObject
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 PyObject
* obj1
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self",(char *) "data", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14501 if (SWIG_arg_fail(1)) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14519 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
= NULL
;
14521 wxSound
*arg1
= (wxSound
*) 0 ;
14523 PyObject
* obj0
= 0 ;
14524 char *kwnames
[] = {
14525 (char *) "self", NULL
14528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14530 if (SWIG_arg_fail(1)) SWIG_fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (bool)(arg1
)->IsOk();
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14547 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
= NULL
;
14549 wxSound
*arg1
= (wxSound
*) 0 ;
14550 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self",(char *) "flags", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14560 if (SWIG_arg_fail(1)) SWIG_fail
;
14563 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14564 if (SWIG_arg_fail(2)) SWIG_fail
;
14568 if (!wxPyCheckForApp()) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14584 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
= NULL
;
14586 wxString
*arg1
= 0 ;
14587 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14589 bool temp1
= false ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "filename",(char *) "flags", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14598 arg1
= wxString_in_helper(obj0
);
14599 if (arg1
== NULL
) SWIG_fail
;
14604 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14605 if (SWIG_arg_fail(2)) SWIG_fail
;
14609 if (!wxPyCheckForApp()) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14633 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
= NULL
;
14635 char *kwnames
[] = {
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14641 if (!wxPyCheckForApp()) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14648 Py_INCREF(Py_None
); resultobj
= Py_None
;
14655 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14658 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14660 return Py_BuildValue((char *)"");
14662 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
= NULL
;
14664 wxString
*arg1
= 0 ;
14665 wxString
*arg2
= 0 ;
14666 wxString
*arg3
= 0 ;
14667 wxString
*arg4
= 0 ;
14668 wxFileTypeInfo
*result
;
14669 bool temp1
= false ;
14670 bool temp2
= false ;
14671 bool temp3
= false ;
14672 bool temp4
= false ;
14673 PyObject
* obj0
= 0 ;
14674 PyObject
* obj1
= 0 ;
14675 PyObject
* obj2
= 0 ;
14676 PyObject
* obj3
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14683 arg1
= wxString_in_helper(obj0
);
14684 if (arg1
== NULL
) SWIG_fail
;
14688 arg2
= wxString_in_helper(obj1
);
14689 if (arg2
== NULL
) SWIG_fail
;
14693 arg3
= wxString_in_helper(obj2
);
14694 if (arg3
== NULL
) SWIG_fail
;
14698 arg4
= wxString_in_helper(obj3
);
14699 if (arg4
== NULL
) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14748 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
= NULL
;
14750 wxArrayString
*arg1
= 0 ;
14751 wxFileTypeInfo
*result
;
14752 bool temp1
= false ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "sArray", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14760 if (! PySequence_Check(obj0
)) {
14761 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14764 arg1
= new wxArrayString
;
14766 int i
, len
=PySequence_Length(obj0
);
14767 for (i
=0; i
<len
; i
++) {
14768 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14769 wxString
* s
= wxString_in_helper(item
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14785 if (temp1
) delete arg1
;
14790 if (temp1
) delete arg1
;
14796 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
= NULL
;
14798 wxFileTypeInfo
*result
;
14799 char *kwnames
[] = {
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14818 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
= NULL
;
14820 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14829 if (SWIG_arg_fail(1)) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14846 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
= NULL
;
14848 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14849 wxString
*arg2
= 0 ;
14850 int arg3
= (int) 0 ;
14851 bool temp2
= false ;
14852 PyObject
* obj0
= 0 ;
14853 PyObject
* obj1
= 0 ;
14854 PyObject
* obj2
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14861 if (SWIG_arg_fail(1)) SWIG_fail
;
14863 arg2
= wxString_in_helper(obj1
);
14864 if (arg2
== NULL
) SWIG_fail
;
14869 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14870 if (SWIG_arg_fail(3)) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 Py_INCREF(Py_None
); resultobj
= Py_None
;
14895 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
= NULL
;
14897 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14898 wxString
*arg2
= 0 ;
14899 bool temp2
= false ;
14900 PyObject
* obj0
= 0 ;
14901 PyObject
* obj1
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self",(char *) "shortDesc", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14908 if (SWIG_arg_fail(1)) SWIG_fail
;
14910 arg2
= wxString_in_helper(obj1
);
14911 if (arg2
== NULL
) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 Py_INCREF(Py_None
); resultobj
= Py_None
;
14936 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
= NULL
;
14938 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14947 if (SWIG_arg_fail(1)) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14952 result
= (wxString
*) &_result_ref
;
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14962 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14971 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
= NULL
;
14973 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14982 if (SWIG_arg_fail(1)) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14987 result
= (wxString
*) &_result_ref
;
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14997 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15006 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
= NULL
;
15008 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
15016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15017 if (SWIG_arg_fail(1)) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
15022 result
= (wxString
*) &_result_ref
;
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15032 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15041 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
= NULL
;
15043 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
15051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15052 if (SWIG_arg_fail(1)) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
15057 result
= (wxString
*) &_result_ref
;
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15067 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15076 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
= NULL
;
15078 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
15086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15087 if (SWIG_arg_fail(1)) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15092 result
= (wxString
*) &_result_ref
;
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15102 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15111 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
= NULL
;
15113 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15114 wxArrayString
*result
;
15115 PyObject
* obj0
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15122 if (SWIG_arg_fail(1)) SWIG_fail
;
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15127 result
= (wxArrayString
*) &_result_ref
;
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= wxArrayString2PyList_helper(*result
);
15142 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
= NULL
;
15144 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail
;
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= SWIG_From_int(static_cast<int >(result
));
15170 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
= NULL
;
15172 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
15180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15186 result
= (wxString
*) &_result_ref
;
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15196 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15205 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
= NULL
;
15207 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= SWIG_From_int(static_cast<int >(result
));
15233 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15236 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15238 return Py_BuildValue((char *)"");
15240 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
= NULL
;
15242 wxFileTypeInfo
*arg1
= 0 ;
15243 wxFileType
*result
;
15244 PyObject
* obj0
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "ftInfo", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15253 if (arg1
== NULL
) {
15254 SWIG_null_ref("wxFileTypeInfo");
15256 if (SWIG_arg_fail(1)) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15272 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
= NULL
;
15274 wxFileType
*arg1
= (wxFileType
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15282 if (SWIG_arg_fail(1)) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 Py_INCREF(Py_None
); resultobj
= Py_None
;
15297 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
= NULL
;
15299 wxFileType
*arg1
= (wxFileType
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15308 if (SWIG_arg_fail(1)) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= result
;
15323 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
= NULL
;
15325 wxFileType
*arg1
= (wxFileType
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15334 if (SWIG_arg_fail(1)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= result
;
15349 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
= NULL
;
15351 wxFileType
*arg1
= (wxFileType
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15360 if (SWIG_arg_fail(1)) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= result
;
15375 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
= NULL
;
15377 wxFileType
*arg1
= (wxFileType
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15386 if (SWIG_arg_fail(1)) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15401 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
= NULL
;
15403 wxFileType
*arg1
= (wxFileType
*) 0 ;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= result
;
15427 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
= NULL
;
15429 wxFileType
*arg1
= (wxFileType
*) 0 ;
15431 PyObject
* obj0
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail
;
15440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15441 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= result
;
15453 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
= NULL
;
15455 wxFileType
*arg1
= (wxFileType
*) 0 ;
15456 wxString
*arg2
= 0 ;
15457 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15458 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15460 bool temp2
= false ;
15461 bool temp3
= false ;
15462 PyObject
* obj0
= 0 ;
15463 PyObject
* obj1
= 0 ;
15464 PyObject
* obj2
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail
;
15473 arg2
= wxString_in_helper(obj1
);
15474 if (arg2
== NULL
) SWIG_fail
;
15479 arg3
= wxString_in_helper(obj2
);
15480 if (arg3
== NULL
) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= result
;
15514 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
= NULL
;
15516 wxFileType
*arg1
= (wxFileType
*) 0 ;
15517 wxString
*arg2
= 0 ;
15518 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15519 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15521 bool temp2
= false ;
15522 bool temp3
= false ;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 PyObject
* obj2
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15532 if (SWIG_arg_fail(1)) SWIG_fail
;
15534 arg2
= wxString_in_helper(obj1
);
15535 if (arg2
== NULL
) SWIG_fail
;
15540 arg3
= wxString_in_helper(obj2
);
15541 if (arg3
== NULL
) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= result
;
15575 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
= NULL
;
15577 wxFileType
*arg1
= (wxFileType
*) 0 ;
15578 wxString
*arg2
= 0 ;
15579 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15580 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15582 bool temp2
= false ;
15583 bool temp3
= false ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 PyObject
* obj2
= 0 ;
15587 char *kwnames
[] = {
15588 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15593 if (SWIG_arg_fail(1)) SWIG_fail
;
15595 arg2
= wxString_in_helper(obj1
);
15596 if (arg2
== NULL
) SWIG_fail
;
15601 arg3
= wxString_in_helper(obj2
);
15602 if (arg3
== NULL
) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= result
;
15636 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
= NULL
;
15638 wxFileType
*arg1
= (wxFileType
*) 0 ;
15639 wxString
*arg2
= 0 ;
15640 wxString
*arg3
= 0 ;
15641 bool arg4
= (bool) true ;
15643 bool temp2
= false ;
15644 bool temp3
= false ;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 PyObject
* obj2
= 0 ;
15648 PyObject
* obj3
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15655 if (SWIG_arg_fail(1)) SWIG_fail
;
15657 arg2
= wxString_in_helper(obj1
);
15658 if (arg2
== NULL
) SWIG_fail
;
15662 arg3
= wxString_in_helper(obj2
);
15663 if (arg3
== NULL
) SWIG_fail
;
15668 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15669 if (SWIG_arg_fail(4)) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15704 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
= NULL
;
15706 wxFileType
*arg1
= (wxFileType
*) 0 ;
15707 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15708 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15709 int arg3
= (int) 0 ;
15711 bool temp2
= false ;
15712 PyObject
* obj0
= 0 ;
15713 PyObject
* obj1
= 0 ;
15714 PyObject
* obj2
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "self",(char *) "cmd",(char *) "index", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15721 if (SWIG_arg_fail(1)) SWIG_fail
;
15724 arg2
= wxString_in_helper(obj1
);
15725 if (arg2
== NULL
) SWIG_fail
;
15731 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15732 if (SWIG_arg_fail(3)) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15759 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
= NULL
;
15761 wxFileType
*arg1
= (wxFileType
*) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15770 if (SWIG_arg_fail(1)) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (bool)(arg1
)->Unassociate();
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15787 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
= NULL
;
15789 wxString
*arg1
= 0 ;
15790 wxString
*arg2
= 0 ;
15791 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15792 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15794 bool temp1
= false ;
15795 bool temp2
= false ;
15796 bool temp3
= false ;
15797 PyObject
* obj0
= 0 ;
15798 PyObject
* obj1
= 0 ;
15799 PyObject
* obj2
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15806 arg1
= wxString_in_helper(obj0
);
15807 if (arg1
== NULL
) SWIG_fail
;
15811 arg2
= wxString_in_helper(obj1
);
15812 if (arg2
== NULL
) SWIG_fail
;
15817 arg3
= wxString_in_helper(obj2
);
15818 if (arg3
== NULL
) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15866 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15871 return Py_BuildValue((char *)"");
15873 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15874 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15879 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15880 PyObject
*pyobj
= NULL
;
15882 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15887 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
= NULL
;
15889 wxString
*arg1
= 0 ;
15890 wxString
*arg2
= 0 ;
15892 bool temp1
= false ;
15893 bool temp2
= false ;
15894 PyObject
* obj0
= 0 ;
15895 PyObject
* obj1
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "mimeType",(char *) "wildcard", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15902 arg1
= wxString_in_helper(obj0
);
15903 if (arg1
== NULL
) SWIG_fail
;
15907 arg2
= wxString_in_helper(obj1
);
15908 if (arg2
== NULL
) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15943 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
= NULL
;
15945 wxMimeTypesManager
*result
;
15946 char *kwnames
[] = {
15950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15965 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
= NULL
;
15967 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15968 int arg2
= (int) wxMAILCAP_ALL
;
15969 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15970 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15971 bool temp3
= false ;
15972 PyObject
* obj0
= 0 ;
15973 PyObject
* obj1
= 0 ;
15974 PyObject
* obj2
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15981 if (SWIG_arg_fail(1)) SWIG_fail
;
15984 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15985 if (SWIG_arg_fail(2)) SWIG_fail
;
15990 arg3
= wxString_in_helper(obj2
);
15991 if (arg3
== NULL
) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 Py_INCREF(Py_None
); resultobj
= Py_None
;
16017 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
= NULL
;
16019 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
16026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16027 if (SWIG_arg_fail(1)) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 (arg1
)->ClearData();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 Py_INCREF(Py_None
); resultobj
= Py_None
;
16042 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
= NULL
;
16044 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16045 wxString
*arg2
= 0 ;
16046 wxFileType
*result
;
16047 bool temp2
= false ;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "ext", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
16055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail
;
16058 arg2
= wxString_in_helper(obj1
);
16059 if (arg2
== NULL
) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16084 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
= NULL
;
16086 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16087 wxString
*arg2
= 0 ;
16088 wxFileType
*result
;
16089 bool temp2
= false ;
16090 PyObject
* obj0
= 0 ;
16091 PyObject
* obj1
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self",(char *) "mimeType", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16098 if (SWIG_arg_fail(1)) SWIG_fail
;
16100 arg2
= wxString_in_helper(obj1
);
16101 if (arg2
== NULL
) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16126 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
= NULL
;
16128 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16129 wxString
*arg2
= 0 ;
16130 bool arg3
= (bool) false ;
16132 bool temp2
= false ;
16133 PyObject
* obj0
= 0 ;
16134 PyObject
* obj1
= 0 ;
16135 PyObject
* obj2
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16142 if (SWIG_arg_fail(1)) SWIG_fail
;
16144 arg2
= wxString_in_helper(obj1
);
16145 if (arg2
== NULL
) SWIG_fail
;
16150 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16151 if (SWIG_arg_fail(3)) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
= NULL
;
16180 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16181 wxString
*arg2
= 0 ;
16183 bool temp2
= false ;
16184 PyObject
* obj0
= 0 ;
16185 PyObject
* obj1
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self",(char *) "filename", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
16191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16192 if (SWIG_arg_fail(1)) SWIG_fail
;
16194 arg2
= wxString_in_helper(obj1
);
16195 if (arg2
== NULL
) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16222 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
= NULL
;
16224 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16233 if (SWIG_arg_fail(1)) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= result
;
16248 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
= NULL
;
16250 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16251 wxFileTypeInfo
*arg2
= 0 ;
16252 PyObject
* obj0
= 0 ;
16253 PyObject
* obj1
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self",(char *) "ft", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16260 if (SWIG_arg_fail(1)) SWIG_fail
;
16262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16263 if (SWIG_arg_fail(2)) SWIG_fail
;
16264 if (arg2
== NULL
) {
16265 SWIG_null_ref("wxFileTypeInfo");
16267 if (SWIG_arg_fail(2)) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 Py_INCREF(Py_None
); resultobj
= Py_None
;
16283 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
= NULL
;
16285 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16286 wxFileTypeInfo
*arg2
= 0 ;
16287 wxFileType
*result
;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self",(char *) "ftInfo", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16296 if (SWIG_arg_fail(1)) SWIG_fail
;
16298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16299 if (SWIG_arg_fail(2)) SWIG_fail
;
16300 if (arg2
== NULL
) {
16301 SWIG_null_ref("wxFileTypeInfo");
16303 if (SWIG_arg_fail(2)) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16319 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
= NULL
;
16321 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16322 wxFileType
*arg2
= (wxFileType
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self",(char *) "ft", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16332 if (SWIG_arg_fail(1)) SWIG_fail
;
16333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16334 if (SWIG_arg_fail(2)) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (bool)(arg1
)->Unassociate(arg2
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16351 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
= NULL
;
16353 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 Py_INCREF(Py_None
); resultobj
= Py_None
;
16376 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16379 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16381 return Py_BuildValue((char *)"");
16383 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16384 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16389 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16390 PyObject
*pyobj
= NULL
;
16394 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16396 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16403 static int _wrap_ART_MENU_set(PyObject
*) {
16404 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16409 static PyObject
*_wrap_ART_MENU_get(void) {
16410 PyObject
*pyobj
= NULL
;
16414 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16416 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16423 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16424 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16429 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16430 PyObject
*pyobj
= NULL
;
16434 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16436 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16443 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16444 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16449 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16450 PyObject
*pyobj
= NULL
;
16454 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16456 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16463 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16464 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16469 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16470 PyObject
*pyobj
= NULL
;
16474 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16476 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16483 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16484 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16489 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16490 PyObject
*pyobj
= NULL
;
16494 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16496 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16503 static int _wrap_ART_BUTTON_set(PyObject
*) {
16504 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16509 static PyObject
*_wrap_ART_BUTTON_get(void) {
16510 PyObject
*pyobj
= NULL
;
16514 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16516 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16523 static int _wrap_ART_OTHER_set(PyObject
*) {
16524 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16529 static PyObject
*_wrap_ART_OTHER_get(void) {
16530 PyObject
*pyobj
= NULL
;
16534 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16536 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16543 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16544 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16549 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16550 PyObject
*pyobj
= NULL
;
16554 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16556 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16563 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16564 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16569 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16570 PyObject
*pyobj
= NULL
;
16574 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16576 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16583 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16584 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16589 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16590 PyObject
*pyobj
= NULL
;
16594 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16596 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16603 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16604 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16609 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16610 PyObject
*pyobj
= NULL
;
16614 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16616 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16623 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16624 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16629 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16630 PyObject
*pyobj
= NULL
;
16634 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16636 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16643 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16644 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16649 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16650 PyObject
*pyobj
= NULL
;
16654 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16656 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16663 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16664 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16669 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16670 PyObject
*pyobj
= NULL
;
16674 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16676 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16683 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16684 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16689 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16690 PyObject
*pyobj
= NULL
;
16694 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16696 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16703 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16704 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16709 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16710 PyObject
*pyobj
= NULL
;
16714 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16716 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16723 static int _wrap_ART_GO_UP_set(PyObject
*) {
16724 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16729 static PyObject
*_wrap_ART_GO_UP_get(void) {
16730 PyObject
*pyobj
= NULL
;
16734 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16736 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16743 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16744 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16749 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16750 PyObject
*pyobj
= NULL
;
16754 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16756 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16763 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16764 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16769 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16770 PyObject
*pyobj
= NULL
;
16774 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16776 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16783 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16784 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16789 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16790 PyObject
*pyobj
= NULL
;
16794 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16796 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16803 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16804 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16809 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16810 PyObject
*pyobj
= NULL
;
16814 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16816 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16823 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16824 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16829 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16830 PyObject
*pyobj
= NULL
;
16834 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16836 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16843 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16844 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16849 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16850 PyObject
*pyobj
= NULL
;
16854 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16856 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16863 static int _wrap_ART_PRINT_set(PyObject
*) {
16864 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16869 static PyObject
*_wrap_ART_PRINT_get(void) {
16870 PyObject
*pyobj
= NULL
;
16874 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16876 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16883 static int _wrap_ART_HELP_set(PyObject
*) {
16884 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16889 static PyObject
*_wrap_ART_HELP_get(void) {
16890 PyObject
*pyobj
= NULL
;
16894 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16896 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16903 static int _wrap_ART_TIP_set(PyObject
*) {
16904 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16909 static PyObject
*_wrap_ART_TIP_get(void) {
16910 PyObject
*pyobj
= NULL
;
16914 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16916 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16923 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16924 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16929 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16930 PyObject
*pyobj
= NULL
;
16934 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16936 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16943 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16944 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16949 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16950 PyObject
*pyobj
= NULL
;
16954 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16956 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16963 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16964 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16969 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16970 PyObject
*pyobj
= NULL
;
16974 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16976 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16983 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16984 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16989 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16990 PyObject
*pyobj
= NULL
;
16994 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16996 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
17003 static int _wrap_ART_FLOPPY_set(PyObject
*) {
17004 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
17009 static PyObject
*_wrap_ART_FLOPPY_get(void) {
17010 PyObject
*pyobj
= NULL
;
17014 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17016 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17023 static int _wrap_ART_CDROM_set(PyObject
*) {
17024 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
17029 static PyObject
*_wrap_ART_CDROM_get(void) {
17030 PyObject
*pyobj
= NULL
;
17034 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17036 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17043 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
17044 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
17049 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
17050 PyObject
*pyobj
= NULL
;
17054 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17056 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17063 static int _wrap_ART_FOLDER_set(PyObject
*) {
17064 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
17069 static PyObject
*_wrap_ART_FOLDER_get(void) {
17070 PyObject
*pyobj
= NULL
;
17074 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17076 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17083 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
17084 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17089 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17090 PyObject
*pyobj
= NULL
;
17094 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17096 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17103 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17104 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17109 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17110 PyObject
*pyobj
= NULL
;
17114 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17116 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17123 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17124 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17129 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17130 PyObject
*pyobj
= NULL
;
17134 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17136 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17143 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17144 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17149 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17150 PyObject
*pyobj
= NULL
;
17154 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17156 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17163 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17164 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17169 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17170 PyObject
*pyobj
= NULL
;
17174 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17176 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17183 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17184 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17189 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17190 PyObject
*pyobj
= NULL
;
17194 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17196 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17203 static int _wrap_ART_ERROR_set(PyObject
*) {
17204 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17209 static PyObject
*_wrap_ART_ERROR_get(void) {
17210 PyObject
*pyobj
= NULL
;
17214 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17216 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17223 static int _wrap_ART_QUESTION_set(PyObject
*) {
17224 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17229 static PyObject
*_wrap_ART_QUESTION_get(void) {
17230 PyObject
*pyobj
= NULL
;
17234 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17236 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17243 static int _wrap_ART_WARNING_set(PyObject
*) {
17244 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17249 static PyObject
*_wrap_ART_WARNING_get(void) {
17250 PyObject
*pyobj
= NULL
;
17254 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17256 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17263 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17264 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17269 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17270 PyObject
*pyobj
= NULL
;
17274 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17276 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17283 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17284 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17289 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17290 PyObject
*pyobj
= NULL
;
17294 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17296 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17303 static int _wrap_ART_COPY_set(PyObject
*) {
17304 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17309 static PyObject
*_wrap_ART_COPY_get(void) {
17310 PyObject
*pyobj
= NULL
;
17314 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17316 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17323 static int _wrap_ART_CUT_set(PyObject
*) {
17324 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17329 static PyObject
*_wrap_ART_CUT_get(void) {
17330 PyObject
*pyobj
= NULL
;
17334 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17336 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17343 static int _wrap_ART_PASTE_set(PyObject
*) {
17344 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17349 static PyObject
*_wrap_ART_PASTE_get(void) {
17350 PyObject
*pyobj
= NULL
;
17354 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17356 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17363 static int _wrap_ART_DELETE_set(PyObject
*) {
17364 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17369 static PyObject
*_wrap_ART_DELETE_get(void) {
17370 PyObject
*pyobj
= NULL
;
17374 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17376 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17383 static int _wrap_ART_NEW_set(PyObject
*) {
17384 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17389 static PyObject
*_wrap_ART_NEW_get(void) {
17390 PyObject
*pyobj
= NULL
;
17394 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17396 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17403 static int _wrap_ART_UNDO_set(PyObject
*) {
17404 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17409 static PyObject
*_wrap_ART_UNDO_get(void) {
17410 PyObject
*pyobj
= NULL
;
17414 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17416 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17423 static int _wrap_ART_REDO_set(PyObject
*) {
17424 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17429 static PyObject
*_wrap_ART_REDO_get(void) {
17430 PyObject
*pyobj
= NULL
;
17434 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17436 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17443 static int _wrap_ART_QUIT_set(PyObject
*) {
17444 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17449 static PyObject
*_wrap_ART_QUIT_get(void) {
17450 PyObject
*pyobj
= NULL
;
17454 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17456 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17463 static int _wrap_ART_FIND_set(PyObject
*) {
17464 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17469 static PyObject
*_wrap_ART_FIND_get(void) {
17470 PyObject
*pyobj
= NULL
;
17474 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17476 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17483 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17484 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17489 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17490 PyObject
*pyobj
= NULL
;
17494 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17496 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17503 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
= NULL
;
17505 wxPyArtProvider
*result
;
17506 char *kwnames
[] = {
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17512 if (!wxPyCheckForApp()) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17526 static PyObject
*_wrap_delete_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
= NULL
;
17528 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17529 PyObject
* obj0
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
17535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17536 if (SWIG_arg_fail(1)) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 Py_INCREF(Py_None
); resultobj
= Py_None
;
17551 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
= NULL
;
17553 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17554 PyObject
*arg2
= (PyObject
*) 0 ;
17555 PyObject
*arg3
= (PyObject
*) 0 ;
17556 PyObject
* obj0
= 0 ;
17557 PyObject
* obj1
= 0 ;
17558 PyObject
* obj2
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "self",(char *) "self",(char *) "_class", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17565 if (SWIG_arg_fail(1)) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 Py_INCREF(Py_None
); resultobj
= Py_None
;
17582 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
= NULL
;
17584 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17585 PyObject
* obj0
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "provider", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17592 if (SWIG_arg_fail(1)) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 wxPyArtProvider::PushProvider(arg1
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 Py_INCREF(Py_None
); resultobj
= Py_None
;
17607 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
= NULL
;
17610 char *kwnames
[] = {
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (bool)wxPyArtProvider::PopProvider();
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17631 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
= NULL
;
17633 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17635 PyObject
* obj0
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "provider", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
17641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17642 if (SWIG_arg_fail(1)) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17659 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
= NULL
;
17661 wxString
*arg1
= 0 ;
17662 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17663 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17664 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17665 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17667 bool temp1
= false ;
17668 bool temp2
= false ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 PyObject
* obj2
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "id",(char *) "client",(char *) "size", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17679 arg1
= wxString_in_helper(obj0
);
17680 if (arg1
== NULL
) SWIG_fail
;
17685 arg2
= wxString_in_helper(obj1
);
17686 if (arg2
== NULL
) SWIG_fail
;
17693 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17697 if (!wxPyCheckForApp()) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17705 wxBitmap
* resultptr
;
17706 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17731 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
= NULL
;
17733 wxString
*arg1
= 0 ;
17734 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17735 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17736 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17737 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17739 bool temp1
= false ;
17740 bool temp2
= false ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 PyObject
* obj2
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "id",(char *) "client",(char *) "size", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17751 arg1
= wxString_in_helper(obj0
);
17752 if (arg1
== NULL
) SWIG_fail
;
17757 arg2
= wxString_in_helper(obj1
);
17758 if (arg2
== NULL
) SWIG_fail
;
17765 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17769 if (!wxPyCheckForApp()) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17777 wxIcon
* resultptr
;
17778 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17803 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
= NULL
;
17805 wxString
*arg1
= 0 ;
17806 bool arg2
= (bool) false ;
17808 bool temp1
= false ;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "client",(char *) "platform_dependent", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17817 arg1
= wxString_in_helper(obj0
);
17818 if (arg1
== NULL
) SWIG_fail
;
17823 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17824 if (SWIG_arg_fail(2)) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 wxSize
* resultptr
;
17836 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17853 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
= NULL
;
17855 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17856 PyObject
* obj0
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "self", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17863 if (SWIG_arg_fail(1)) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 wxPyArtProvider_Destroy(arg1
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17881 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17883 return Py_BuildValue((char *)"");
17885 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
= NULL
;
17887 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 Py_INCREF(Py_None
); resultobj
= Py_None
;
17910 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
= NULL
;
17912 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17913 wxConfigBase
*result
;
17914 PyObject
* obj0
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "config", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17921 if (SWIG_arg_fail(1)) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17936 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
= NULL
;
17938 bool arg1
= (bool) true ;
17939 wxConfigBase
*result
;
17940 PyObject
* obj0
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "createOnDemand", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17948 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17949 if (SWIG_arg_fail(1)) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17966 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
= NULL
;
17968 wxConfigBase
*result
;
17969 char *kwnames
[] = {
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (wxConfigBase
*)wxConfigBase::Create();
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17988 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
= NULL
;
17990 char *kwnames
[] = {
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 wxConfigBase::DontCreateOnDemand();
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 Py_INCREF(Py_None
); resultobj
= Py_None
;
18009 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
= NULL
;
18011 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18012 wxString
*arg2
= 0 ;
18013 bool temp2
= false ;
18014 PyObject
* obj0
= 0 ;
18015 PyObject
* obj1
= 0 ;
18016 char *kwnames
[] = {
18017 (char *) "self",(char *) "path", NULL
18020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18022 if (SWIG_arg_fail(1)) SWIG_fail
;
18024 arg2
= wxString_in_helper(obj1
);
18025 if (arg2
== NULL
) SWIG_fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 (arg1
)->SetPath((wxString
const &)*arg2
);
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
= NULL
;
18052 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
18060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18061 if (SWIG_arg_fail(1)) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
18066 result
= (wxString
*) &_result_ref
;
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18076 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18085 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
= NULL
;
18087 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
18095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18096 if (SWIG_arg_fail(1)) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= result
;
18111 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
= NULL
;
18113 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 PyObject
* obj1
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self",(char *) "index", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18124 if (SWIG_arg_fail(1)) SWIG_fail
;
18126 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18127 if (SWIG_arg_fail(2)) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= result
;
18143 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
= NULL
;
18145 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18154 if (SWIG_arg_fail(1)) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= result
;
18169 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
= NULL
;
18171 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18174 PyObject
* obj0
= 0 ;
18175 PyObject
* obj1
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self",(char *) "index", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail
;
18184 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18185 if (SWIG_arg_fail(2)) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= result
;
18201 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
= NULL
;
18203 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18204 bool arg2
= (bool) false ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 char *kwnames
[] = {
18209 (char *) "self",(char *) "recursive", NULL
18212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18214 if (SWIG_arg_fail(1)) SWIG_fail
;
18217 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18218 if (SWIG_arg_fail(2)) SWIG_fail
;
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18237 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
= NULL
;
18239 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18240 bool arg2
= (bool) false ;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj1
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "recursive", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18250 if (SWIG_arg_fail(1)) SWIG_fail
;
18253 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18254 if (SWIG_arg_fail(2)) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18273 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
= NULL
;
18275 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18276 wxString
*arg2
= 0 ;
18278 bool temp2
= false ;
18279 PyObject
* obj0
= 0 ;
18280 PyObject
* obj1
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "name", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18287 if (SWIG_arg_fail(1)) SWIG_fail
;
18289 arg2
= wxString_in_helper(obj1
);
18290 if (arg2
== NULL
) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18317 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
= NULL
;
18319 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18320 wxString
*arg2
= 0 ;
18322 bool temp2
= false ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "name", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18331 if (SWIG_arg_fail(1)) SWIG_fail
;
18333 arg2
= wxString_in_helper(obj1
);
18334 if (arg2
== NULL
) SWIG_fail
;
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18361 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
= NULL
;
18363 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18364 wxString
*arg2
= 0 ;
18366 bool temp2
= false ;
18367 PyObject
* obj0
= 0 ;
18368 PyObject
* obj1
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self",(char *) "name", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18375 if (SWIG_arg_fail(1)) SWIG_fail
;
18377 arg2
= wxString_in_helper(obj1
);
18378 if (arg2
== NULL
) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18405 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
= NULL
;
18407 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18408 wxString
*arg2
= 0 ;
18409 wxConfigBase::EntryType result
;
18410 bool temp2
= false ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self",(char *) "name", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail
;
18421 arg2
= wxString_in_helper(obj1
);
18422 if (arg2
== NULL
) SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= SWIG_From_int((result
));
18447 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
= NULL
;
18449 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18450 wxString
*arg2
= 0 ;
18451 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18452 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18454 bool temp2
= false ;
18455 bool temp3
= false ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 PyObject
* obj2
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail
;
18467 arg2
= wxString_in_helper(obj1
);
18468 if (arg2
== NULL
) SWIG_fail
;
18473 arg3
= wxString_in_helper(obj2
);
18474 if (arg3
== NULL
) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18514 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
= NULL
;
18516 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18517 wxString
*arg2
= 0 ;
18518 long arg3
= (long) 0 ;
18520 bool temp2
= false ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 PyObject
* obj2
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18530 if (SWIG_arg_fail(1)) SWIG_fail
;
18532 arg2
= wxString_in_helper(obj1
);
18533 if (arg2
== NULL
) SWIG_fail
;
18538 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18539 if (SWIG_arg_fail(3)) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_From_long(static_cast<long >(result
));
18566 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
= NULL
;
18568 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18569 wxString
*arg2
= 0 ;
18570 double arg3
= (double) 0.0 ;
18572 bool temp2
= false ;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 PyObject
* obj2
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18582 if (SWIG_arg_fail(1)) SWIG_fail
;
18584 arg2
= wxString_in_helper(obj1
);
18585 if (arg2
== NULL
) SWIG_fail
;
18590 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18591 if (SWIG_arg_fail(3)) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_From_double(static_cast<double >(result
));
18618 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
= NULL
;
18620 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18621 wxString
*arg2
= 0 ;
18622 bool arg3
= (bool) false ;
18624 bool temp2
= false ;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 PyObject
* obj2
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18634 if (SWIG_arg_fail(1)) SWIG_fail
;
18636 arg2
= wxString_in_helper(obj1
);
18637 if (arg2
== NULL
) SWIG_fail
;
18642 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18643 if (SWIG_arg_fail(3)) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18670 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
= NULL
;
18672 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18673 wxString
*arg2
= 0 ;
18674 wxString
*arg3
= 0 ;
18676 bool temp2
= false ;
18677 bool temp3
= false ;
18678 PyObject
* obj0
= 0 ;
18679 PyObject
* obj1
= 0 ;
18680 PyObject
* obj2
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self",(char *) "key",(char *) "value", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18687 if (SWIG_arg_fail(1)) SWIG_fail
;
18689 arg2
= wxString_in_helper(obj1
);
18690 if (arg2
== NULL
) SWIG_fail
;
18694 arg3
= wxString_in_helper(obj2
);
18695 if (arg3
== NULL
) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18730 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
= NULL
;
18732 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18733 wxString
*arg2
= 0 ;
18736 bool temp2
= false ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 PyObject
* obj2
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "key",(char *) "value", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18746 if (SWIG_arg_fail(1)) SWIG_fail
;
18748 arg2
= wxString_in_helper(obj1
);
18749 if (arg2
== NULL
) SWIG_fail
;
18753 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18754 if (SWIG_arg_fail(3)) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18780 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
= NULL
;
18782 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18783 wxString
*arg2
= 0 ;
18786 bool temp2
= false ;
18787 PyObject
* obj0
= 0 ;
18788 PyObject
* obj1
= 0 ;
18789 PyObject
* obj2
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self",(char *) "key",(char *) "value", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18796 if (SWIG_arg_fail(1)) SWIG_fail
;
18798 arg2
= wxString_in_helper(obj1
);
18799 if (arg2
== NULL
) SWIG_fail
;
18803 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18804 if (SWIG_arg_fail(3)) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18830 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
= NULL
;
18832 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18833 wxString
*arg2
= 0 ;
18836 bool temp2
= false ;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 PyObject
* obj2
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "key",(char *) "value", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 arg2
= wxString_in_helper(obj1
);
18849 if (arg2
== NULL
) SWIG_fail
;
18853 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18854 if (SWIG_arg_fail(3)) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18880 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
= NULL
;
18882 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18883 bool arg2
= (bool) false ;
18885 PyObject
* obj0
= 0 ;
18886 PyObject
* obj1
= 0 ;
18887 char *kwnames
[] = {
18888 (char *) "self",(char *) "currentOnly", NULL
18891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18893 if (SWIG_arg_fail(1)) SWIG_fail
;
18896 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18897 if (SWIG_arg_fail(2)) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 result
= (bool)(arg1
)->Flush(arg2
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18916 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
= NULL
;
18918 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18919 wxString
*arg2
= 0 ;
18920 wxString
*arg3
= 0 ;
18922 bool temp2
= false ;
18923 bool temp3
= false ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 PyObject
* obj2
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18933 if (SWIG_arg_fail(1)) SWIG_fail
;
18935 arg2
= wxString_in_helper(obj1
);
18936 if (arg2
== NULL
) SWIG_fail
;
18940 arg3
= wxString_in_helper(obj2
);
18941 if (arg3
== NULL
) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18976 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
= NULL
;
18978 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18979 wxString
*arg2
= 0 ;
18980 wxString
*arg3
= 0 ;
18982 bool temp2
= false ;
18983 bool temp3
= false ;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 PyObject
* obj2
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18993 if (SWIG_arg_fail(1)) SWIG_fail
;
18995 arg2
= wxString_in_helper(obj1
);
18996 if (arg2
== NULL
) SWIG_fail
;
19000 arg3
= wxString_in_helper(obj2
);
19001 if (arg3
== NULL
) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19036 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
= NULL
;
19038 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19039 wxString
*arg2
= 0 ;
19040 bool arg3
= (bool) true ;
19042 bool temp2
= false ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 PyObject
* obj2
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19052 if (SWIG_arg_fail(1)) SWIG_fail
;
19054 arg2
= wxString_in_helper(obj1
);
19055 if (arg2
== NULL
) SWIG_fail
;
19060 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19061 if (SWIG_arg_fail(3)) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19088 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
= NULL
;
19090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19091 wxString
*arg2
= 0 ;
19093 bool temp2
= false ;
19094 PyObject
* obj0
= 0 ;
19095 PyObject
* obj1
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self",(char *) "key", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
19101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19102 if (SWIG_arg_fail(1)) SWIG_fail
;
19104 arg2
= wxString_in_helper(obj1
);
19105 if (arg2
== NULL
) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19132 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
= NULL
;
19134 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19143 if (SWIG_arg_fail(1)) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= (bool)(arg1
)->DeleteAll();
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19160 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
= NULL
;
19162 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19163 bool arg2
= (bool) true ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self",(char *) "doIt", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19172 if (SWIG_arg_fail(1)) SWIG_fail
;
19175 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19176 if (SWIG_arg_fail(2)) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 (arg1
)->SetExpandEnvVars(arg2
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 Py_INCREF(Py_None
); resultobj
= Py_None
;
19193 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
= NULL
;
19195 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19197 PyObject
* obj0
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19204 if (SWIG_arg_fail(1)) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19221 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
= NULL
;
19223 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19224 bool arg2
= (bool) true ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "doIt", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19233 if (SWIG_arg_fail(1)) SWIG_fail
;
19236 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19237 if (SWIG_arg_fail(2)) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 (arg1
)->SetRecordDefaults(arg2
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
= NULL
;
19256 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19265 if (SWIG_arg_fail(1)) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19282 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
= NULL
;
19284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19285 wxString
*arg2
= 0 ;
19287 bool temp2
= false ;
19288 PyObject
* obj0
= 0 ;
19289 PyObject
* obj1
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self",(char *) "str", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail
;
19298 arg2
= wxString_in_helper(obj1
);
19299 if (arg2
== NULL
) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19330 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
= NULL
;
19332 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19334 PyObject
* obj0
= 0 ;
19335 char *kwnames
[] = {
19336 (char *) "self", NULL
19339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19341 if (SWIG_arg_fail(1)) SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19362 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
= NULL
;
19364 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19394 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
= NULL
;
19396 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19397 wxString
*arg2
= 0 ;
19398 bool temp2
= false ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "appName", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19407 if (SWIG_arg_fail(1)) SWIG_fail
;
19409 arg2
= wxString_in_helper(obj1
);
19410 if (arg2
== NULL
) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->SetAppName((wxString
const &)*arg2
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19435 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
= NULL
;
19437 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19438 wxString
*arg2
= 0 ;
19439 bool temp2
= false ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self",(char *) "vendorName", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19448 if (SWIG_arg_fail(1)) SWIG_fail
;
19450 arg2
= wxString_in_helper(obj1
);
19451 if (arg2
== NULL
) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 Py_INCREF(Py_None
); resultobj
= Py_None
;
19476 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
= NULL
;
19478 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 char *kwnames
[] = {
19483 (char *) "self",(char *) "style", NULL
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19488 if (SWIG_arg_fail(1)) SWIG_fail
;
19490 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19491 if (SWIG_arg_fail(2)) SWIG_fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 (arg1
)->SetStyle(arg2
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 Py_INCREF(Py_None
); resultobj
= Py_None
;
19507 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
= NULL
;
19509 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19518 if (SWIG_arg_fail(1)) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_From_long(static_cast<long >(result
));
19535 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19538 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19540 return Py_BuildValue((char *)"");
19542 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
= NULL
;
19544 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19545 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19546 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19547 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19548 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19549 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19550 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19551 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19552 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19554 bool temp1
= false ;
19555 bool temp2
= false ;
19556 bool temp3
= false ;
19557 bool temp4
= false ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 PyObject
* obj2
= 0 ;
19561 PyObject
* obj3
= 0 ;
19562 PyObject
* obj4
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19570 arg1
= wxString_in_helper(obj0
);
19571 if (arg1
== NULL
) SWIG_fail
;
19577 arg2
= wxString_in_helper(obj1
);
19578 if (arg2
== NULL
) SWIG_fail
;
19584 arg3
= wxString_in_helper(obj2
);
19585 if (arg3
== NULL
) SWIG_fail
;
19591 arg4
= wxString_in_helper(obj3
);
19592 if (arg4
== NULL
) SWIG_fail
;
19598 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19599 if (SWIG_arg_fail(5)) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19648 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
= NULL
;
19650 wxConfig
*arg1
= (wxConfig
*) 0 ;
19651 PyObject
* obj0
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19658 if (SWIG_arg_fail(1)) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 Py_INCREF(Py_None
); resultobj
= Py_None
;
19673 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19676 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19678 return Py_BuildValue((char *)"");
19680 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
= NULL
;
19682 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19683 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19684 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19685 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19686 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19687 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19688 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19689 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19690 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19691 wxFileConfig
*result
;
19692 bool temp1
= false ;
19693 bool temp2
= false ;
19694 bool temp3
= false ;
19695 bool temp4
= false ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 PyObject
* obj2
= 0 ;
19699 PyObject
* obj3
= 0 ;
19700 PyObject
* obj4
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19708 arg1
= wxString_in_helper(obj0
);
19709 if (arg1
== NULL
) SWIG_fail
;
19715 arg2
= wxString_in_helper(obj1
);
19716 if (arg2
== NULL
) SWIG_fail
;
19722 arg3
= wxString_in_helper(obj2
);
19723 if (arg3
== NULL
) SWIG_fail
;
19729 arg4
= wxString_in_helper(obj3
);
19730 if (arg4
== NULL
) SWIG_fail
;
19736 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19737 if (SWIG_arg_fail(5)) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19786 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19787 PyObject
*resultobj
= NULL
;
19788 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19796 if (SWIG_arg_fail(1)) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 Py_INCREF(Py_None
); resultobj
= Py_None
;
19811 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19814 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19816 return Py_BuildValue((char *)"");
19818 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
= NULL
;
19820 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19821 wxString
*arg2
= 0 ;
19822 wxConfigPathChanger
*result
;
19823 bool temp2
= false ;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "config",(char *) "entry", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19832 if (SWIG_arg_fail(1)) SWIG_fail
;
19834 arg2
= wxString_in_helper(obj1
);
19835 if (arg2
== NULL
) SWIG_fail
;
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19860 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
= NULL
;
19862 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19870 if (SWIG_arg_fail(1)) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 Py_INCREF(Py_None
); resultobj
= Py_None
;
19885 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
= NULL
;
19887 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19896 if (SWIG_arg_fail(1)) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19901 result
= (wxString
*) &_result_ref
;
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19911 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19920 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19923 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19925 return Py_BuildValue((char *)"");
19927 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
= NULL
;
19929 wxString
*arg1
= 0 ;
19931 bool temp1
= false ;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "sz", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19939 arg1
= wxString_in_helper(obj0
);
19940 if (arg1
== NULL
) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19971 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19972 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19977 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19978 PyObject
*pyobj
= NULL
;
19982 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19984 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19991 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19992 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19997 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19998 PyObject
*pyobj
= NULL
;
20002 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20004 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20011 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
= NULL
;
20013 wxDateTime::Country arg1
;
20014 PyObject
* obj0
= 0 ;
20015 char *kwnames
[] = {
20016 (char *) "country", NULL
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
20021 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20022 if (SWIG_arg_fail(1)) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 wxDateTime::SetCountry(arg1
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 Py_INCREF(Py_None
); resultobj
= Py_None
;
20038 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
= NULL
;
20040 wxDateTime::Country result
;
20041 char *kwnames
[] = {
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_From_int((result
));
20060 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
= NULL
;
20062 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20064 PyObject
* obj0
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "country", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
20072 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20073 if (SWIG_arg_fail(1)) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20092 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
= NULL
;
20094 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "cal", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
20104 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20105 if (SWIG_arg_fail(1)) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 result
= (int)wxDateTime::GetCurrentYear(arg1
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= SWIG_From_int(static_cast<int >(result
));
20124 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
= NULL
;
20128 PyObject
* obj0
= 0 ;
20129 char *kwnames
[] = {
20130 (char *) "year", NULL
20133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20135 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20136 if (SWIG_arg_fail(1)) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= SWIG_From_int(static_cast<int >(result
));
20154 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20155 PyObject
*resultobj
= NULL
;
20156 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20157 wxDateTime::Month result
;
20158 PyObject
* obj0
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "cal", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20166 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20167 if (SWIG_arg_fail(1)) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= SWIG_From_int((result
));
20184 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
= NULL
;
20186 int arg1
= (int) wxDateTime::Inv_Year
;
20187 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "year",(char *) "cal", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20198 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20199 if (SWIG_arg_fail(1)) SWIG_fail
;
20204 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20205 if (SWIG_arg_fail(2)) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20224 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
= NULL
;
20226 int arg1
= (int) wxDateTime::Inv_Year
;
20228 PyObject
* obj0
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "year", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20236 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20237 if (SWIG_arg_fail(1)) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (int)wxDateTime::GetCentury(arg1
);
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_From_int(static_cast<int >(result
));
20256 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
= NULL
;
20259 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20261 PyObject
* obj0
= 0 ;
20262 PyObject
* obj1
= 0 ;
20263 char *kwnames
[] = {
20264 (char *) "year",(char *) "cal", NULL
20267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20269 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20270 if (SWIG_arg_fail(1)) SWIG_fail
;
20274 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20275 if (SWIG_arg_fail(2)) SWIG_fail
;
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20286 resultobj
= SWIG_From_int(static_cast<int >(result
));
20294 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
= NULL
;
20296 wxDateTime::Month arg1
;
20297 int arg2
= (int) wxDateTime::Inv_Year
;
20298 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20302 PyObject
* obj2
= 0 ;
20303 char *kwnames
[] = {
20304 (char *) "month",(char *) "year",(char *) "cal", NULL
20307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20309 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20310 if (SWIG_arg_fail(1)) SWIG_fail
;
20314 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20315 if (SWIG_arg_fail(2)) SWIG_fail
;
20320 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20321 if (SWIG_arg_fail(3)) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= SWIG_From_int(static_cast<int >(result
));
20340 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
= NULL
;
20342 wxDateTime::Month arg1
;
20343 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20345 PyObject
* obj0
= 0 ;
20346 PyObject
* obj1
= 0 ;
20347 char *kwnames
[] = {
20348 (char *) "month",(char *) "flags", NULL
20351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20354 if (SWIG_arg_fail(1)) SWIG_fail
;
20358 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20359 if (SWIG_arg_fail(2)) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20382 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
= NULL
;
20384 wxDateTime::WeekDay arg1
;
20385 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "weekday",(char *) "flags", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20395 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20396 if (SWIG_arg_fail(1)) SWIG_fail
;
20400 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20401 if (SWIG_arg_fail(2)) SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20424 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
= NULL
;
20427 char *kwnames
[] = {
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= result
;
20446 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
= NULL
;
20448 int arg1
= (int) wxDateTime::Inv_Year
;
20449 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "year",(char *) "country", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20460 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20461 if (SWIG_arg_fail(1)) SWIG_fail
;
20466 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20467 if (SWIG_arg_fail(2)) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20486 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
= NULL
;
20488 int arg1
= (int) wxDateTime::Inv_Year
;
20489 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "year",(char *) "country", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20500 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20501 if (SWIG_arg_fail(1)) SWIG_fail
;
20506 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20507 if (SWIG_arg_fail(2)) SWIG_fail
;
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20518 wxDateTime
* resultptr
;
20519 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20528 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
= NULL
;
20530 int arg1
= (int) wxDateTime::Inv_Year
;
20531 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20533 PyObject
* obj0
= 0 ;
20534 PyObject
* obj1
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "year",(char *) "country", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20542 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20543 if (SWIG_arg_fail(1)) SWIG_fail
;
20548 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20549 if (SWIG_arg_fail(2)) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20560 wxDateTime
* resultptr
;
20561 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20570 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
= NULL
;
20573 char *kwnames
[] = {
20577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= wxDateTime::Now();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 wxDateTime
* resultptr
;
20587 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20596 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
= NULL
;
20599 char *kwnames
[] = {
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= wxDateTime::UNow();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 wxDateTime
* resultptr
;
20613 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20622 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
= NULL
;
20625 char *kwnames
[] = {
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= wxDateTime::Today();
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20638 wxDateTime
* resultptr
;
20639 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20648 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
= NULL
;
20650 wxDateTime
*result
;
20651 char *kwnames
[] = {
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= (wxDateTime
*)new wxDateTime();
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20670 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
= NULL
;
20673 wxDateTime
*result
;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "timet", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20681 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20682 if (SWIG_arg_fail(1)) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (wxDateTime
*)new wxDateTime(arg1
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20698 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
= NULL
;
20701 wxDateTime
*result
;
20702 PyObject
* obj0
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "jdn", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20709 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20710 if (SWIG_arg_fail(1)) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= (wxDateTime
*)new wxDateTime(arg1
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20726 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
= NULL
;
20729 int arg2
= (int) 0 ;
20730 int arg3
= (int) 0 ;
20731 int arg4
= (int) 0 ;
20732 wxDateTime
*result
;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 PyObject
* obj2
= 0 ;
20736 PyObject
* obj3
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20743 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20744 if (SWIG_arg_fail(1)) SWIG_fail
;
20748 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20749 if (SWIG_arg_fail(2)) SWIG_fail
;
20754 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20755 if (SWIG_arg_fail(3)) SWIG_fail
;
20760 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20761 if (SWIG_arg_fail(4)) SWIG_fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20778 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
= NULL
;
20781 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20782 int arg3
= (int) wxDateTime::Inv_Year
;
20783 int arg4
= (int) 0 ;
20784 int arg5
= (int) 0 ;
20785 int arg6
= (int) 0 ;
20786 int arg7
= (int) 0 ;
20787 wxDateTime
*result
;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20790 PyObject
* obj2
= 0 ;
20791 PyObject
* obj3
= 0 ;
20792 PyObject
* obj4
= 0 ;
20793 PyObject
* obj5
= 0 ;
20794 PyObject
* obj6
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20801 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20802 if (SWIG_arg_fail(1)) SWIG_fail
;
20806 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20807 if (SWIG_arg_fail(2)) SWIG_fail
;
20812 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20813 if (SWIG_arg_fail(3)) SWIG_fail
;
20818 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20819 if (SWIG_arg_fail(4)) SWIG_fail
;
20824 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20825 if (SWIG_arg_fail(5)) SWIG_fail
;
20830 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20831 if (SWIG_arg_fail(6)) SWIG_fail
;
20836 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20837 if (SWIG_arg_fail(7)) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20854 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
= NULL
;
20856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20864 if (SWIG_arg_fail(1)) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 Py_INCREF(Py_None
); resultobj
= Py_None
;
20879 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
= NULL
;
20881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20882 wxDateTime
*result
;
20883 PyObject
* obj0
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20890 if (SWIG_arg_fail(1)) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20895 result
= (wxDateTime
*) &_result_ref
;
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20908 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
= NULL
;
20910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20912 wxDateTime
*result
;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self",(char *) "timet", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20921 if (SWIG_arg_fail(1)) SWIG_fail
;
20923 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20924 if (SWIG_arg_fail(2)) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20930 result
= (wxDateTime
*) &_result_ref
;
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20943 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
= NULL
;
20945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20947 wxDateTime
*result
;
20948 PyObject
* obj0
= 0 ;
20949 PyObject
* obj1
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self",(char *) "jdn", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20956 if (SWIG_arg_fail(1)) SWIG_fail
;
20958 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20959 if (SWIG_arg_fail(2)) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20965 result
= (wxDateTime
*) &_result_ref
;
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20978 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
= NULL
;
20980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20982 int arg3
= (int) 0 ;
20983 int arg4
= (int) 0 ;
20984 int arg5
= (int) 0 ;
20985 wxDateTime
*result
;
20986 PyObject
* obj0
= 0 ;
20987 PyObject
* obj1
= 0 ;
20988 PyObject
* obj2
= 0 ;
20989 PyObject
* obj3
= 0 ;
20990 PyObject
* obj4
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20997 if (SWIG_arg_fail(1)) SWIG_fail
;
20999 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21000 if (SWIG_arg_fail(2)) SWIG_fail
;
21004 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21005 if (SWIG_arg_fail(3)) SWIG_fail
;
21010 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21011 if (SWIG_arg_fail(4)) SWIG_fail
;
21016 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21017 if (SWIG_arg_fail(5)) SWIG_fail
;
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
21024 result
= (wxDateTime
*) &_result_ref
;
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21037 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
= NULL
;
21039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21041 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21042 int arg4
= (int) wxDateTime::Inv_Year
;
21043 int arg5
= (int) 0 ;
21044 int arg6
= (int) 0 ;
21045 int arg7
= (int) 0 ;
21046 int arg8
= (int) 0 ;
21047 wxDateTime
*result
;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 PyObject
* obj2
= 0 ;
21051 PyObject
* obj3
= 0 ;
21052 PyObject
* obj4
= 0 ;
21053 PyObject
* obj5
= 0 ;
21054 PyObject
* obj6
= 0 ;
21055 PyObject
* obj7
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21062 if (SWIG_arg_fail(1)) SWIG_fail
;
21064 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21065 if (SWIG_arg_fail(2)) SWIG_fail
;
21069 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21070 if (SWIG_arg_fail(3)) SWIG_fail
;
21075 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21076 if (SWIG_arg_fail(4)) SWIG_fail
;
21081 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21082 if (SWIG_arg_fail(5)) SWIG_fail
;
21087 arg6
= static_cast<int >(SWIG_As_int(obj5
));
21088 if (SWIG_arg_fail(6)) SWIG_fail
;
21093 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21094 if (SWIG_arg_fail(7)) SWIG_fail
;
21099 arg8
= static_cast<int >(SWIG_As_int(obj7
));
21100 if (SWIG_arg_fail(8)) SWIG_fail
;
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
21107 result
= (wxDateTime
*) &_result_ref
;
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21120 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
= NULL
;
21122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21123 wxDateTime
*result
;
21124 PyObject
* obj0
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21131 if (SWIG_arg_fail(1)) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21136 result
= (wxDateTime
*) &_result_ref
;
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21149 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
= NULL
;
21151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21153 wxDateTime
*result
;
21154 PyObject
* obj0
= 0 ;
21155 PyObject
* obj1
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self",(char *) "year", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21162 if (SWIG_arg_fail(1)) SWIG_fail
;
21164 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21165 if (SWIG_arg_fail(2)) SWIG_fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21171 result
= (wxDateTime
*) &_result_ref
;
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21184 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
= NULL
;
21186 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21187 wxDateTime::Month arg2
;
21188 wxDateTime
*result
;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self",(char *) "month", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21197 if (SWIG_arg_fail(1)) SWIG_fail
;
21199 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21200 if (SWIG_arg_fail(2)) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21206 result
= (wxDateTime
*) &_result_ref
;
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21219 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
= NULL
;
21221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21223 wxDateTime
*result
;
21224 PyObject
* obj0
= 0 ;
21225 PyObject
* obj1
= 0 ;
21226 char *kwnames
[] = {
21227 (char *) "self",(char *) "day", NULL
21230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21232 if (SWIG_arg_fail(1)) SWIG_fail
;
21234 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21235 if (SWIG_arg_fail(2)) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21241 result
= (wxDateTime
*) &_result_ref
;
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21254 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
= NULL
;
21256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21258 wxDateTime
*result
;
21259 PyObject
* obj0
= 0 ;
21260 PyObject
* obj1
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self",(char *) "hour", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21267 if (SWIG_arg_fail(1)) SWIG_fail
;
21269 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21270 if (SWIG_arg_fail(2)) SWIG_fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21276 result
= (wxDateTime
*) &_result_ref
;
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21289 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21290 PyObject
*resultobj
= NULL
;
21291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21293 wxDateTime
*result
;
21294 PyObject
* obj0
= 0 ;
21295 PyObject
* obj1
= 0 ;
21296 char *kwnames
[] = {
21297 (char *) "self",(char *) "minute", NULL
21300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21302 if (SWIG_arg_fail(1)) SWIG_fail
;
21304 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21305 if (SWIG_arg_fail(2)) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21311 result
= (wxDateTime
*) &_result_ref
;
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21324 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
= NULL
;
21326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21328 wxDateTime
*result
;
21329 PyObject
* obj0
= 0 ;
21330 PyObject
* obj1
= 0 ;
21331 char *kwnames
[] = {
21332 (char *) "self",(char *) "second", NULL
21335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21337 if (SWIG_arg_fail(1)) SWIG_fail
;
21339 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21340 if (SWIG_arg_fail(2)) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21346 result
= (wxDateTime
*) &_result_ref
;
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21359 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
= NULL
;
21361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21363 wxDateTime
*result
;
21364 PyObject
* obj0
= 0 ;
21365 PyObject
* obj1
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self",(char *) "millisecond", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21372 if (SWIG_arg_fail(1)) SWIG_fail
;
21374 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21375 if (SWIG_arg_fail(2)) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21381 result
= (wxDateTime
*) &_result_ref
;
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21394 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
= NULL
;
21396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21397 wxDateTime::WeekDay arg2
;
21398 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21399 wxDateTime
*result
;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 PyObject
* obj2
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21409 if (SWIG_arg_fail(1)) SWIG_fail
;
21411 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21412 if (SWIG_arg_fail(2)) SWIG_fail
;
21416 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21417 if (SWIG_arg_fail(3)) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21424 result
= (wxDateTime
*) &_result_ref
;
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21437 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
= NULL
;
21439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21440 wxDateTime::WeekDay arg2
;
21441 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21443 PyObject
* obj0
= 0 ;
21444 PyObject
* obj1
= 0 ;
21445 PyObject
* obj2
= 0 ;
21446 char *kwnames
[] = {
21447 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21452 if (SWIG_arg_fail(1)) SWIG_fail
;
21454 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21455 if (SWIG_arg_fail(2)) SWIG_fail
;
21459 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21460 if (SWIG_arg_fail(3)) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21471 wxDateTime
* resultptr
;
21472 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21481 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
= NULL
;
21483 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21484 wxDateTime::WeekDay arg2
;
21485 wxDateTime
*result
;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "self",(char *) "weekday", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21494 if (SWIG_arg_fail(1)) SWIG_fail
;
21496 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21497 if (SWIG_arg_fail(2)) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21503 result
= (wxDateTime
*) &_result_ref
;
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21516 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
= NULL
;
21518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21519 wxDateTime::WeekDay arg2
;
21521 PyObject
* obj0
= 0 ;
21522 PyObject
* obj1
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self",(char *) "weekday", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21529 if (SWIG_arg_fail(1)) SWIG_fail
;
21531 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21532 if (SWIG_arg_fail(2)) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (arg1
)->GetNextWeekDay(arg2
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21542 wxDateTime
* resultptr
;
21543 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21552 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
= NULL
;
21554 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21555 wxDateTime::WeekDay arg2
;
21556 wxDateTime
*result
;
21557 PyObject
* obj0
= 0 ;
21558 PyObject
* obj1
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self",(char *) "weekday", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21565 if (SWIG_arg_fail(1)) SWIG_fail
;
21567 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21568 if (SWIG_arg_fail(2)) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21574 result
= (wxDateTime
*) &_result_ref
;
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21587 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
= NULL
;
21589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21590 wxDateTime::WeekDay arg2
;
21592 PyObject
* obj0
= 0 ;
21593 PyObject
* obj1
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self",(char *) "weekday", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21600 if (SWIG_arg_fail(1)) SWIG_fail
;
21602 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21603 if (SWIG_arg_fail(2)) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= (arg1
)->GetPrevWeekDay(arg2
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21613 wxDateTime
* resultptr
;
21614 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21623 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
= NULL
;
21625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21626 wxDateTime::WeekDay arg2
;
21627 int arg3
= (int) 1 ;
21628 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21629 int arg5
= (int) wxDateTime::Inv_Year
;
21631 PyObject
* obj0
= 0 ;
21632 PyObject
* obj1
= 0 ;
21633 PyObject
* obj2
= 0 ;
21634 PyObject
* obj3
= 0 ;
21635 PyObject
* obj4
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21642 if (SWIG_arg_fail(1)) SWIG_fail
;
21644 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21645 if (SWIG_arg_fail(2)) SWIG_fail
;
21649 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21650 if (SWIG_arg_fail(3)) SWIG_fail
;
21655 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21656 if (SWIG_arg_fail(4)) SWIG_fail
;
21661 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21662 if (SWIG_arg_fail(5)) SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21681 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
= NULL
;
21683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21684 wxDateTime::WeekDay arg2
;
21685 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21686 int arg4
= (int) wxDateTime::Inv_Year
;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 PyObject
* obj2
= 0 ;
21691 PyObject
* obj3
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21698 if (SWIG_arg_fail(1)) SWIG_fail
;
21700 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21701 if (SWIG_arg_fail(2)) SWIG_fail
;
21705 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21706 if (SWIG_arg_fail(3)) SWIG_fail
;
21711 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21712 if (SWIG_arg_fail(4)) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21731 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
= NULL
;
21733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21734 wxDateTime::WeekDay arg2
;
21735 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21736 int arg4
= (int) wxDateTime::Inv_Year
;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 PyObject
* obj2
= 0 ;
21741 PyObject
* obj3
= 0 ;
21742 char *kwnames
[] = {
21743 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21748 if (SWIG_arg_fail(1)) SWIG_fail
;
21750 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21751 if (SWIG_arg_fail(2)) SWIG_fail
;
21755 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21756 if (SWIG_arg_fail(3)) SWIG_fail
;
21761 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21762 if (SWIG_arg_fail(4)) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 wxDateTime
* resultptr
;
21774 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21783 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
= NULL
;
21785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21787 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21788 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 PyObject
* obj2
= 0 ;
21793 PyObject
* obj3
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21800 if (SWIG_arg_fail(1)) SWIG_fail
;
21802 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21803 if (SWIG_arg_fail(2)) SWIG_fail
;
21807 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21808 if (SWIG_arg_fail(3)) SWIG_fail
;
21813 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21814 if (SWIG_arg_fail(4)) SWIG_fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21833 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
= NULL
;
21835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21837 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21838 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 PyObject
* obj2
= 0 ;
21843 PyObject
* obj3
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21850 if (SWIG_arg_fail(1)) SWIG_fail
;
21852 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21853 if (SWIG_arg_fail(2)) SWIG_fail
;
21857 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21858 if (SWIG_arg_fail(3)) SWIG_fail
;
21863 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21864 if (SWIG_arg_fail(4)) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21875 wxDateTime
* resultptr
;
21876 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21885 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
= NULL
;
21889 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21891 PyObject
* obj0
= 0 ;
21892 PyObject
* obj1
= 0 ;
21893 PyObject
* obj2
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21900 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21901 if (SWIG_arg_fail(1)) SWIG_fail
;
21904 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21905 if (SWIG_arg_fail(2)) SWIG_fail
;
21909 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21910 if (SWIG_arg_fail(3)) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21921 wxDateTime
* resultptr
;
21922 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21931 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
= NULL
;
21933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21934 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21935 int arg3
= (int) wxDateTime::Inv_Year
;
21936 wxDateTime
*result
;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 PyObject
* obj2
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self",(char *) "month",(char *) "year", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21946 if (SWIG_arg_fail(1)) SWIG_fail
;
21949 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21950 if (SWIG_arg_fail(2)) SWIG_fail
;
21955 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21956 if (SWIG_arg_fail(3)) SWIG_fail
;
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21963 result
= (wxDateTime
*) &_result_ref
;
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21976 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
= NULL
;
21978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21979 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21980 int arg3
= (int) wxDateTime::Inv_Year
;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 PyObject
* obj2
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self",(char *) "month",(char *) "year", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail
;
21994 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21995 if (SWIG_arg_fail(2)) SWIG_fail
;
22000 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22001 if (SWIG_arg_fail(3)) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 wxDateTime
* resultptr
;
22013 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22022 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
= NULL
;
22024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22026 wxDateTime
*result
;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "yday", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22035 if (SWIG_arg_fail(1)) SWIG_fail
;
22037 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22038 if (SWIG_arg_fail(2)) SWIG_fail
;
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
22044 result
= (wxDateTime
*) &_result_ref
;
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22057 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
= NULL
;
22059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 char *kwnames
[] = {
22065 (char *) "self",(char *) "yday", NULL
22068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22070 if (SWIG_arg_fail(1)) SWIG_fail
;
22072 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22073 if (SWIG_arg_fail(2)) SWIG_fail
;
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 result
= (arg1
)->GetYearDay(arg2
);
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22083 wxDateTime
* resultptr
;
22084 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22093 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
= NULL
;
22095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22097 PyObject
* obj0
= 0 ;
22098 char *kwnames
[] = {
22099 (char *) "self", NULL
22102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22104 if (SWIG_arg_fail(1)) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 result
= (double)(arg1
)->GetJulianDayNumber();
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= SWIG_From_double(static_cast<double >(result
));
22121 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
= NULL
;
22123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22125 PyObject
* obj0
= 0 ;
22126 char *kwnames
[] = {
22127 (char *) "self", NULL
22130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22132 if (SWIG_arg_fail(1)) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 result
= (double)(arg1
)->GetJDN();
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22141 resultobj
= SWIG_From_double(static_cast<double >(result
));
22149 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
= NULL
;
22151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22153 PyObject
* obj0
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22160 if (SWIG_arg_fail(1)) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= SWIG_From_double(static_cast<double >(result
));
22177 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
= NULL
;
22179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "self", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22188 if (SWIG_arg_fail(1)) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (double)(arg1
)->GetMJD();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= SWIG_From_double(static_cast<double >(result
));
22205 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
= NULL
;
22207 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22209 PyObject
* obj0
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (double)(arg1
)->GetRataDie();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_From_double(static_cast<double >(result
));
22233 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
= NULL
;
22235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22236 wxDateTime::TimeZone
*arg2
= 0 ;
22237 bool arg3
= (bool) false ;
22239 bool temp2
= false ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22249 if (SWIG_arg_fail(1)) SWIG_fail
;
22251 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22256 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22257 if (SWIG_arg_fail(3)) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22268 wxDateTime
* resultptr
;
22269 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22273 if (temp2
) delete arg2
;
22278 if (temp2
) delete arg2
;
22284 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
= NULL
;
22286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22287 wxDateTime::TimeZone
*arg2
= 0 ;
22288 bool arg3
= (bool) false ;
22289 wxDateTime
*result
;
22290 bool temp2
= false ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 PyObject
* obj2
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22300 if (SWIG_arg_fail(1)) SWIG_fail
;
22302 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22307 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22308 if (SWIG_arg_fail(3)) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22315 result
= (wxDateTime
*) &_result_ref
;
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22323 if (temp2
) delete arg2
;
22328 if (temp2
) delete arg2
;
22334 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
= NULL
;
22336 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22337 wxDateTime::TimeZone
*arg2
= 0 ;
22338 bool arg3
= (bool) false ;
22340 bool temp2
= false ;
22341 PyObject
* obj0
= 0 ;
22342 PyObject
* obj1
= 0 ;
22343 PyObject
* obj2
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22350 if (SWIG_arg_fail(1)) SWIG_fail
;
22352 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22357 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22358 if (SWIG_arg_fail(3)) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22369 wxDateTime
* resultptr
;
22370 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22374 if (temp2
) delete arg2
;
22379 if (temp2
) delete arg2
;
22385 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
= NULL
;
22387 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22388 wxDateTime::TimeZone
*arg2
= 0 ;
22389 bool arg3
= (bool) false ;
22390 wxDateTime
*result
;
22391 bool temp2
= false ;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 PyObject
* obj2
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22401 if (SWIG_arg_fail(1)) SWIG_fail
;
22403 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22408 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22409 if (SWIG_arg_fail(3)) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22416 result
= (wxDateTime
*) &_result_ref
;
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22424 if (temp2
) delete arg2
;
22429 if (temp2
) delete arg2
;
22435 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
= NULL
;
22437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22438 bool arg2
= (bool) false ;
22440 PyObject
* obj0
= 0 ;
22441 PyObject
* obj1
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self",(char *) "noDST", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22448 if (SWIG_arg_fail(1)) SWIG_fail
;
22451 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22452 if (SWIG_arg_fail(2)) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 wxDateTime
* resultptr
;
22464 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22473 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
= NULL
;
22475 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22476 bool arg2
= (bool) false ;
22477 wxDateTime
*result
;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self",(char *) "noDST", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22486 if (SWIG_arg_fail(1)) SWIG_fail
;
22489 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22490 if (SWIG_arg_fail(2)) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22497 result
= (wxDateTime
*) &_result_ref
;
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22510 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
= NULL
;
22512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22513 bool arg2
= (bool) false ;
22515 PyObject
* obj0
= 0 ;
22516 PyObject
* obj1
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self",(char *) "noDST", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22523 if (SWIG_arg_fail(1)) SWIG_fail
;
22526 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22527 if (SWIG_arg_fail(2)) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22538 wxDateTime
* resultptr
;
22539 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22548 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
= NULL
;
22550 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22551 bool arg2
= (bool) false ;
22552 wxDateTime
*result
;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self",(char *) "noDST", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22561 if (SWIG_arg_fail(1)) SWIG_fail
;
22564 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22565 if (SWIG_arg_fail(2)) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22572 result
= (wxDateTime
*) &_result_ref
;
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22585 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
= NULL
;
22587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22588 bool arg2
= (bool) false ;
22590 PyObject
* obj0
= 0 ;
22591 PyObject
* obj1
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "noDST", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22598 if (SWIG_arg_fail(1)) SWIG_fail
;
22601 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22602 if (SWIG_arg_fail(2)) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22613 wxDateTime
* resultptr
;
22614 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22623 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
= NULL
;
22625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22626 bool arg2
= (bool) false ;
22627 wxDateTime
*result
;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 char *kwnames
[] = {
22631 (char *) "self",(char *) "noDST", NULL
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22636 if (SWIG_arg_fail(1)) SWIG_fail
;
22639 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22640 if (SWIG_arg_fail(2)) SWIG_fail
;
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22647 result
= (wxDateTime
*) &_result_ref
;
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22660 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
= NULL
;
22662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22663 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22665 PyObject
* obj0
= 0 ;
22666 PyObject
* obj1
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self",(char *) "country", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22673 if (SWIG_arg_fail(1)) SWIG_fail
;
22676 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22677 if (SWIG_arg_fail(2)) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (int)(arg1
)->IsDST(arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= SWIG_From_int(static_cast<int >(result
));
22696 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
= NULL
;
22698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22724 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
= NULL
;
22726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22752 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
= NULL
;
22754 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22755 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22756 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22758 bool temp2
= false ;
22759 PyObject
* obj0
= 0 ;
22760 PyObject
* obj1
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self",(char *) "tz", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22767 if (SWIG_arg_fail(1)) SWIG_fail
;
22770 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_From_int(static_cast<int >(result
));
22785 if (temp2
) delete arg2
;
22790 if (temp2
) delete arg2
;
22796 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
= NULL
;
22798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22799 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22800 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22801 wxDateTime::Month result
;
22802 bool temp2
= false ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "self",(char *) "tz", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail
;
22814 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_From_int((result
));
22827 if (temp2
) delete arg2
;
22832 if (temp2
) delete arg2
;
22838 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
= NULL
;
22840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22841 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22842 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22844 bool temp2
= false ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "tz", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail
;
22856 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22868 resultobj
= SWIG_From_int(static_cast<int >(result
));
22871 if (temp2
) delete arg2
;
22876 if (temp2
) delete arg2
;
22882 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
= NULL
;
22884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22885 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22886 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22887 wxDateTime::WeekDay result
;
22888 bool temp2
= false ;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self",(char *) "tz", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22897 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 resultobj
= SWIG_From_int((result
));
22913 if (temp2
) delete arg2
;
22918 if (temp2
) delete arg2
;
22924 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
= NULL
;
22926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22927 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22928 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22930 bool temp2
= false ;
22931 PyObject
* obj0
= 0 ;
22932 PyObject
* obj1
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self",(char *) "tz", NULL
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22939 if (SWIG_arg_fail(1)) SWIG_fail
;
22942 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_From_int(static_cast<int >(result
));
22957 if (temp2
) delete arg2
;
22962 if (temp2
) delete arg2
;
22968 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
= NULL
;
22970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22971 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22972 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22974 bool temp2
= false ;
22975 PyObject
* obj0
= 0 ;
22976 PyObject
* obj1
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self",(char *) "tz", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22983 if (SWIG_arg_fail(1)) SWIG_fail
;
22986 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= SWIG_From_int(static_cast<int >(result
));
23001 if (temp2
) delete arg2
;
23006 if (temp2
) delete arg2
;
23012 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
= NULL
;
23014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23015 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23016 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23018 bool temp2
= false ;
23019 PyObject
* obj0
= 0 ;
23020 PyObject
* obj1
= 0 ;
23021 char *kwnames
[] = {
23022 (char *) "self",(char *) "tz", NULL
23025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23027 if (SWIG_arg_fail(1)) SWIG_fail
;
23030 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_From_int(static_cast<int >(result
));
23045 if (temp2
) delete arg2
;
23050 if (temp2
) delete arg2
;
23056 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
= NULL
;
23058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23059 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23060 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23062 bool temp2
= false ;
23063 PyObject
* obj0
= 0 ;
23064 PyObject
* obj1
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self",(char *) "tz", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23071 if (SWIG_arg_fail(1)) SWIG_fail
;
23074 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= SWIG_From_int(static_cast<int >(result
));
23089 if (temp2
) delete arg2
;
23094 if (temp2
) delete arg2
;
23100 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
= NULL
;
23102 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23103 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23104 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23106 bool temp2
= false ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "tz", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail
;
23118 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_From_int(static_cast<int >(result
));
23133 if (temp2
) delete arg2
;
23138 if (temp2
) delete arg2
;
23144 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
= NULL
;
23146 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23147 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23148 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23149 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23151 bool temp3
= false ;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23154 PyObject
* obj2
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "flags",(char *) "tz", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail
;
23164 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23165 if (SWIG_arg_fail(2)) SWIG_fail
;
23170 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= SWIG_From_int(static_cast<int >(result
));
23185 if (temp3
) delete arg3
;
23190 if (temp3
) delete arg3
;
23196 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
= NULL
;
23198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23199 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23200 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23201 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23203 bool temp3
= false ;
23204 PyObject
* obj0
= 0 ;
23205 PyObject
* obj1
= 0 ;
23206 PyObject
* obj2
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self",(char *) "flags",(char *) "tz", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23213 if (SWIG_arg_fail(1)) SWIG_fail
;
23216 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23217 if (SWIG_arg_fail(2)) SWIG_fail
;
23222 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= SWIG_From_int(static_cast<int >(result
));
23237 if (temp3
) delete arg3
;
23242 if (temp3
) delete arg3
;
23248 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
= NULL
;
23250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23251 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj1
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self",(char *) "country", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail
;
23264 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23265 if (SWIG_arg_fail(2)) SWIG_fail
;
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23284 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
= NULL
;
23286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23287 wxDateTime
*arg2
= 0 ;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self",(char *) "datetime", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23300 if (SWIG_arg_fail(2)) SWIG_fail
;
23301 if (arg2
== NULL
) {
23302 SWIG_null_ref("wxDateTime");
23304 if (SWIG_arg_fail(2)) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23322 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
= NULL
;
23324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23325 wxDateTime
*arg2
= 0 ;
23327 PyObject
* obj0
= 0 ;
23328 PyObject
* obj1
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self",(char *) "datetime", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail
;
23337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23338 if (SWIG_arg_fail(2)) SWIG_fail
;
23339 if (arg2
== NULL
) {
23340 SWIG_null_ref("wxDateTime");
23342 if (SWIG_arg_fail(2)) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23360 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
= NULL
;
23362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23363 wxDateTime
*arg2
= 0 ;
23365 PyObject
* obj0
= 0 ;
23366 PyObject
* obj1
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self",(char *) "datetime", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail
;
23375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23376 if (SWIG_arg_fail(2)) SWIG_fail
;
23377 if (arg2
== NULL
) {
23378 SWIG_null_ref("wxDateTime");
23380 if (SWIG_arg_fail(2)) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23398 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23399 PyObject
*resultobj
= NULL
;
23400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23401 wxDateTime
*arg2
= 0 ;
23402 wxDateTime
*arg3
= 0 ;
23404 PyObject
* obj0
= 0 ;
23405 PyObject
* obj1
= 0 ;
23406 PyObject
* obj2
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self",(char *) "t1",(char *) "t2", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23416 if (SWIG_arg_fail(2)) SWIG_fail
;
23417 if (arg2
== NULL
) {
23418 SWIG_null_ref("wxDateTime");
23420 if (SWIG_arg_fail(2)) SWIG_fail
;
23423 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23424 if (SWIG_arg_fail(3)) SWIG_fail
;
23425 if (arg3
== NULL
) {
23426 SWIG_null_ref("wxDateTime");
23428 if (SWIG_arg_fail(3)) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23446 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
= NULL
;
23448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23449 wxDateTime
*arg2
= 0 ;
23450 wxDateTime
*arg3
= 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 PyObject
* obj2
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "t1",(char *) "t2", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23461 if (SWIG_arg_fail(1)) SWIG_fail
;
23463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23464 if (SWIG_arg_fail(2)) SWIG_fail
;
23465 if (arg2
== NULL
) {
23466 SWIG_null_ref("wxDateTime");
23468 if (SWIG_arg_fail(2)) SWIG_fail
;
23471 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23472 if (SWIG_arg_fail(3)) SWIG_fail
;
23473 if (arg3
== NULL
) {
23474 SWIG_null_ref("wxDateTime");
23476 if (SWIG_arg_fail(3)) SWIG_fail
;
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23494 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
= NULL
;
23496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23497 wxDateTime
*arg2
= 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self",(char *) "dt", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23507 if (SWIG_arg_fail(1)) SWIG_fail
;
23509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23510 if (SWIG_arg_fail(2)) SWIG_fail
;
23511 if (arg2
== NULL
) {
23512 SWIG_null_ref("wxDateTime");
23514 if (SWIG_arg_fail(2)) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23532 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
= NULL
;
23534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23535 wxDateTime
*arg2
= 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self",(char *) "dt", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23545 if (SWIG_arg_fail(1)) SWIG_fail
;
23547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23548 if (SWIG_arg_fail(2)) SWIG_fail
;
23549 if (arg2
== NULL
) {
23550 SWIG_null_ref("wxDateTime");
23552 if (SWIG_arg_fail(2)) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23570 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
= NULL
;
23572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23573 wxDateTime
*arg2
= 0 ;
23574 wxTimeSpan
*arg3
= 0 ;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 PyObject
* obj2
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "dt",(char *) "ts", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23585 if (SWIG_arg_fail(1)) SWIG_fail
;
23587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23588 if (SWIG_arg_fail(2)) SWIG_fail
;
23589 if (arg2
== NULL
) {
23590 SWIG_null_ref("wxDateTime");
23592 if (SWIG_arg_fail(2)) SWIG_fail
;
23595 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23596 if (SWIG_arg_fail(3)) SWIG_fail
;
23597 if (arg3
== NULL
) {
23598 SWIG_null_ref("wxTimeSpan");
23600 if (SWIG_arg_fail(3)) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23618 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
= NULL
;
23620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23621 wxTimeSpan
*arg2
= 0 ;
23622 wxDateTime
*result
;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self",(char *) "diff", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23631 if (SWIG_arg_fail(1)) SWIG_fail
;
23633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23634 if (SWIG_arg_fail(2)) SWIG_fail
;
23635 if (arg2
== NULL
) {
23636 SWIG_null_ref("wxTimeSpan");
23638 if (SWIG_arg_fail(2)) SWIG_fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23644 result
= (wxDateTime
*) &_result_ref
;
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23657 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
= NULL
;
23659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23660 wxDateSpan
*arg2
= 0 ;
23661 wxDateTime
*result
;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self",(char *) "diff", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23673 if (SWIG_arg_fail(2)) SWIG_fail
;
23674 if (arg2
== NULL
) {
23675 SWIG_null_ref("wxDateSpan");
23677 if (SWIG_arg_fail(2)) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23683 result
= (wxDateTime
*) &_result_ref
;
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23696 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23697 PyObject
*resultobj
= NULL
;
23698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23699 wxTimeSpan
*arg2
= 0 ;
23700 wxDateTime
*result
;
23701 PyObject
* obj0
= 0 ;
23702 PyObject
* obj1
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self",(char *) "diff", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23709 if (SWIG_arg_fail(1)) SWIG_fail
;
23711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23712 if (SWIG_arg_fail(2)) SWIG_fail
;
23713 if (arg2
== NULL
) {
23714 SWIG_null_ref("wxTimeSpan");
23716 if (SWIG_arg_fail(2)) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23722 result
= (wxDateTime
*) &_result_ref
;
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23735 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
= NULL
;
23737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23738 wxDateSpan
*arg2
= 0 ;
23739 wxDateTime
*result
;
23740 PyObject
* obj0
= 0 ;
23741 PyObject
* obj1
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self",(char *) "diff", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23748 if (SWIG_arg_fail(1)) SWIG_fail
;
23750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23751 if (SWIG_arg_fail(2)) SWIG_fail
;
23752 if (arg2
== NULL
) {
23753 SWIG_null_ref("wxDateSpan");
23755 if (SWIG_arg_fail(2)) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23761 result
= (wxDateTime
*) &_result_ref
;
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23774 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
= NULL
;
23776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23777 wxDateTime
*arg2
= 0 ;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self",(char *) "dt", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23787 if (SWIG_arg_fail(1)) SWIG_fail
;
23789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23790 if (SWIG_arg_fail(2)) SWIG_fail
;
23791 if (arg2
== NULL
) {
23792 SWIG_null_ref("wxDateTime");
23794 if (SWIG_arg_fail(2)) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23804 wxTimeSpan
* resultptr
;
23805 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23814 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23815 PyObject
*resultobj
= NULL
;
23816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23817 wxTimeSpan
*arg2
= 0 ;
23818 wxDateTime
*result
;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23822 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23824 if (SWIG_arg_fail(1)) SWIG_fail
;
23826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23827 if (SWIG_arg_fail(2)) SWIG_fail
;
23828 if (arg2
== NULL
) {
23829 SWIG_null_ref("wxTimeSpan");
23831 if (SWIG_arg_fail(2)) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23837 result
= (wxDateTime
*) &_result_ref
;
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23850 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23851 PyObject
*resultobj
= NULL
;
23852 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23853 wxDateSpan
*arg2
= 0 ;
23854 wxDateTime
*result
;
23855 PyObject
* obj0
= 0 ;
23856 PyObject
* obj1
= 0 ;
23858 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23860 if (SWIG_arg_fail(1)) SWIG_fail
;
23862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23863 if (SWIG_arg_fail(2)) SWIG_fail
;
23864 if (arg2
== NULL
) {
23865 SWIG_null_ref("wxDateSpan");
23867 if (SWIG_arg_fail(2)) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23873 result
= (wxDateTime
*) &_result_ref
;
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23886 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23891 argc
= PyObject_Length(args
);
23892 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23893 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23899 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23909 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23917 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23925 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23935 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23943 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23948 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23953 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23954 PyObject
*resultobj
= NULL
;
23955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23956 wxTimeSpan
*arg2
= 0 ;
23957 wxDateTime
*result
;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23961 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23963 if (SWIG_arg_fail(1)) SWIG_fail
;
23965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23966 if (SWIG_arg_fail(2)) SWIG_fail
;
23967 if (arg2
== NULL
) {
23968 SWIG_null_ref("wxTimeSpan");
23970 if (SWIG_arg_fail(2)) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23976 result
= (wxDateTime
*) &_result_ref
;
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23989 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23990 PyObject
*resultobj
= NULL
;
23991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23992 wxDateSpan
*arg2
= 0 ;
23993 wxDateTime
*result
;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23997 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23999 if (SWIG_arg_fail(1)) SWIG_fail
;
24001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24002 if (SWIG_arg_fail(2)) SWIG_fail
;
24003 if (arg2
== NULL
) {
24004 SWIG_null_ref("wxDateSpan");
24006 if (SWIG_arg_fail(2)) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24012 result
= (wxDateTime
*) &_result_ref
;
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
24025 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
24030 argc
= PyObject_Length(args
);
24031 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24032 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24038 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24048 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24056 return _wrap_DateTime___isub____SWIG_0(self
,args
);
24064 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24074 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24082 return _wrap_DateTime___isub____SWIG_1(self
,args
);
24087 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
24092 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
24093 PyObject
*resultobj
= NULL
;
24094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24095 wxTimeSpan
*arg2
= 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24100 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24102 if (SWIG_arg_fail(1)) SWIG_fail
;
24104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24105 if (SWIG_arg_fail(2)) SWIG_fail
;
24106 if (arg2
== NULL
) {
24107 SWIG_null_ref("wxTimeSpan");
24109 if (SWIG_arg_fail(2)) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24119 wxDateTime
* resultptr
;
24120 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24129 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24130 PyObject
*resultobj
= NULL
;
24131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24132 wxDateSpan
*arg2
= 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24137 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24139 if (SWIG_arg_fail(1)) SWIG_fail
;
24141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24142 if (SWIG_arg_fail(2)) SWIG_fail
;
24143 if (arg2
== NULL
) {
24144 SWIG_null_ref("wxDateSpan");
24146 if (SWIG_arg_fail(2)) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 wxDateTime
* resultptr
;
24157 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24166 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24171 argc
= PyObject_Length(args
);
24172 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24173 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24179 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24189 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24197 return _wrap_DateTime___add____SWIG_0(self
,args
);
24205 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24215 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24223 return _wrap_DateTime___add____SWIG_1(self
,args
);
24228 Py_INCREF(Py_NotImplemented
);
24229 return Py_NotImplemented
;
24233 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24234 PyObject
*resultobj
= NULL
;
24235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24236 wxDateTime
*arg2
= 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24241 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24243 if (SWIG_arg_fail(1)) SWIG_fail
;
24245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(2)) SWIG_fail
;
24247 if (arg2
== NULL
) {
24248 SWIG_null_ref("wxDateTime");
24250 if (SWIG_arg_fail(2)) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24260 wxTimeSpan
* resultptr
;
24261 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24270 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24271 PyObject
*resultobj
= NULL
;
24272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24273 wxTimeSpan
*arg2
= 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24278 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail
;
24282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24283 if (SWIG_arg_fail(2)) SWIG_fail
;
24284 if (arg2
== NULL
) {
24285 SWIG_null_ref("wxTimeSpan");
24287 if (SWIG_arg_fail(2)) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 wxDateTime
* resultptr
;
24298 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24307 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24308 PyObject
*resultobj
= NULL
;
24309 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24310 wxDateSpan
*arg2
= 0 ;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24315 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24317 if (SWIG_arg_fail(1)) SWIG_fail
;
24319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24320 if (SWIG_arg_fail(2)) SWIG_fail
;
24321 if (arg2
== NULL
) {
24322 SWIG_null_ref("wxDateSpan");
24324 if (SWIG_arg_fail(2)) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24334 wxDateTime
* resultptr
;
24335 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24344 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24349 argc
= PyObject_Length(args
);
24350 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24351 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24357 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24367 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24375 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24383 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24393 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24401 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24409 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24419 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24427 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24432 Py_INCREF(Py_NotImplemented
);
24433 return Py_NotImplemented
;
24437 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
= NULL
;
24439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24440 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 char *kwnames
[] = {
24445 (char *) "self",(char *) "other", NULL
24448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24450 if (SWIG_arg_fail(1)) SWIG_fail
;
24451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24452 if (SWIG_arg_fail(2)) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24469 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
= NULL
;
24471 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24472 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self",(char *) "other", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24482 if (SWIG_arg_fail(1)) SWIG_fail
;
24483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24484 if (SWIG_arg_fail(2)) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24501 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
= NULL
;
24503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24504 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 PyObject
* obj1
= 0 ;
24508 char *kwnames
[] = {
24509 (char *) "self",(char *) "other", NULL
24512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24514 if (SWIG_arg_fail(1)) SWIG_fail
;
24515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24516 if (SWIG_arg_fail(2)) SWIG_fail
;
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24533 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
= NULL
;
24535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24536 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 char *kwnames
[] = {
24541 (char *) "self",(char *) "other", NULL
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail
;
24547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24548 if (SWIG_arg_fail(2)) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24565 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
= NULL
;
24567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24568 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 char *kwnames
[] = {
24573 (char *) "self",(char *) "other", NULL
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24578 if (SWIG_arg_fail(1)) SWIG_fail
;
24579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24580 if (SWIG_arg_fail(2)) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24597 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
= NULL
;
24599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24600 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self",(char *) "other", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail
;
24611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24612 if (SWIG_arg_fail(2)) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24629 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
= NULL
;
24631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24632 wxString
*arg2
= 0 ;
24634 bool temp2
= false ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self",(char *) "date", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24643 if (SWIG_arg_fail(1)) SWIG_fail
;
24645 arg2
= wxString_in_helper(obj1
);
24646 if (arg2
== NULL
) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24657 resultobj
= SWIG_From_int(static_cast<int >(result
));
24673 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
= NULL
;
24675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24676 wxString
*arg2
= 0 ;
24677 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24678 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24679 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24680 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24682 bool temp2
= false ;
24683 bool temp3
= false ;
24684 PyObject
* obj0
= 0 ;
24685 PyObject
* obj1
= 0 ;
24686 PyObject
* obj2
= 0 ;
24687 PyObject
* obj3
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24694 if (SWIG_arg_fail(1)) SWIG_fail
;
24696 arg2
= wxString_in_helper(obj1
);
24697 if (arg2
== NULL
) SWIG_fail
;
24702 arg3
= wxString_in_helper(obj2
);
24703 if (arg3
== NULL
) SWIG_fail
;
24709 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24710 if (SWIG_arg_fail(4)) SWIG_fail
;
24711 if (arg4
== NULL
) {
24712 SWIG_null_ref("wxDateTime");
24714 if (SWIG_arg_fail(4)) SWIG_fail
;
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24725 resultobj
= SWIG_From_int(static_cast<int >(result
));
24749 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
= NULL
;
24751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24752 wxString
*arg2
= 0 ;
24754 bool temp2
= false ;
24755 PyObject
* obj0
= 0 ;
24756 PyObject
* obj1
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "self",(char *) "datetime", NULL
24761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24763 if (SWIG_arg_fail(1)) SWIG_fail
;
24765 arg2
= wxString_in_helper(obj1
);
24766 if (arg2
== NULL
) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_From_int(static_cast<int >(result
));
24793 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
= NULL
;
24795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24796 wxString
*arg2
= 0 ;
24798 bool temp2
= false ;
24799 PyObject
* obj0
= 0 ;
24800 PyObject
* obj1
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self",(char *) "date", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24807 if (SWIG_arg_fail(1)) SWIG_fail
;
24809 arg2
= wxString_in_helper(obj1
);
24810 if (arg2
== NULL
) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_From_int(static_cast<int >(result
));
24837 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
= NULL
;
24839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24840 wxString
*arg2
= 0 ;
24842 bool temp2
= false ;
24843 PyObject
* obj0
= 0 ;
24844 PyObject
* obj1
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self",(char *) "time", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24851 if (SWIG_arg_fail(1)) SWIG_fail
;
24853 arg2
= wxString_in_helper(obj1
);
24854 if (arg2
== NULL
) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_From_int(static_cast<int >(result
));
24881 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
= NULL
;
24883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24884 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24885 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24886 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24887 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24889 bool temp2
= false ;
24890 bool temp3
= false ;
24891 PyObject
* obj0
= 0 ;
24892 PyObject
* obj1
= 0 ;
24893 PyObject
* obj2
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "format",(char *) "tz", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24900 if (SWIG_arg_fail(1)) SWIG_fail
;
24903 arg2
= wxString_in_helper(obj1
);
24904 if (arg2
== NULL
) SWIG_fail
;
24910 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24933 if (temp3
) delete arg3
;
24942 if (temp3
) delete arg3
;
24948 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
= NULL
;
24950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24959 if (SWIG_arg_fail(1)) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24980 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
= NULL
;
24982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24984 PyObject
* obj0
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24991 if (SWIG_arg_fail(1)) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 result
= ((wxDateTime
const *)arg1
)->FormatTime();
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25012 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
= NULL
;
25014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25016 PyObject
* obj0
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
25022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25023 if (SWIG_arg_fail(1)) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25044 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
= NULL
;
25046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
25054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25055 if (SWIG_arg_fail(1)) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25076 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
25078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25079 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
25081 return Py_BuildValue((char *)"");
25083 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
= NULL
;
25087 PyObject
* obj0
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "sec", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
25094 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25095 if (SWIG_arg_fail(1)) SWIG_fail
;
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= wxTimeSpan::Seconds(arg1
);
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25105 wxTimeSpan
* resultptr
;
25106 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25115 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
= NULL
;
25118 char *kwnames
[] = {
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= wxTimeSpan::Second();
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25131 wxTimeSpan
* resultptr
;
25132 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25141 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25142 PyObject
*resultobj
= NULL
;
25145 PyObject
* obj0
= 0 ;
25146 char *kwnames
[] = {
25147 (char *) "min", NULL
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
25152 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25153 if (SWIG_arg_fail(1)) SWIG_fail
;
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= wxTimeSpan::Minutes(arg1
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25163 wxTimeSpan
* resultptr
;
25164 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25173 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
= NULL
;
25176 char *kwnames
[] = {
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= wxTimeSpan::Minute();
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25189 wxTimeSpan
* resultptr
;
25190 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25199 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
= NULL
;
25203 PyObject
* obj0
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "hours", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
25210 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25211 if (SWIG_arg_fail(1)) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= wxTimeSpan::Hours(arg1
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25221 wxTimeSpan
* resultptr
;
25222 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25231 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
= NULL
;
25234 char *kwnames
[] = {
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= wxTimeSpan::Hour();
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 wxTimeSpan
* resultptr
;
25248 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25257 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
= NULL
;
25261 PyObject
* obj0
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "days", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
25268 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25269 if (SWIG_arg_fail(1)) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= wxTimeSpan::Days(arg1
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25279 wxTimeSpan
* resultptr
;
25280 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25289 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
= NULL
;
25292 char *kwnames
[] = {
25296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= wxTimeSpan::Day();
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25305 wxTimeSpan
* resultptr
;
25306 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25315 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
= NULL
;
25319 PyObject
* obj0
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "days", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25326 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25327 if (SWIG_arg_fail(1)) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= wxTimeSpan::Weeks(arg1
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25337 wxTimeSpan
* resultptr
;
25338 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25347 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
= NULL
;
25350 char *kwnames
[] = {
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 result
= wxTimeSpan::Week();
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25363 wxTimeSpan
* resultptr
;
25364 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25373 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
= NULL
;
25375 long arg1
= (long) 0 ;
25376 long arg2
= (long) 0 ;
25377 long arg3
= (long) 0 ;
25378 long arg4
= (long) 0 ;
25379 wxTimeSpan
*result
;
25380 PyObject
* obj0
= 0 ;
25381 PyObject
* obj1
= 0 ;
25382 PyObject
* obj2
= 0 ;
25383 PyObject
* obj3
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25391 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25392 if (SWIG_arg_fail(1)) SWIG_fail
;
25397 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25398 if (SWIG_arg_fail(2)) SWIG_fail
;
25403 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25404 if (SWIG_arg_fail(3)) SWIG_fail
;
25409 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25410 if (SWIG_arg_fail(4)) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25427 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
= NULL
;
25429 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25430 PyObject
* obj0
= 0 ;
25431 char *kwnames
[] = {
25432 (char *) "self", NULL
25435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25437 if (SWIG_arg_fail(1)) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 Py_INCREF(Py_None
); resultobj
= Py_None
;
25452 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
= NULL
;
25454 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25455 wxTimeSpan
*arg2
= 0 ;
25456 wxTimeSpan
*result
;
25457 PyObject
* obj0
= 0 ;
25458 PyObject
* obj1
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "self",(char *) "diff", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25465 if (SWIG_arg_fail(1)) SWIG_fail
;
25467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25468 if (SWIG_arg_fail(2)) SWIG_fail
;
25469 if (arg2
== NULL
) {
25470 SWIG_null_ref("wxTimeSpan");
25472 if (SWIG_arg_fail(2)) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25478 result
= (wxTimeSpan
*) &_result_ref
;
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25491 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
= NULL
;
25493 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25494 wxTimeSpan
*arg2
= 0 ;
25495 wxTimeSpan
*result
;
25496 PyObject
* obj0
= 0 ;
25497 PyObject
* obj1
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self",(char *) "diff", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25504 if (SWIG_arg_fail(1)) SWIG_fail
;
25506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25507 if (SWIG_arg_fail(2)) SWIG_fail
;
25508 if (arg2
== NULL
) {
25509 SWIG_null_ref("wxTimeSpan");
25511 if (SWIG_arg_fail(2)) SWIG_fail
;
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25517 result
= (wxTimeSpan
*) &_result_ref
;
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25530 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
= NULL
;
25532 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25534 wxTimeSpan
*result
;
25535 PyObject
* obj0
= 0 ;
25536 PyObject
* obj1
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self",(char *) "n", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25543 if (SWIG_arg_fail(1)) SWIG_fail
;
25545 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25546 if (SWIG_arg_fail(2)) SWIG_fail
;
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25552 result
= (wxTimeSpan
*) &_result_ref
;
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25565 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
= NULL
;
25567 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25568 wxTimeSpan
*result
;
25569 PyObject
* obj0
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25576 if (SWIG_arg_fail(1)) SWIG_fail
;
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25581 result
= (wxTimeSpan
*) &_result_ref
;
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25594 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
= NULL
;
25596 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25598 PyObject
* obj0
= 0 ;
25599 char *kwnames
[] = {
25600 (char *) "self", NULL
25603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25605 if (SWIG_arg_fail(1)) SWIG_fail
;
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25614 wxTimeSpan
* resultptr
;
25615 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25624 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
= NULL
;
25626 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25627 wxTimeSpan
*arg2
= 0 ;
25628 wxTimeSpan
*result
;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self",(char *) "diff", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25637 if (SWIG_arg_fail(1)) SWIG_fail
;
25639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25640 if (SWIG_arg_fail(2)) SWIG_fail
;
25641 if (arg2
== NULL
) {
25642 SWIG_null_ref("wxTimeSpan");
25644 if (SWIG_arg_fail(2)) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25650 result
= (wxTimeSpan
*) &_result_ref
;
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25663 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
= NULL
;
25665 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25666 wxTimeSpan
*arg2
= 0 ;
25667 wxTimeSpan
*result
;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 char *kwnames
[] = {
25671 (char *) "self",(char *) "diff", NULL
25674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25676 if (SWIG_arg_fail(1)) SWIG_fail
;
25678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25679 if (SWIG_arg_fail(2)) SWIG_fail
;
25680 if (arg2
== NULL
) {
25681 SWIG_null_ref("wxTimeSpan");
25683 if (SWIG_arg_fail(2)) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25689 result
= (wxTimeSpan
*) &_result_ref
;
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25702 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
= NULL
;
25704 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25706 wxTimeSpan
*result
;
25707 PyObject
* obj0
= 0 ;
25708 PyObject
* obj1
= 0 ;
25709 char *kwnames
[] = {
25710 (char *) "self",(char *) "n", NULL
25713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25715 if (SWIG_arg_fail(1)) SWIG_fail
;
25717 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25718 if (SWIG_arg_fail(2)) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25724 result
= (wxTimeSpan
*) &_result_ref
;
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25737 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
= NULL
;
25739 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25740 wxTimeSpan
*result
;
25741 PyObject
* obj0
= 0 ;
25742 char *kwnames
[] = {
25743 (char *) "self", NULL
25746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25748 if (SWIG_arg_fail(1)) SWIG_fail
;
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25752 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25753 result
= (wxTimeSpan
*) &_result_ref
;
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25766 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
= NULL
;
25768 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25769 wxTimeSpan
*arg2
= 0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self",(char *) "other", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25779 if (SWIG_arg_fail(1)) SWIG_fail
;
25781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25782 if (SWIG_arg_fail(2)) SWIG_fail
;
25783 if (arg2
== NULL
) {
25784 SWIG_null_ref("wxTimeSpan");
25786 if (SWIG_arg_fail(2)) SWIG_fail
;
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25796 wxTimeSpan
* resultptr
;
25797 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25806 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
= NULL
;
25808 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25809 wxTimeSpan
*arg2
= 0 ;
25811 PyObject
* obj0
= 0 ;
25812 PyObject
* obj1
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self",(char *) "other", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25819 if (SWIG_arg_fail(1)) SWIG_fail
;
25821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25822 if (SWIG_arg_fail(2)) SWIG_fail
;
25823 if (arg2
== NULL
) {
25824 SWIG_null_ref("wxTimeSpan");
25826 if (SWIG_arg_fail(2)) SWIG_fail
;
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25836 wxTimeSpan
* resultptr
;
25837 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25846 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
= NULL
;
25848 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25851 PyObject
* obj0
= 0 ;
25852 PyObject
* obj1
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "self",(char *) "n", NULL
25857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25859 if (SWIG_arg_fail(1)) SWIG_fail
;
25861 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25862 if (SWIG_arg_fail(2)) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 result
= wxTimeSpan___mul__(arg1
,arg2
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25872 wxTimeSpan
* resultptr
;
25873 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25882 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
= NULL
;
25884 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self",(char *) "n", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25895 if (SWIG_arg_fail(1)) SWIG_fail
;
25897 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25898 if (SWIG_arg_fail(2)) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25908 wxTimeSpan
* resultptr
;
25909 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25918 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
= NULL
;
25920 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25921 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25923 PyObject
* obj0
= 0 ;
25924 PyObject
* obj1
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self",(char *) "other", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25931 if (SWIG_arg_fail(1)) SWIG_fail
;
25932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(2)) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25950 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
= NULL
;
25952 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25953 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self",(char *) "other", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25963 if (SWIG_arg_fail(1)) SWIG_fail
;
25964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25965 if (SWIG_arg_fail(2)) SWIG_fail
;
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25982 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
= NULL
;
25984 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25985 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25987 PyObject
* obj0
= 0 ;
25988 PyObject
* obj1
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self",(char *) "other", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25995 if (SWIG_arg_fail(1)) SWIG_fail
;
25996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25997 if (SWIG_arg_fail(2)) SWIG_fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26014 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
= NULL
;
26016 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26017 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 char *kwnames
[] = {
26022 (char *) "self",(char *) "other", NULL
26025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
26026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26027 if (SWIG_arg_fail(1)) SWIG_fail
;
26028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26029 if (SWIG_arg_fail(2)) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26046 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
= NULL
;
26048 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26049 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self",(char *) "other", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26059 if (SWIG_arg_fail(1)) SWIG_fail
;
26060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26061 if (SWIG_arg_fail(2)) SWIG_fail
;
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26078 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
= NULL
;
26080 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26081 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 char *kwnames
[] = {
26086 (char *) "self",(char *) "other", NULL
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26091 if (SWIG_arg_fail(1)) SWIG_fail
;
26092 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26093 if (SWIG_arg_fail(2)) SWIG_fail
;
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26110 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
= NULL
;
26112 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26114 PyObject
* obj0
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26121 if (SWIG_arg_fail(1)) SWIG_fail
;
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26138 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
= NULL
;
26140 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 char *kwnames
[] = {
26144 (char *) "self", NULL
26147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
26148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26149 if (SWIG_arg_fail(1)) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26166 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26167 PyObject
*resultobj
= NULL
;
26168 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26170 PyObject
* obj0
= 0 ;
26171 char *kwnames
[] = {
26172 (char *) "self", NULL
26175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26177 if (SWIG_arg_fail(1)) SWIG_fail
;
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26194 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
= NULL
;
26196 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26197 wxTimeSpan
*arg2
= 0 ;
26199 PyObject
* obj0
= 0 ;
26200 PyObject
* obj1
= 0 ;
26201 char *kwnames
[] = {
26202 (char *) "self",(char *) "ts", NULL
26205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26207 if (SWIG_arg_fail(1)) SWIG_fail
;
26209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26210 if (SWIG_arg_fail(2)) SWIG_fail
;
26211 if (arg2
== NULL
) {
26212 SWIG_null_ref("wxTimeSpan");
26214 if (SWIG_arg_fail(2)) SWIG_fail
;
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26232 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
= NULL
;
26234 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26235 wxTimeSpan
*arg2
= 0 ;
26237 PyObject
* obj0
= 0 ;
26238 PyObject
* obj1
= 0 ;
26239 char *kwnames
[] = {
26240 (char *) "self",(char *) "ts", NULL
26243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26245 if (SWIG_arg_fail(1)) SWIG_fail
;
26247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26248 if (SWIG_arg_fail(2)) SWIG_fail
;
26249 if (arg2
== NULL
) {
26250 SWIG_null_ref("wxTimeSpan");
26252 if (SWIG_arg_fail(2)) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26270 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
= NULL
;
26272 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26273 wxTimeSpan
*arg2
= 0 ;
26275 PyObject
* obj0
= 0 ;
26276 PyObject
* obj1
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self",(char *) "t", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26283 if (SWIG_arg_fail(1)) SWIG_fail
;
26285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26286 if (SWIG_arg_fail(2)) SWIG_fail
;
26287 if (arg2
== NULL
) {
26288 SWIG_null_ref("wxTimeSpan");
26290 if (SWIG_arg_fail(2)) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26308 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
= NULL
;
26310 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26312 PyObject
* obj0
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26319 if (SWIG_arg_fail(1)) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= SWIG_From_int(static_cast<int >(result
));
26336 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= NULL
;
26338 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_From_int(static_cast<int >(result
));
26364 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26365 PyObject
*resultobj
= NULL
;
26366 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26368 PyObject
* obj0
= 0 ;
26369 char *kwnames
[] = {
26370 (char *) "self", NULL
26373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26375 if (SWIG_arg_fail(1)) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= SWIG_From_int(static_cast<int >(result
));
26392 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26393 PyObject
*resultobj
= NULL
;
26394 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26396 PyObject
* obj0
= 0 ;
26397 char *kwnames
[] = {
26398 (char *) "self", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26403 if (SWIG_arg_fail(1)) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= SWIG_From_int(static_cast<int >(result
));
26420 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
= NULL
;
26422 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26431 if (SWIG_arg_fail(1)) SWIG_fail
;
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26440 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26441 hi
= PyLong_FromLong( (&result
)->GetHi() );
26442 lo
= PyLong_FromLong( (&result
)->GetLo() );
26443 shifter
= PyLong_FromLong(32);
26444 shifted
= PyNumber_Lshift(hi
, shifter
);
26445 resultobj
= PyNumber_Or(shifted
, lo
);
26448 Py_DECREF(shifter
);
26449 Py_DECREF(shifted
);
26457 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
= NULL
;
26459 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26461 PyObject
* obj0
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26478 hi
= PyLong_FromLong( (&result
)->GetHi() );
26479 lo
= PyLong_FromLong( (&result
)->GetLo() );
26480 shifter
= PyLong_FromLong(32);
26481 shifted
= PyNumber_Lshift(hi
, shifter
);
26482 resultobj
= PyNumber_Or(shifted
, lo
);
26485 Py_DECREF(shifter
);
26486 Py_DECREF(shifted
);
26494 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
= NULL
;
26496 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26497 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26498 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26500 bool temp2
= false ;
26501 PyObject
* obj0
= 0 ;
26502 PyObject
* obj1
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self",(char *) "format", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26509 if (SWIG_arg_fail(1)) SWIG_fail
;
26512 arg2
= wxString_in_helper(obj1
);
26513 if (arg2
== NULL
) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26545 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26548 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26550 return Py_BuildValue((char *)"");
26552 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
= NULL
;
26554 int arg1
= (int) 0 ;
26555 int arg2
= (int) 0 ;
26556 int arg3
= (int) 0 ;
26557 int arg4
= (int) 0 ;
26558 wxDateSpan
*result
;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 PyObject
* obj2
= 0 ;
26562 PyObject
* obj3
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26570 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26571 if (SWIG_arg_fail(1)) SWIG_fail
;
26576 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26577 if (SWIG_arg_fail(2)) SWIG_fail
;
26582 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26583 if (SWIG_arg_fail(3)) SWIG_fail
;
26588 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26589 if (SWIG_arg_fail(4)) SWIG_fail
;
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26606 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
= NULL
;
26608 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26609 PyObject
* obj0
= 0 ;
26610 char *kwnames
[] = {
26611 (char *) "self", NULL
26614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26616 if (SWIG_arg_fail(1)) SWIG_fail
;
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 Py_INCREF(Py_None
); resultobj
= Py_None
;
26631 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
= NULL
;
26635 PyObject
* obj0
= 0 ;
26636 char *kwnames
[] = {
26637 (char *) "days", NULL
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
26642 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26643 if (SWIG_arg_fail(1)) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 result
= wxDateSpan::Days(arg1
);
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26653 wxDateSpan
* resultptr
;
26654 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26663 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
= NULL
;
26666 char *kwnames
[] = {
26670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 result
= wxDateSpan::Day();
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26679 wxDateSpan
* resultptr
;
26680 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26689 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
= NULL
;
26693 PyObject
* obj0
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "weeks", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
26700 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26701 if (SWIG_arg_fail(1)) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 result
= wxDateSpan::Weeks(arg1
);
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26711 wxDateSpan
* resultptr
;
26712 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26721 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
= NULL
;
26724 char *kwnames
[] = {
26728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 result
= wxDateSpan::Week();
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26737 wxDateSpan
* resultptr
;
26738 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26747 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
= NULL
;
26751 PyObject
* obj0
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "mon", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
26758 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26759 if (SWIG_arg_fail(1)) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= wxDateSpan::Months(arg1
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26769 wxDateSpan
* resultptr
;
26770 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26779 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
= NULL
;
26782 char *kwnames
[] = {
26786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= wxDateSpan::Month();
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26795 wxDateSpan
* resultptr
;
26796 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26805 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26806 PyObject
*resultobj
= NULL
;
26809 PyObject
* obj0
= 0 ;
26810 char *kwnames
[] = {
26811 (char *) "years", NULL
26814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26816 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26817 if (SWIG_arg_fail(1)) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= wxDateSpan::Years(arg1
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26827 wxDateSpan
* resultptr
;
26828 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26837 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26838 PyObject
*resultobj
= NULL
;
26840 char *kwnames
[] = {
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= wxDateSpan::Year();
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26853 wxDateSpan
* resultptr
;
26854 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26863 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
= NULL
;
26865 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26867 wxDateSpan
*result
;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "n", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26876 if (SWIG_arg_fail(1)) SWIG_fail
;
26878 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26879 if (SWIG_arg_fail(2)) SWIG_fail
;
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26884 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26885 result
= (wxDateSpan
*) &_result_ref
;
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26898 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
= NULL
;
26900 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26902 wxDateSpan
*result
;
26903 PyObject
* obj0
= 0 ;
26904 PyObject
* obj1
= 0 ;
26905 char *kwnames
[] = {
26906 (char *) "self",(char *) "n", NULL
26909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26911 if (SWIG_arg_fail(1)) SWIG_fail
;
26913 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26914 if (SWIG_arg_fail(2)) SWIG_fail
;
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26920 result
= (wxDateSpan
*) &_result_ref
;
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26933 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
= NULL
;
26935 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26937 wxDateSpan
*result
;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "self",(char *) "n", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26946 if (SWIG_arg_fail(1)) SWIG_fail
;
26948 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26949 if (SWIG_arg_fail(2)) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26955 result
= (wxDateSpan
*) &_result_ref
;
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26968 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
= NULL
;
26970 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26972 wxDateSpan
*result
;
26973 PyObject
* obj0
= 0 ;
26974 PyObject
* obj1
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self",(char *) "n", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26981 if (SWIG_arg_fail(1)) SWIG_fail
;
26983 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26984 if (SWIG_arg_fail(2)) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26990 result
= (wxDateSpan
*) &_result_ref
;
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27003 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
= NULL
;
27005 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27007 PyObject
* obj0
= 0 ;
27008 char *kwnames
[] = {
27009 (char *) "self", NULL
27012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
27013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27014 if (SWIG_arg_fail(1)) SWIG_fail
;
27016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27017 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
27019 wxPyEndAllowThreads(__tstate
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27023 resultobj
= SWIG_From_int(static_cast<int >(result
));
27031 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
= NULL
;
27033 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27035 PyObject
* obj0
= 0 ;
27036 char *kwnames
[] = {
27037 (char *) "self", NULL
27040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
27041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27042 if (SWIG_arg_fail(1)) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= SWIG_From_int(static_cast<int >(result
));
27059 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
= NULL
;
27061 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 char *kwnames
[] = {
27065 (char *) "self", NULL
27068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
27069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27070 if (SWIG_arg_fail(1)) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= SWIG_From_int(static_cast<int >(result
));
27087 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27088 PyObject
*resultobj
= NULL
;
27089 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27091 PyObject
* obj0
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
27097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27098 if (SWIG_arg_fail(1)) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= SWIG_From_int(static_cast<int >(result
));
27115 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
= NULL
;
27117 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27126 if (SWIG_arg_fail(1)) SWIG_fail
;
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_From_int(static_cast<int >(result
));
27143 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
= NULL
;
27145 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27146 wxDateSpan
*arg2
= 0 ;
27147 wxDateSpan
*result
;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "other", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27156 if (SWIG_arg_fail(1)) SWIG_fail
;
27158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27159 if (SWIG_arg_fail(2)) SWIG_fail
;
27160 if (arg2
== NULL
) {
27161 SWIG_null_ref("wxDateSpan");
27163 if (SWIG_arg_fail(2)) SWIG_fail
;
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27169 result
= (wxDateSpan
*) &_result_ref
;
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27182 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
= NULL
;
27184 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27185 wxDateSpan
*arg2
= 0 ;
27186 wxDateSpan
*result
;
27187 PyObject
* obj0
= 0 ;
27188 PyObject
* obj1
= 0 ;
27189 char *kwnames
[] = {
27190 (char *) "self",(char *) "other", NULL
27193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27195 if (SWIG_arg_fail(1)) SWIG_fail
;
27197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27198 if (SWIG_arg_fail(2)) SWIG_fail
;
27199 if (arg2
== NULL
) {
27200 SWIG_null_ref("wxDateSpan");
27202 if (SWIG_arg_fail(2)) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27208 result
= (wxDateSpan
*) &_result_ref
;
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27221 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
= NULL
;
27223 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27224 wxDateSpan
*result
;
27225 PyObject
* obj0
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27232 if (SWIG_arg_fail(1)) SWIG_fail
;
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27237 result
= (wxDateSpan
*) &_result_ref
;
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27250 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
= NULL
;
27252 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27254 wxDateSpan
*result
;
27255 PyObject
* obj0
= 0 ;
27256 PyObject
* obj1
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self",(char *) "factor", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27263 if (SWIG_arg_fail(1)) SWIG_fail
;
27265 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27266 if (SWIG_arg_fail(2)) SWIG_fail
;
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27272 result
= (wxDateSpan
*) &_result_ref
;
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27285 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
= NULL
;
27287 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27288 wxDateSpan
*arg2
= 0 ;
27289 wxDateSpan
*result
;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj1
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "other", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27298 if (SWIG_arg_fail(1)) SWIG_fail
;
27300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27301 if (SWIG_arg_fail(2)) SWIG_fail
;
27302 if (arg2
== NULL
) {
27303 SWIG_null_ref("wxDateSpan");
27305 if (SWIG_arg_fail(2)) SWIG_fail
;
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27311 result
= (wxDateSpan
*) &_result_ref
;
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27324 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
= NULL
;
27326 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27327 wxDateSpan
*arg2
= 0 ;
27328 wxDateSpan
*result
;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self",(char *) "other", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27337 if (SWIG_arg_fail(1)) SWIG_fail
;
27339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27340 if (SWIG_arg_fail(2)) SWIG_fail
;
27341 if (arg2
== NULL
) {
27342 SWIG_null_ref("wxDateSpan");
27344 if (SWIG_arg_fail(2)) SWIG_fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27350 result
= (wxDateSpan
*) &_result_ref
;
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27363 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
= NULL
;
27365 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27366 wxDateSpan
*result
;
27367 PyObject
* obj0
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27374 if (SWIG_arg_fail(1)) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27379 result
= (wxDateSpan
*) &_result_ref
;
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27392 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
= NULL
;
27394 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27396 wxDateSpan
*result
;
27397 PyObject
* obj0
= 0 ;
27398 PyObject
* obj1
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self",(char *) "factor", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27405 if (SWIG_arg_fail(1)) SWIG_fail
;
27407 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27408 if (SWIG_arg_fail(2)) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27414 result
= (wxDateSpan
*) &_result_ref
;
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27427 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
= NULL
;
27429 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27430 wxDateSpan
*arg2
= 0 ;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 char *kwnames
[] = {
27435 (char *) "self",(char *) "other", NULL
27438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27440 if (SWIG_arg_fail(1)) SWIG_fail
;
27442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27443 if (SWIG_arg_fail(2)) SWIG_fail
;
27444 if (arg2
== NULL
) {
27445 SWIG_null_ref("wxDateSpan");
27447 if (SWIG_arg_fail(2)) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 wxDateSpan
* resultptr
;
27458 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27467 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27468 PyObject
*resultobj
= NULL
;
27469 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27470 wxDateSpan
*arg2
= 0 ;
27472 PyObject
* obj0
= 0 ;
27473 PyObject
* obj1
= 0 ;
27474 char *kwnames
[] = {
27475 (char *) "self",(char *) "other", NULL
27478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27480 if (SWIG_arg_fail(1)) SWIG_fail
;
27482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27483 if (SWIG_arg_fail(2)) SWIG_fail
;
27484 if (arg2
== NULL
) {
27485 SWIG_null_ref("wxDateSpan");
27487 if (SWIG_arg_fail(2)) SWIG_fail
;
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27497 wxDateSpan
* resultptr
;
27498 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27507 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27508 PyObject
*resultobj
= NULL
;
27509 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27512 PyObject
* obj0
= 0 ;
27513 PyObject
* obj1
= 0 ;
27514 char *kwnames
[] = {
27515 (char *) "self",(char *) "n", NULL
27518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27520 if (SWIG_arg_fail(1)) SWIG_fail
;
27522 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27523 if (SWIG_arg_fail(2)) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= wxDateSpan___mul__(arg1
,arg2
);
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27533 wxDateSpan
* resultptr
;
27534 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27543 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
= NULL
;
27545 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27548 PyObject
* obj0
= 0 ;
27549 PyObject
* obj1
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self",(char *) "n", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27556 if (SWIG_arg_fail(1)) SWIG_fail
;
27558 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27559 if (SWIG_arg_fail(2)) SWIG_fail
;
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 result
= wxDateSpan___rmul__(arg1
,arg2
);
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27569 wxDateSpan
* resultptr
;
27570 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27579 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
= NULL
;
27581 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27582 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27584 PyObject
* obj0
= 0 ;
27585 PyObject
* obj1
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self",(char *) "other", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27592 if (SWIG_arg_fail(1)) SWIG_fail
;
27593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27594 if (SWIG_arg_fail(2)) SWIG_fail
;
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27611 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
= NULL
;
27613 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27614 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27616 PyObject
* obj0
= 0 ;
27617 PyObject
* obj1
= 0 ;
27618 char *kwnames
[] = {
27619 (char *) "self",(char *) "other", NULL
27622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27624 if (SWIG_arg_fail(1)) SWIG_fail
;
27625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27626 if (SWIG_arg_fail(2)) SWIG_fail
;
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27643 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27646 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27648 return Py_BuildValue((char *)"");
27650 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
= NULL
;
27653 char *kwnames
[] = {
27657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 result
= (long)wxGetLocalTime();
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= SWIG_From_long(static_cast<long >(result
));
27674 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
= NULL
;
27677 char *kwnames
[] = {
27681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 result
= (long)wxGetUTCTime();
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27690 resultobj
= SWIG_From_long(static_cast<long >(result
));
27698 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
= NULL
;
27701 char *kwnames
[] = {
27705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 result
= (long)wxGetCurrentTime();
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_From_long(static_cast<long >(result
));
27722 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
= NULL
;
27725 char *kwnames
[] = {
27729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27732 result
= wxGetLocalTimeMillis();
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27738 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27739 hi
= PyLong_FromLong( (&result
)->GetHi() );
27740 lo
= PyLong_FromLong( (&result
)->GetLo() );
27741 shifter
= PyLong_FromLong(32);
27742 shifted
= PyNumber_Lshift(hi
, shifter
);
27743 resultobj
= PyNumber_Or(shifted
, lo
);
27746 Py_DECREF(shifter
);
27747 Py_DECREF(shifted
);
27755 static int _wrap_DefaultDateTime_set(PyObject
*) {
27756 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27761 static PyObject
*_wrap_DefaultDateTime_get(void) {
27762 PyObject
*pyobj
= NULL
;
27764 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27769 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
= NULL
;
27771 wxDataFormatId arg1
;
27772 wxDataFormat
*result
;
27773 PyObject
* obj0
= 0 ;
27774 char *kwnames
[] = {
27775 (char *) "type", NULL
27778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27780 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27781 if (SWIG_arg_fail(1)) SWIG_fail
;
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27797 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27798 PyObject
*resultobj
= NULL
;
27799 wxString
*arg1
= 0 ;
27800 wxDataFormat
*result
;
27801 bool temp1
= false ;
27802 PyObject
* obj0
= 0 ;
27803 char *kwnames
[] = {
27804 (char *) "format", NULL
27807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27809 arg1
= wxString_in_helper(obj0
);
27810 if (arg1
== NULL
) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27835 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27836 PyObject
*resultobj
= NULL
;
27837 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27838 PyObject
* obj0
= 0 ;
27839 char *kwnames
[] = {
27840 (char *) "self", NULL
27843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27845 if (SWIG_arg_fail(1)) SWIG_fail
;
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 Py_INCREF(Py_None
); resultobj
= Py_None
;
27860 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27861 PyObject
*resultobj
= NULL
;
27862 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27863 wxDataFormatId arg2
;
27865 PyObject
* obj0
= 0 ;
27866 PyObject
* obj1
= 0 ;
27868 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27870 if (SWIG_arg_fail(1)) SWIG_fail
;
27872 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27873 if (SWIG_arg_fail(2)) SWIG_fail
;
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27879 wxPyEndAllowThreads(__tstate
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27891 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27892 PyObject
*resultobj
= NULL
;
27893 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27894 wxDataFormatId arg2
;
27896 PyObject
* obj0
= 0 ;
27897 PyObject
* obj1
= 0 ;
27899 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27901 if (SWIG_arg_fail(1)) SWIG_fail
;
27903 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27904 if (SWIG_arg_fail(2)) SWIG_fail
;
27907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27908 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27922 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27923 PyObject
*resultobj
= NULL
;
27924 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27925 wxDataFormat
*arg2
= 0 ;
27927 PyObject
* obj0
= 0 ;
27928 PyObject
* obj1
= 0 ;
27930 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27932 if (SWIG_arg_fail(1)) SWIG_fail
;
27934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27935 if (SWIG_arg_fail(2)) SWIG_fail
;
27936 if (arg2
== NULL
) {
27937 SWIG_null_ref("wxDataFormat");
27939 if (SWIG_arg_fail(2)) SWIG_fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27957 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27962 argc
= PyObject_Length(args
);
27963 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27964 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27970 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27980 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27988 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
27996 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28004 _v
= SWIG_Check_int(argv
[1]);
28006 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
28011 Py_INCREF(Py_NotImplemented
);
28012 return Py_NotImplemented
;
28016 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
28017 PyObject
*resultobj
= NULL
;
28018 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28019 wxDataFormat
*arg2
= 0 ;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28024 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
28025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28026 if (SWIG_arg_fail(1)) SWIG_fail
;
28028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28029 if (SWIG_arg_fail(2)) SWIG_fail
;
28030 if (arg2
== NULL
) {
28031 SWIG_null_ref("wxDataFormat");
28033 if (SWIG_arg_fail(2)) SWIG_fail
;
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28051 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
28056 argc
= PyObject_Length(args
);
28057 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
28058 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28064 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28074 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28082 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
28090 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28098 _v
= SWIG_Check_int(argv
[1]);
28100 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
28105 Py_INCREF(Py_NotImplemented
);
28106 return Py_NotImplemented
;
28110 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28111 PyObject
*resultobj
= NULL
;
28112 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28113 wxDataFormatId arg2
;
28114 PyObject
* obj0
= 0 ;
28115 PyObject
* obj1
= 0 ;
28116 char *kwnames
[] = {
28117 (char *) "self",(char *) "format", NULL
28120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28122 if (SWIG_arg_fail(1)) SWIG_fail
;
28124 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28125 if (SWIG_arg_fail(2)) SWIG_fail
;
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 (arg1
)->SetType(arg2
);
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28134 Py_INCREF(Py_None
); resultobj
= Py_None
;
28141 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
= NULL
;
28143 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28144 wxDataFormatId result
;
28145 PyObject
* obj0
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28152 if (SWIG_arg_fail(1)) SWIG_fail
;
28154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28155 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28157 wxPyEndAllowThreads(__tstate
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28160 resultobj
= SWIG_From_int((result
));
28167 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
= NULL
;
28169 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28171 PyObject
* obj0
= 0 ;
28172 char *kwnames
[] = {
28173 (char *) "self", NULL
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28178 if (SWIG_arg_fail(1)) SWIG_fail
;
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 result
= ((wxDataFormat
const *)arg1
)->GetId();
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28199 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28200 PyObject
*resultobj
= NULL
;
28201 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28202 wxString
*arg2
= 0 ;
28203 bool temp2
= false ;
28204 PyObject
* obj0
= 0 ;
28205 PyObject
* obj1
= 0 ;
28206 char *kwnames
[] = {
28207 (char *) "self",(char *) "format", NULL
28210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28212 if (SWIG_arg_fail(1)) SWIG_fail
;
28214 arg2
= wxString_in_helper(obj1
);
28215 if (arg2
== NULL
) SWIG_fail
;
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 (arg1
)->SetId((wxString
const &)*arg2
);
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28225 Py_INCREF(Py_None
); resultobj
= Py_None
;
28240 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28243 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28245 return Py_BuildValue((char *)"");
28247 static int _wrap_FormatInvalid_set(PyObject
*) {
28248 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28253 static PyObject
*_wrap_FormatInvalid_get(void) {
28254 PyObject
*pyobj
= NULL
;
28256 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28261 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
= NULL
;
28263 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28264 PyObject
* obj0
= 0 ;
28265 char *kwnames
[] = {
28266 (char *) "self", NULL
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28271 if (SWIG_arg_fail(1)) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28279 Py_INCREF(Py_None
); resultobj
= Py_None
;
28286 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
= NULL
;
28288 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28289 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28290 SwigValueWrapper
<wxDataFormat
> result
;
28291 PyObject
* obj0
= 0 ;
28292 PyObject
* obj1
= 0 ;
28293 char *kwnames
[] = {
28294 (char *) "self",(char *) "dir", NULL
28297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28299 if (SWIG_arg_fail(1)) SWIG_fail
;
28302 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28303 if (SWIG_arg_fail(2)) SWIG_fail
;
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28314 wxDataFormat
* resultptr
;
28315 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28324 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
= NULL
;
28326 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28327 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self",(char *) "dir", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28337 if (SWIG_arg_fail(1)) SWIG_fail
;
28340 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28341 if (SWIG_arg_fail(2)) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28352 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28360 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
= NULL
;
28362 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28363 wxDataFormat
*arg2
= 0 ;
28364 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28366 PyObject
* obj0
= 0 ;
28367 PyObject
* obj1
= 0 ;
28368 PyObject
* obj2
= 0 ;
28369 char *kwnames
[] = {
28370 (char *) "self",(char *) "format",(char *) "dir", NULL
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28375 if (SWIG_arg_fail(1)) SWIG_fail
;
28377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28378 if (SWIG_arg_fail(2)) SWIG_fail
;
28379 if (arg2
== NULL
) {
28380 SWIG_null_ref("wxDataFormat");
28382 if (SWIG_arg_fail(2)) SWIG_fail
;
28386 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28387 if (SWIG_arg_fail(3)) SWIG_fail
;
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28406 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
= NULL
;
28408 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28409 wxDataFormat
*arg2
= 0 ;
28411 PyObject
* obj0
= 0 ;
28412 PyObject
* obj1
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "self",(char *) "format", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28419 if (SWIG_arg_fail(1)) SWIG_fail
;
28421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28422 if (SWIG_arg_fail(2)) SWIG_fail
;
28423 if (arg2
== NULL
) {
28424 SWIG_null_ref("wxDataFormat");
28426 if (SWIG_arg_fail(2)) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28444 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
= NULL
;
28446 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28447 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28449 PyObject
* obj0
= 0 ;
28450 PyObject
* obj1
= 0 ;
28451 char *kwnames
[] = {
28452 (char *) "self",(char *) "dir", NULL
28455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28457 if (SWIG_arg_fail(1)) SWIG_fail
;
28460 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28461 if (SWIG_arg_fail(2)) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= result
;
28478 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
= NULL
;
28480 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28481 wxDataFormat
*arg2
= 0 ;
28483 PyObject
* obj0
= 0 ;
28484 PyObject
* obj1
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self",(char *) "format", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28491 if (SWIG_arg_fail(1)) SWIG_fail
;
28493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28494 if (SWIG_arg_fail(2)) SWIG_fail
;
28495 if (arg2
== NULL
) {
28496 SWIG_null_ref("wxDataFormat");
28498 if (SWIG_arg_fail(2)) SWIG_fail
;
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= result
;
28514 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28515 PyObject
*resultobj
= NULL
;
28516 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28517 wxDataFormat
*arg2
= 0 ;
28518 PyObject
*arg3
= (PyObject
*) 0 ;
28520 PyObject
* obj0
= 0 ;
28521 PyObject
* obj1
= 0 ;
28522 PyObject
* obj2
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "self",(char *) "format",(char *) "data", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28529 if (SWIG_arg_fail(1)) SWIG_fail
;
28531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28532 if (SWIG_arg_fail(2)) SWIG_fail
;
28533 if (arg2
== NULL
) {
28534 SWIG_null_ref("wxDataFormat");
28536 if (SWIG_arg_fail(2)) SWIG_fail
;
28540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28541 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28555 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28558 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28560 return Py_BuildValue((char *)"");
28562 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
= NULL
;
28564 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28565 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28566 wxDataObjectSimple
*result
;
28567 PyObject
* obj0
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "format", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28576 if (SWIG_arg_fail(1)) SWIG_fail
;
28577 if (arg1
== NULL
) {
28578 SWIG_null_ref("wxDataFormat");
28580 if (SWIG_arg_fail(1)) SWIG_fail
;
28584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28597 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
= NULL
;
28599 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28600 wxDataFormat
*result
;
28601 PyObject
* obj0
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "self", NULL
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28608 if (SWIG_arg_fail(1)) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28613 result
= (wxDataFormat
*) &_result_ref
;
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28626 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
= NULL
;
28628 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28629 wxDataFormat
*arg2
= 0 ;
28630 PyObject
* obj0
= 0 ;
28631 PyObject
* obj1
= 0 ;
28632 char *kwnames
[] = {
28633 (char *) "self",(char *) "format", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28638 if (SWIG_arg_fail(1)) SWIG_fail
;
28640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28641 if (SWIG_arg_fail(2)) SWIG_fail
;
28642 if (arg2
== NULL
) {
28643 SWIG_null_ref("wxDataFormat");
28645 if (SWIG_arg_fail(2)) SWIG_fail
;
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28654 Py_INCREF(Py_None
); resultobj
= Py_None
;
28661 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28662 PyObject
*resultobj
= NULL
;
28663 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28665 PyObject
* obj0
= 0 ;
28666 char *kwnames
[] = {
28667 (char *) "self", NULL
28670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28672 if (SWIG_arg_fail(1)) SWIG_fail
;
28674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28675 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28677 wxPyEndAllowThreads(__tstate
);
28678 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28689 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28690 PyObject
*resultobj
= NULL
;
28691 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28693 PyObject
* obj0
= 0 ;
28694 char *kwnames
[] = {
28695 (char *) "self", NULL
28698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28700 if (SWIG_arg_fail(1)) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= result
;
28715 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
= NULL
;
28717 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28718 PyObject
*arg2
= (PyObject
*) 0 ;
28720 PyObject
* obj0
= 0 ;
28721 PyObject
* obj1
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "self",(char *) "data", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28728 if (SWIG_arg_fail(1)) SWIG_fail
;
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28746 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28749 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28751 return Py_BuildValue((char *)"");
28753 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28754 PyObject
*resultobj
= NULL
;
28755 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28756 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28757 wxPyDataObjectSimple
*result
;
28758 PyObject
* obj0
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "format", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28767 if (SWIG_arg_fail(1)) SWIG_fail
;
28768 if (arg1
== NULL
) {
28769 SWIG_null_ref("wxDataFormat");
28771 if (SWIG_arg_fail(1)) SWIG_fail
;
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28788 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28789 PyObject
*resultobj
= NULL
;
28790 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28791 PyObject
*arg2
= (PyObject
*) 0 ;
28792 PyObject
*arg3
= (PyObject
*) 0 ;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 PyObject
* obj2
= 0 ;
28796 char *kwnames
[] = {
28797 (char *) "self",(char *) "self",(char *) "_class", NULL
28800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28802 if (SWIG_arg_fail(1)) SWIG_fail
;
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 Py_INCREF(Py_None
); resultobj
= Py_None
;
28819 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28822 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28824 return Py_BuildValue((char *)"");
28826 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
= NULL
;
28828 wxDataObjectComposite
*result
;
28829 char *kwnames
[] = {
28833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28836 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28848 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
= NULL
;
28850 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28851 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28852 bool arg3
= (bool) false ;
28853 PyObject
* obj0
= 0 ;
28854 PyObject
* obj1
= 0 ;
28855 PyObject
* obj2
= 0 ;
28856 char *kwnames
[] = {
28857 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28862 if (SWIG_arg_fail(1)) SWIG_fail
;
28863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28864 if (SWIG_arg_fail(2)) SWIG_fail
;
28867 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28868 if (SWIG_arg_fail(3)) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 (arg1
)->Add(arg2
,arg3
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 Py_INCREF(Py_None
); resultobj
= Py_None
;
28885 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28888 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28890 return Py_BuildValue((char *)"");
28892 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
= NULL
;
28894 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28895 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28896 wxTextDataObject
*result
;
28897 bool temp1
= false ;
28898 PyObject
* obj0
= 0 ;
28899 char *kwnames
[] = {
28900 (char *) "text", NULL
28903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28906 arg1
= wxString_in_helper(obj0
);
28907 if (arg1
== NULL
) SWIG_fail
;
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28913 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28933 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28934 PyObject
*resultobj
= NULL
;
28935 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28937 PyObject
* obj0
= 0 ;
28938 char *kwnames
[] = {
28939 (char *) "self", NULL
28942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28944 if (SWIG_arg_fail(1)) SWIG_fail
;
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= (size_t)(arg1
)->GetTextLength();
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28961 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
= NULL
;
28963 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28965 PyObject
* obj0
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28972 if (SWIG_arg_fail(1)) SWIG_fail
;
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 result
= (arg1
)->GetText();
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28993 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
= NULL
;
28995 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28996 wxString
*arg2
= 0 ;
28997 bool temp2
= false ;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self",(char *) "text", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
29005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29006 if (SWIG_arg_fail(1)) SWIG_fail
;
29008 arg2
= wxString_in_helper(obj1
);
29009 if (arg2
== NULL
) SWIG_fail
;
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 (arg1
)->SetText((wxString
const &)*arg2
);
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29019 Py_INCREF(Py_None
); resultobj
= Py_None
;
29034 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29037 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
29039 return Py_BuildValue((char *)"");
29041 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
= NULL
;
29043 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29044 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29045 wxPyTextDataObject
*result
;
29046 bool temp1
= false ;
29047 PyObject
* obj0
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "text", NULL
29052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
29055 arg1
= wxString_in_helper(obj0
);
29056 if (arg1
== NULL
) SWIG_fail
;
29061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29062 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
29064 wxPyEndAllowThreads(__tstate
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
29082 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
= NULL
;
29084 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
29085 PyObject
*arg2
= (PyObject
*) 0 ;
29086 PyObject
*arg3
= (PyObject
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 PyObject
* obj2
= 0 ;
29090 char *kwnames
[] = {
29091 (char *) "self",(char *) "self",(char *) "_class", NULL
29094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29096 if (SWIG_arg_fail(1)) SWIG_fail
;
29100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29101 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 Py_INCREF(Py_None
); resultobj
= Py_None
;
29113 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29116 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29118 return Py_BuildValue((char *)"");
29120 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
= NULL
;
29122 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29123 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29124 wxBitmapDataObject
*result
;
29125 PyObject
* obj0
= 0 ;
29126 char *kwnames
[] = {
29127 (char *) "bitmap", NULL
29130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail
;
29135 if (arg1
== NULL
) {
29136 SWIG_null_ref("wxBitmap");
29138 if (SWIG_arg_fail(1)) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29155 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
= NULL
;
29157 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 char *kwnames
[] = {
29161 (char *) "self", NULL
29164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29166 if (SWIG_arg_fail(1)) SWIG_fail
;
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29175 wxBitmap
* resultptr
;
29176 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29185 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29186 PyObject
*resultobj
= NULL
;
29187 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29188 wxBitmap
*arg2
= 0 ;
29189 PyObject
* obj0
= 0 ;
29190 PyObject
* obj1
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self",(char *) "bitmap", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29197 if (SWIG_arg_fail(1)) SWIG_fail
;
29199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29200 if (SWIG_arg_fail(2)) SWIG_fail
;
29201 if (arg2
== NULL
) {
29202 SWIG_null_ref("wxBitmap");
29204 if (SWIG_arg_fail(2)) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29213 Py_INCREF(Py_None
); resultobj
= Py_None
;
29220 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29223 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29225 return Py_BuildValue((char *)"");
29227 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29228 PyObject
*resultobj
= NULL
;
29229 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29230 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29231 wxPyBitmapDataObject
*result
;
29232 PyObject
* obj0
= 0 ;
29233 char *kwnames
[] = {
29234 (char *) "bitmap", NULL
29237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29241 if (SWIG_arg_fail(1)) SWIG_fail
;
29242 if (arg1
== NULL
) {
29243 SWIG_null_ref("wxBitmap");
29245 if (SWIG_arg_fail(1)) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29262 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
= NULL
;
29264 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29265 PyObject
*arg2
= (PyObject
*) 0 ;
29266 PyObject
*arg3
= (PyObject
*) 0 ;
29267 PyObject
* obj0
= 0 ;
29268 PyObject
* obj1
= 0 ;
29269 PyObject
* obj2
= 0 ;
29270 char *kwnames
[] = {
29271 (char *) "self",(char *) "self",(char *) "_class", NULL
29274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29276 if (SWIG_arg_fail(1)) SWIG_fail
;
29280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29281 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29283 wxPyEndAllowThreads(__tstate
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29286 Py_INCREF(Py_None
); resultobj
= Py_None
;
29293 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29296 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29298 return Py_BuildValue((char *)"");
29300 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29301 PyObject
*resultobj
= NULL
;
29302 wxFileDataObject
*result
;
29303 char *kwnames
[] = {
29307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= (wxFileDataObject
*)new wxFileDataObject();
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29322 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
= NULL
;
29324 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29325 wxArrayString
*result
;
29326 PyObject
* obj0
= 0 ;
29327 char *kwnames
[] = {
29328 (char *) "self", NULL
29331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29333 if (SWIG_arg_fail(1)) SWIG_fail
;
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29337 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29338 result
= (wxArrayString
*) &_result_ref
;
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29345 resultobj
= wxArrayString2PyList_helper(*result
);
29353 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29354 PyObject
*resultobj
= NULL
;
29355 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29356 wxString
*arg2
= 0 ;
29357 bool temp2
= false ;
29358 PyObject
* obj0
= 0 ;
29359 PyObject
* obj1
= 0 ;
29360 char *kwnames
[] = {
29361 (char *) "self",(char *) "filename", NULL
29364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29366 if (SWIG_arg_fail(1)) SWIG_fail
;
29368 arg2
= wxString_in_helper(obj1
);
29369 if (arg2
== NULL
) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 (arg1
)->AddFile((wxString
const &)*arg2
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29379 Py_INCREF(Py_None
); resultobj
= Py_None
;
29394 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29397 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29399 return Py_BuildValue((char *)"");
29401 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29402 PyObject
*resultobj
= NULL
;
29403 wxDataFormat
*arg1
= 0 ;
29404 wxCustomDataObject
*result
;
29405 PyObject
* obj0
= 0 ;
29407 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29410 if (SWIG_arg_fail(1)) SWIG_fail
;
29411 if (arg1
== NULL
) {
29412 SWIG_null_ref("wxDataFormat");
29414 if (SWIG_arg_fail(1)) SWIG_fail
;
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29430 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29431 PyObject
*resultobj
= NULL
;
29432 wxString
*arg1
= 0 ;
29433 wxCustomDataObject
*result
;
29434 bool temp1
= false ;
29435 PyObject
* obj0
= 0 ;
29437 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29439 arg1
= wxString_in_helper(obj0
);
29440 if (arg1
== NULL
) SWIG_fail
;
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29447 wxPyEndAllowThreads(__tstate
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29465 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29466 PyObject
*resultobj
= NULL
;
29467 wxCustomDataObject
*result
;
29469 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29472 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29484 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29489 argc
= PyObject_Length(args
);
29490 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29491 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29494 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29499 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29502 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29509 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29517 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29521 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29526 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
= NULL
;
29528 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29529 PyObject
*arg2
= (PyObject
*) 0 ;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 char *kwnames
[] = {
29534 (char *) "self",(char *) "data", NULL
29537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29539 if (SWIG_arg_fail(1)) SWIG_fail
;
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29557 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29558 PyObject
*resultobj
= NULL
;
29559 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29561 PyObject
* obj0
= 0 ;
29562 char *kwnames
[] = {
29563 (char *) "self", NULL
29566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29568 if (SWIG_arg_fail(1)) SWIG_fail
;
29570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29571 result
= (size_t)(arg1
)->GetSize();
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29585 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29586 PyObject
*resultobj
= NULL
;
29587 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29589 PyObject
* obj0
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail
;
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= result
;
29611 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29614 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29616 return Py_BuildValue((char *)"");
29618 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
= NULL
;
29620 wxURLDataObject
*result
;
29621 char *kwnames
[] = {
29625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= (wxURLDataObject
*)new wxURLDataObject();
29630 wxPyEndAllowThreads(__tstate
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29640 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29641 PyObject
*resultobj
= NULL
;
29642 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29644 PyObject
* obj0
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "self", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29651 if (SWIG_arg_fail(1)) SWIG_fail
;
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 result
= (arg1
)->GetURL();
29656 wxPyEndAllowThreads(__tstate
);
29657 if (PyErr_Occurred()) SWIG_fail
;
29661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29672 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
= NULL
;
29674 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29675 wxString
*arg2
= 0 ;
29676 bool temp2
= false ;
29677 PyObject
* obj0
= 0 ;
29678 PyObject
* obj1
= 0 ;
29679 char *kwnames
[] = {
29680 (char *) "self",(char *) "url", NULL
29683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29685 if (SWIG_arg_fail(1)) SWIG_fail
;
29687 arg2
= wxString_in_helper(obj1
);
29688 if (arg2
== NULL
) SWIG_fail
;
29692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29693 (arg1
)->SetURL((wxString
const &)*arg2
);
29695 wxPyEndAllowThreads(__tstate
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29698 Py_INCREF(Py_None
); resultobj
= Py_None
;
29713 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29716 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29718 return Py_BuildValue((char *)"");
29720 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29721 PyObject
*resultobj
= NULL
;
29722 wxMetafileDataObject
*result
;
29723 char *kwnames
[] = {
29727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29742 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
= NULL
;
29744 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29745 wxMetafile
*arg2
= 0 ;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self",(char *) "metafile", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
29753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail
;
29756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
29757 if (SWIG_arg_fail(2)) SWIG_fail
;
29758 if (arg2
== NULL
) {
29759 SWIG_null_ref("wxMetafile");
29761 if (SWIG_arg_fail(2)) SWIG_fail
;
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29765 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 Py_INCREF(Py_None
); resultobj
= Py_None
;
29777 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
= NULL
;
29779 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29781 PyObject
* obj0
= 0 ;
29782 char *kwnames
[] = {
29783 (char *) "self", NULL
29786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
29787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29788 if (SWIG_arg_fail(1)) SWIG_fail
;
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29797 wxMetafile
* resultptr
;
29798 resultptr
= new wxMetafile(static_cast<wxMetafile
& >(result
));
29799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
29807 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29810 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29812 return Py_BuildValue((char *)"");
29814 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
= NULL
;
29816 wxDragResult arg1
;
29818 PyObject
* obj0
= 0 ;
29819 char *kwnames
[] = {
29820 (char *) "res", NULL
29823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29825 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29826 if (SWIG_arg_fail(1)) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= (bool)wxIsDragResultOk(arg1
);
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29844 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
= NULL
;
29846 wxWindow
*arg1
= (wxWindow
*) 0 ;
29847 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29848 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29849 wxCursor
const &arg3_defvalue
= wxNullCursor
;
29850 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
29851 wxCursor
const &arg4_defvalue
= wxNullCursor
;
29852 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
29853 wxPyDropSource
*result
;
29854 PyObject
* obj0
= 0 ;
29855 PyObject
* obj1
= 0 ;
29856 PyObject
* obj2
= 0 ;
29857 PyObject
* obj3
= 0 ;
29858 char *kwnames
[] = {
29859 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29864 if (SWIG_arg_fail(1)) SWIG_fail
;
29867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29868 if (SWIG_arg_fail(2)) SWIG_fail
;
29869 if (arg2
== NULL
) {
29870 SWIG_null_ref("wxCursor");
29872 if (SWIG_arg_fail(2)) SWIG_fail
;
29877 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29878 if (SWIG_arg_fail(3)) SWIG_fail
;
29879 if (arg3
== NULL
) {
29880 SWIG_null_ref("wxCursor");
29882 if (SWIG_arg_fail(3)) SWIG_fail
;
29887 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29888 if (SWIG_arg_fail(4)) SWIG_fail
;
29889 if (arg4
== NULL
) {
29890 SWIG_null_ref("wxCursor");
29892 if (SWIG_arg_fail(4)) SWIG_fail
;
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29909 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29910 PyObject
*resultobj
= NULL
;
29911 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29912 PyObject
*arg2
= (PyObject
*) 0 ;
29913 PyObject
*arg3
= (PyObject
*) 0 ;
29915 PyObject
* obj0
= 0 ;
29916 PyObject
* obj1
= 0 ;
29917 PyObject
* obj2
= 0 ;
29918 PyObject
* obj3
= 0 ;
29919 char *kwnames
[] = {
29920 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29925 if (SWIG_arg_fail(1)) SWIG_fail
;
29929 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29930 if (SWIG_arg_fail(4)) SWIG_fail
;
29933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29936 wxPyEndAllowThreads(__tstate
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29939 Py_INCREF(Py_None
); resultobj
= Py_None
;
29946 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
= NULL
;
29948 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29949 PyObject
* obj0
= 0 ;
29950 char *kwnames
[] = {
29951 (char *) "self", NULL
29954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29956 if (SWIG_arg_fail(1)) SWIG_fail
;
29958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29964 Py_INCREF(Py_None
); resultobj
= Py_None
;
29971 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
= NULL
;
29973 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29974 wxDataObject
*arg2
= 0 ;
29975 PyObject
* obj0
= 0 ;
29976 PyObject
* obj1
= 0 ;
29977 char *kwnames
[] = {
29978 (char *) "self",(char *) "data", NULL
29981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29983 if (SWIG_arg_fail(1)) SWIG_fail
;
29985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29986 if (SWIG_arg_fail(2)) SWIG_fail
;
29987 if (arg2
== NULL
) {
29988 SWIG_null_ref("wxDataObject");
29990 if (SWIG_arg_fail(2)) SWIG_fail
;
29993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29994 (arg1
)->SetData(*arg2
);
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 Py_INCREF(Py_None
); resultobj
= Py_None
;
30006 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= NULL
;
30008 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30009 wxDataObject
*result
;
30010 PyObject
* obj0
= 0 ;
30011 char *kwnames
[] = {
30012 (char *) "self", NULL
30015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
30016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30017 if (SWIG_arg_fail(1)) SWIG_fail
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30032 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
= NULL
;
30034 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30035 wxDragResult arg2
;
30036 wxCursor
*arg3
= 0 ;
30037 PyObject
* obj0
= 0 ;
30038 PyObject
* obj1
= 0 ;
30039 PyObject
* obj2
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "self",(char *) "res",(char *) "cursor", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30046 if (SWIG_arg_fail(1)) SWIG_fail
;
30048 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30049 if (SWIG_arg_fail(2)) SWIG_fail
;
30052 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30053 if (SWIG_arg_fail(3)) SWIG_fail
;
30054 if (arg3
== NULL
) {
30055 SWIG_null_ref("wxCursor");
30057 if (SWIG_arg_fail(3)) SWIG_fail
;
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30061 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 Py_INCREF(Py_None
); resultobj
= Py_None
;
30073 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
= NULL
;
30075 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30076 int arg2
= (int) wxDrag_CopyOnly
;
30077 wxDragResult result
;
30078 PyObject
* obj0
= 0 ;
30079 PyObject
* obj1
= 0 ;
30080 char *kwnames
[] = {
30081 (char *) "self",(char *) "flags", NULL
30084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
30085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30086 if (SWIG_arg_fail(1)) SWIG_fail
;
30089 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30090 if (SWIG_arg_fail(2)) SWIG_fail
;
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= SWIG_From_int((result
));
30107 static PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30108 PyObject
*resultobj
= NULL
;
30109 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30110 wxDragResult arg2
;
30112 PyObject
* obj0
= 0 ;
30113 PyObject
* obj1
= 0 ;
30114 char *kwnames
[] = {
30115 (char *) "self",(char *) "effect", NULL
30118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
30119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30120 if (SWIG_arg_fail(1)) SWIG_fail
;
30122 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30123 if (SWIG_arg_fail(2)) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (bool)(arg1
)->GiveFeedback(arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30141 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30144 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30146 return Py_BuildValue((char *)"");
30148 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
= NULL
;
30150 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30151 wxPyDropTarget
*result
;
30152 PyObject
* obj0
= 0 ;
30153 char *kwnames
[] = {
30154 (char *) "dataObject", NULL
30157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30160 if (SWIG_arg_fail(1)) SWIG_fail
;
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30176 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30177 PyObject
*resultobj
= NULL
;
30178 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30179 PyObject
*arg2
= (PyObject
*) 0 ;
30180 PyObject
*arg3
= (PyObject
*) 0 ;
30181 PyObject
* obj0
= 0 ;
30182 PyObject
* obj1
= 0 ;
30183 PyObject
* obj2
= 0 ;
30184 char *kwnames
[] = {
30185 (char *) "self",(char *) "self",(char *) "_class", NULL
30188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30190 if (SWIG_arg_fail(1)) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 Py_INCREF(Py_None
); resultobj
= Py_None
;
30207 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
= NULL
;
30209 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30210 PyObject
* obj0
= 0 ;
30211 char *kwnames
[] = {
30212 (char *) "self", NULL
30215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30217 if (SWIG_arg_fail(1)) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 Py_INCREF(Py_None
); resultobj
= Py_None
;
30232 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
= NULL
;
30234 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30235 wxDataObject
*result
;
30236 PyObject
* obj0
= 0 ;
30237 char *kwnames
[] = {
30238 (char *) "self", NULL
30241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30243 if (SWIG_arg_fail(1)) SWIG_fail
;
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30258 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30259 PyObject
*resultobj
= NULL
;
30260 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30261 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self",(char *) "dataObject", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(1)) SWIG_fail
;
30271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30272 if (SWIG_arg_fail(2)) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 (arg1
)->SetDataObject(arg2
);
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 Py_INCREF(Py_None
); resultobj
= Py_None
;
30287 static PyObject
*_wrap_DropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
= NULL
;
30289 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30292 wxDragResult arg4
;
30293 wxDragResult result
;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 PyObject
* obj2
= 0 ;
30297 PyObject
* obj3
= 0 ;
30298 char *kwnames
[] = {
30299 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30304 if (SWIG_arg_fail(1)) SWIG_fail
;
30306 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30307 if (SWIG_arg_fail(2)) SWIG_fail
;
30310 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30311 if (SWIG_arg_fail(3)) SWIG_fail
;
30314 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30315 if (SWIG_arg_fail(4)) SWIG_fail
;
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 resultobj
= SWIG_From_int((result
));
30331 static PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
= NULL
;
30333 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30336 wxDragResult arg4
;
30337 wxDragResult result
;
30338 PyObject
* obj0
= 0 ;
30339 PyObject
* obj1
= 0 ;
30340 PyObject
* obj2
= 0 ;
30341 PyObject
* obj3
= 0 ;
30342 char *kwnames
[] = {
30343 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30348 if (SWIG_arg_fail(1)) SWIG_fail
;
30350 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30351 if (SWIG_arg_fail(2)) SWIG_fail
;
30354 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30355 if (SWIG_arg_fail(3)) SWIG_fail
;
30358 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30359 if (SWIG_arg_fail(4)) SWIG_fail
;
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 resultobj
= SWIG_From_int((result
));
30375 static PyObject
*_wrap_DropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
= NULL
;
30377 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30378 PyObject
* obj0
= 0 ;
30379 char *kwnames
[] = {
30380 (char *) "self", NULL
30383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30385 if (SWIG_arg_fail(1)) SWIG_fail
;
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 Py_INCREF(Py_None
); resultobj
= Py_None
;
30400 static PyObject
*_wrap_DropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
= NULL
;
30402 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30406 PyObject
* obj0
= 0 ;
30407 PyObject
* obj1
= 0 ;
30408 PyObject
* obj2
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self",(char *) "x",(char *) "y", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(1)) SWIG_fail
;
30417 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30418 if (SWIG_arg_fail(2)) SWIG_fail
;
30421 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30422 if (SWIG_arg_fail(3)) SWIG_fail
;
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30440 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
= NULL
;
30442 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30444 PyObject
* obj0
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail
;
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 result
= (bool)(arg1
)->GetData();
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30468 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
= NULL
;
30470 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30471 wxDragResult arg2
;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "self",(char *) "action", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30480 if (SWIG_arg_fail(1)) SWIG_fail
;
30482 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30483 if (SWIG_arg_fail(2)) SWIG_fail
;
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 (arg1
)->SetDefaultAction(arg2
);
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30492 Py_INCREF(Py_None
); resultobj
= Py_None
;
30499 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30500 PyObject
*resultobj
= NULL
;
30501 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30502 wxDragResult result
;
30503 PyObject
* obj0
= 0 ;
30504 char *kwnames
[] = {
30505 (char *) "self", NULL
30508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30510 if (SWIG_arg_fail(1)) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 resultobj
= SWIG_From_int((result
));
30525 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30528 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30530 return Py_BuildValue((char *)"");
30532 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30533 PyObject
*resultobj
= NULL
;
30534 wxPyTextDropTarget
*result
;
30535 char *kwnames
[] = {
30539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30554 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
= NULL
;
30556 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30557 PyObject
*arg2
= (PyObject
*) 0 ;
30558 PyObject
*arg3
= (PyObject
*) 0 ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 PyObject
* obj2
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "self",(char *) "self",(char *) "_class", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30568 if (SWIG_arg_fail(1)) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 Py_INCREF(Py_None
); resultobj
= Py_None
;
30585 static PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30586 PyObject
*resultobj
= NULL
;
30587 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30590 wxString
*arg4
= 0 ;
30592 bool temp4
= false ;
30593 PyObject
* obj0
= 0 ;
30594 PyObject
* obj1
= 0 ;
30595 PyObject
* obj2
= 0 ;
30596 PyObject
* obj3
= 0 ;
30597 char *kwnames
[] = {
30598 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
30601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30603 if (SWIG_arg_fail(1)) SWIG_fail
;
30605 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30606 if (SWIG_arg_fail(2)) SWIG_fail
;
30609 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30610 if (SWIG_arg_fail(3)) SWIG_fail
;
30613 arg4
= wxString_in_helper(obj3
);
30614 if (arg4
== NULL
) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30641 static PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30642 PyObject
*resultobj
= NULL
;
30643 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30646 wxDragResult arg4
;
30647 wxDragResult result
;
30648 PyObject
* obj0
= 0 ;
30649 PyObject
* obj1
= 0 ;
30650 PyObject
* obj2
= 0 ;
30651 PyObject
* obj3
= 0 ;
30652 char *kwnames
[] = {
30653 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30658 if (SWIG_arg_fail(1)) SWIG_fail
;
30660 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30661 if (SWIG_arg_fail(2)) SWIG_fail
;
30664 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30665 if (SWIG_arg_fail(3)) SWIG_fail
;
30668 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30669 if (SWIG_arg_fail(4)) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_From_int((result
));
30685 static PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
= NULL
;
30687 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30690 wxDragResult arg4
;
30691 wxDragResult result
;
30692 PyObject
* obj0
= 0 ;
30693 PyObject
* obj1
= 0 ;
30694 PyObject
* obj2
= 0 ;
30695 PyObject
* obj3
= 0 ;
30696 char *kwnames
[] = {
30697 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30702 if (SWIG_arg_fail(1)) SWIG_fail
;
30704 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30705 if (SWIG_arg_fail(2)) SWIG_fail
;
30708 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30709 if (SWIG_arg_fail(3)) SWIG_fail
;
30712 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30713 if (SWIG_arg_fail(4)) SWIG_fail
;
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= SWIG_From_int((result
));
30729 static PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30730 PyObject
*resultobj
= NULL
;
30731 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30732 PyObject
* obj0
= 0 ;
30733 char *kwnames
[] = {
30734 (char *) "self", NULL
30737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30739 if (SWIG_arg_fail(1)) SWIG_fail
;
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 Py_INCREF(Py_None
); resultobj
= Py_None
;
30754 static PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30755 PyObject
*resultobj
= NULL
;
30756 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30760 PyObject
* obj0
= 0 ;
30761 PyObject
* obj1
= 0 ;
30762 PyObject
* obj2
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self",(char *) "x",(char *) "y", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30769 if (SWIG_arg_fail(1)) SWIG_fail
;
30771 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30772 if (SWIG_arg_fail(2)) SWIG_fail
;
30775 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30776 if (SWIG_arg_fail(3)) SWIG_fail
;
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30794 static PyObject
*_wrap_TextDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30795 PyObject
*resultobj
= NULL
;
30796 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30799 wxDragResult arg4
;
30800 wxDragResult result
;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 PyObject
* obj2
= 0 ;
30804 PyObject
* obj3
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30811 if (SWIG_arg_fail(1)) SWIG_fail
;
30813 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30814 if (SWIG_arg_fail(2)) SWIG_fail
;
30817 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30818 if (SWIG_arg_fail(3)) SWIG_fail
;
30821 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30822 if (SWIG_arg_fail(4)) SWIG_fail
;
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= SWIG_From_int((result
));
30838 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30841 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30843 return Py_BuildValue((char *)"");
30845 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30846 PyObject
*resultobj
= NULL
;
30847 wxPyFileDropTarget
*result
;
30848 char *kwnames
[] = {
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30867 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
= NULL
;
30869 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30870 PyObject
*arg2
= (PyObject
*) 0 ;
30871 PyObject
*arg3
= (PyObject
*) 0 ;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 PyObject
* obj2
= 0 ;
30875 char *kwnames
[] = {
30876 (char *) "self",(char *) "self",(char *) "_class", NULL
30879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30881 if (SWIG_arg_fail(1)) SWIG_fail
;
30885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30886 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 Py_INCREF(Py_None
); resultobj
= Py_None
;
30898 static PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
= NULL
;
30900 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30903 wxArrayString
*arg4
= 0 ;
30905 bool temp4
= false ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 PyObject
* obj2
= 0 ;
30909 PyObject
* obj3
= 0 ;
30910 char *kwnames
[] = {
30911 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
30914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30916 if (SWIG_arg_fail(1)) SWIG_fail
;
30918 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30919 if (SWIG_arg_fail(2)) SWIG_fail
;
30922 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30923 if (SWIG_arg_fail(3)) SWIG_fail
;
30926 if (! PySequence_Check(obj3
)) {
30927 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
30930 arg4
= new wxArrayString
;
30932 int i
, len
=PySequence_Length(obj3
);
30933 for (i
=0; i
<len
; i
++) {
30934 PyObject
* item
= PySequence_GetItem(obj3
, i
);
30935 wxString
* s
= wxString_in_helper(item
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30953 if (temp4
) delete arg4
;
30958 if (temp4
) delete arg4
;
30964 static PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
= NULL
;
30966 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30969 wxDragResult arg4
;
30970 wxDragResult result
;
30971 PyObject
* obj0
= 0 ;
30972 PyObject
* obj1
= 0 ;
30973 PyObject
* obj2
= 0 ;
30974 PyObject
* obj3
= 0 ;
30975 char *kwnames
[] = {
30976 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30981 if (SWIG_arg_fail(1)) SWIG_fail
;
30983 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30984 if (SWIG_arg_fail(2)) SWIG_fail
;
30987 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30988 if (SWIG_arg_fail(3)) SWIG_fail
;
30991 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30992 if (SWIG_arg_fail(4)) SWIG_fail
;
30995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30996 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30998 wxPyEndAllowThreads(__tstate
);
30999 if (PyErr_Occurred()) SWIG_fail
;
31001 resultobj
= SWIG_From_int((result
));
31008 static PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31009 PyObject
*resultobj
= NULL
;
31010 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31013 wxDragResult arg4
;
31014 wxDragResult result
;
31015 PyObject
* obj0
= 0 ;
31016 PyObject
* obj1
= 0 ;
31017 PyObject
* obj2
= 0 ;
31018 PyObject
* obj3
= 0 ;
31019 char *kwnames
[] = {
31020 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31025 if (SWIG_arg_fail(1)) SWIG_fail
;
31027 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31028 if (SWIG_arg_fail(2)) SWIG_fail
;
31031 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31032 if (SWIG_arg_fail(3)) SWIG_fail
;
31035 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
31036 if (SWIG_arg_fail(4)) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= SWIG_From_int((result
));
31052 static PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
= NULL
;
31054 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31055 PyObject
* obj0
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "self", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
31061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31062 if (SWIG_arg_fail(1)) SWIG_fail
;
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 wxPyEndAllowThreads(__tstate
);
31068 if (PyErr_Occurred()) SWIG_fail
;
31070 Py_INCREF(Py_None
); resultobj
= Py_None
;
31077 static PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
= NULL
;
31079 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31083 PyObject
* obj0
= 0 ;
31084 PyObject
* obj1
= 0 ;
31085 PyObject
* obj2
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "self",(char *) "x",(char *) "y", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31092 if (SWIG_arg_fail(1)) SWIG_fail
;
31094 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31095 if (SWIG_arg_fail(2)) SWIG_fail
;
31098 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31099 if (SWIG_arg_fail(3)) SWIG_fail
;
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
31105 wxPyEndAllowThreads(__tstate
);
31106 if (PyErr_Occurred()) SWIG_fail
;
31109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31117 static PyObject
*_wrap_FileDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31118 PyObject
*resultobj
= NULL
;
31119 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31122 wxDragResult arg4
;
31123 wxDragResult result
;
31124 PyObject
* obj0
= 0 ;
31125 PyObject
* obj1
= 0 ;
31126 PyObject
* obj2
= 0 ;
31127 PyObject
* obj3
= 0 ;
31128 char *kwnames
[] = {
31129 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31134 if (SWIG_arg_fail(1)) SWIG_fail
;
31136 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31137 if (SWIG_arg_fail(2)) SWIG_fail
;
31140 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31141 if (SWIG_arg_fail(3)) SWIG_fail
;
31144 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
31145 if (SWIG_arg_fail(4)) SWIG_fail
;
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31154 resultobj
= SWIG_From_int((result
));
31161 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
31163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31164 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
31166 return Py_BuildValue((char *)"");
31168 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
= NULL
;
31170 wxClipboard
*result
;
31171 char *kwnames
[] = {
31175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 result
= (wxClipboard
*)new wxClipboard();
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
31190 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31191 PyObject
*resultobj
= NULL
;
31192 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31193 PyObject
* obj0
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
31199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31200 if (SWIG_arg_fail(1)) SWIG_fail
;
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31208 Py_INCREF(Py_None
); resultobj
= Py_None
;
31215 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31216 PyObject
*resultobj
= NULL
;
31217 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31219 PyObject
* obj0
= 0 ;
31220 char *kwnames
[] = {
31221 (char *) "self", NULL
31224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
31225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31226 if (SWIG_arg_fail(1)) SWIG_fail
;
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 result
= (bool)(arg1
)->Open();
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31243 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
= NULL
;
31245 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31246 PyObject
* obj0
= 0 ;
31247 char *kwnames
[] = {
31248 (char *) "self", NULL
31251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
31252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31253 if (SWIG_arg_fail(1)) SWIG_fail
;
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31261 Py_INCREF(Py_None
); resultobj
= Py_None
;
31268 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
= NULL
;
31270 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31272 PyObject
* obj0
= 0 ;
31273 char *kwnames
[] = {
31274 (char *) "self", NULL
31277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
31278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31279 if (SWIG_arg_fail(1)) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31296 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
= NULL
;
31298 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31299 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 char *kwnames
[] = {
31304 (char *) "self",(char *) "data", NULL
31307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31309 if (SWIG_arg_fail(1)) SWIG_fail
;
31310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31311 if (SWIG_arg_fail(2)) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 result
= (bool)(arg1
)->AddData(arg2
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31328 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31329 PyObject
*resultobj
= NULL
;
31330 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31331 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31333 PyObject
* obj0
= 0 ;
31334 PyObject
* obj1
= 0 ;
31335 char *kwnames
[] = {
31336 (char *) "self",(char *) "data", NULL
31339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31341 if (SWIG_arg_fail(1)) SWIG_fail
;
31342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31343 if (SWIG_arg_fail(2)) SWIG_fail
;
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 result
= (bool)(arg1
)->SetData(arg2
);
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31360 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31361 PyObject
*resultobj
= NULL
;
31362 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31363 wxDataFormat
*arg2
= 0 ;
31365 PyObject
* obj0
= 0 ;
31366 PyObject
* obj1
= 0 ;
31367 char *kwnames
[] = {
31368 (char *) "self",(char *) "format", NULL
31371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31373 if (SWIG_arg_fail(1)) SWIG_fail
;
31375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31376 if (SWIG_arg_fail(2)) SWIG_fail
;
31377 if (arg2
== NULL
) {
31378 SWIG_null_ref("wxDataFormat");
31380 if (SWIG_arg_fail(2)) SWIG_fail
;
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31398 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
= NULL
;
31400 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31401 wxDataObject
*arg2
= 0 ;
31403 PyObject
* obj0
= 0 ;
31404 PyObject
* obj1
= 0 ;
31405 char *kwnames
[] = {
31406 (char *) "self",(char *) "data", NULL
31409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31411 if (SWIG_arg_fail(1)) SWIG_fail
;
31413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31414 if (SWIG_arg_fail(2)) SWIG_fail
;
31415 if (arg2
== NULL
) {
31416 SWIG_null_ref("wxDataObject");
31418 if (SWIG_arg_fail(2)) SWIG_fail
;
31421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31422 result
= (bool)(arg1
)->GetData(*arg2
);
31424 wxPyEndAllowThreads(__tstate
);
31425 if (PyErr_Occurred()) SWIG_fail
;
31428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31436 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31437 PyObject
*resultobj
= NULL
;
31438 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31439 PyObject
* obj0
= 0 ;
31440 char *kwnames
[] = {
31441 (char *) "self", NULL
31444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31446 if (SWIG_arg_fail(1)) SWIG_fail
;
31448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31451 wxPyEndAllowThreads(__tstate
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31454 Py_INCREF(Py_None
); resultobj
= Py_None
;
31461 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31462 PyObject
*resultobj
= NULL
;
31463 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31465 PyObject
* obj0
= 0 ;
31466 char *kwnames
[] = {
31467 (char *) "self", NULL
31470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31472 if (SWIG_arg_fail(1)) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (bool)(arg1
)->Flush();
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31489 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31490 PyObject
*resultobj
= NULL
;
31491 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31492 bool arg2
= (bool) true ;
31493 PyObject
* obj0
= 0 ;
31494 PyObject
* obj1
= 0 ;
31495 char *kwnames
[] = {
31496 (char *) "self",(char *) "primary", NULL
31499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31501 if (SWIG_arg_fail(1)) SWIG_fail
;
31504 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31505 if (SWIG_arg_fail(2)) SWIG_fail
;
31509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31510 (arg1
)->UsePrimarySelection(arg2
);
31512 wxPyEndAllowThreads(__tstate
);
31513 if (PyErr_Occurred()) SWIG_fail
;
31515 Py_INCREF(Py_None
); resultobj
= Py_None
;
31522 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= NULL
;
31524 wxClipboard
*result
;
31525 char *kwnames
[] = {
31529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 result
= (wxClipboard
*)wxClipboard::Get();
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31544 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31547 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31549 return Py_BuildValue((char *)"");
31551 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31552 PyObject
*resultobj
= NULL
;
31553 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31554 wxClipboardLocker
*result
;
31555 PyObject
* obj0
= 0 ;
31556 char *kwnames
[] = {
31557 (char *) "clipboard", NULL
31560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31563 if (SWIG_arg_fail(1)) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31579 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31580 PyObject
*resultobj
= NULL
;
31581 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31582 PyObject
* obj0
= 0 ;
31583 char *kwnames
[] = {
31584 (char *) "self", NULL
31587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31589 if (SWIG_arg_fail(1)) SWIG_fail
;
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 Py_INCREF(Py_None
); resultobj
= Py_None
;
31604 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
= NULL
;
31606 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31608 PyObject
* obj0
= 0 ;
31609 char *kwnames
[] = {
31610 (char *) "self", NULL
31613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31615 if (SWIG_arg_fail(1)) SWIG_fail
;
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31618 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31632 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31635 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31637 return Py_BuildValue((char *)"");
31639 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31640 PyObject
*resultobj
= NULL
;
31641 int arg1
= (int) 0 ;
31642 int arg2
= (int) 0 ;
31643 int arg3
= (int) 0 ;
31644 int arg4
= (int) 0 ;
31645 wxVideoMode
*result
;
31646 PyObject
* obj0
= 0 ;
31647 PyObject
* obj1
= 0 ;
31648 PyObject
* obj2
= 0 ;
31649 PyObject
* obj3
= 0 ;
31650 char *kwnames
[] = {
31651 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31657 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31658 if (SWIG_arg_fail(1)) SWIG_fail
;
31663 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31664 if (SWIG_arg_fail(2)) SWIG_fail
;
31669 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31670 if (SWIG_arg_fail(3)) SWIG_fail
;
31675 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31676 if (SWIG_arg_fail(4)) SWIG_fail
;
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31693 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31694 PyObject
*resultobj
= NULL
;
31695 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31696 PyObject
* obj0
= 0 ;
31697 char *kwnames
[] = {
31698 (char *) "self", NULL
31701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31703 if (SWIG_arg_fail(1)) SWIG_fail
;
31705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31711 Py_INCREF(Py_None
); resultobj
= Py_None
;
31718 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31719 PyObject
*resultobj
= NULL
;
31720 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31721 wxVideoMode
*arg2
= 0 ;
31723 PyObject
* obj0
= 0 ;
31724 PyObject
* obj1
= 0 ;
31725 char *kwnames
[] = {
31726 (char *) "self",(char *) "other", NULL
31729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31731 if (SWIG_arg_fail(1)) SWIG_fail
;
31733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31734 if (SWIG_arg_fail(2)) SWIG_fail
;
31735 if (arg2
== NULL
) {
31736 SWIG_null_ref("wxVideoMode");
31738 if (SWIG_arg_fail(2)) SWIG_fail
;
31741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31742 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31756 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31757 PyObject
*resultobj
= NULL
;
31758 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31760 PyObject
* obj0
= 0 ;
31761 char *kwnames
[] = {
31762 (char *) "self", NULL
31765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31767 if (SWIG_arg_fail(1)) SWIG_fail
;
31769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31770 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31776 resultobj
= SWIG_From_int(static_cast<int >(result
));
31784 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31785 PyObject
*resultobj
= NULL
;
31786 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31788 PyObject
* obj0
= 0 ;
31789 char *kwnames
[] = {
31790 (char *) "self", NULL
31793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31795 if (SWIG_arg_fail(1)) SWIG_fail
;
31797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31798 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31800 wxPyEndAllowThreads(__tstate
);
31801 if (PyErr_Occurred()) SWIG_fail
;
31804 resultobj
= SWIG_From_int(static_cast<int >(result
));
31812 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
= NULL
;
31814 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31816 PyObject
* obj0
= 0 ;
31817 char *kwnames
[] = {
31818 (char *) "self", NULL
31821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31823 if (SWIG_arg_fail(1)) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= SWIG_From_int(static_cast<int >(result
));
31840 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31841 PyObject
*resultobj
= NULL
;
31842 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31844 PyObject
* obj0
= 0 ;
31845 char *kwnames
[] = {
31846 (char *) "self", NULL
31849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31851 if (SWIG_arg_fail(1)) SWIG_fail
;
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31856 wxPyEndAllowThreads(__tstate
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31868 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
= NULL
;
31870 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31871 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31873 PyObject
* obj0
= 0 ;
31874 PyObject
* obj1
= 0 ;
31875 char *kwnames
[] = {
31876 (char *) "self",(char *) "other", NULL
31879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31881 if (SWIG_arg_fail(1)) SWIG_fail
;
31882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31883 if (SWIG_arg_fail(2)) SWIG_fail
;
31885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31886 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31888 wxPyEndAllowThreads(__tstate
);
31889 if (PyErr_Occurred()) SWIG_fail
;
31892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31900 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
= NULL
;
31902 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31903 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31905 PyObject
* obj0
= 0 ;
31906 PyObject
* obj1
= 0 ;
31907 char *kwnames
[] = {
31908 (char *) "self",(char *) "other", NULL
31911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31913 if (SWIG_arg_fail(1)) SWIG_fail
;
31914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31915 if (SWIG_arg_fail(2)) SWIG_fail
;
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31932 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31933 PyObject
*resultobj
= NULL
;
31934 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31936 PyObject
* obj0
= 0 ;
31937 PyObject
* obj1
= 0 ;
31938 char *kwnames
[] = {
31939 (char *) "self",(char *) "w", NULL
31942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31944 if (SWIG_arg_fail(1)) SWIG_fail
;
31946 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31947 if (SWIG_arg_fail(2)) SWIG_fail
;
31949 if (arg1
) (arg1
)->w
= arg2
;
31951 Py_INCREF(Py_None
); resultobj
= Py_None
;
31958 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
= NULL
;
31960 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31962 PyObject
* obj0
= 0 ;
31963 char *kwnames
[] = {
31964 (char *) "self", NULL
31967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31969 if (SWIG_arg_fail(1)) SWIG_fail
;
31970 result
= (int) ((arg1
)->w
);
31973 resultobj
= SWIG_From_int(static_cast<int >(result
));
31981 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
= NULL
;
31983 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31985 PyObject
* obj0
= 0 ;
31986 PyObject
* obj1
= 0 ;
31987 char *kwnames
[] = {
31988 (char *) "self",(char *) "h", NULL
31991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31993 if (SWIG_arg_fail(1)) SWIG_fail
;
31995 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31996 if (SWIG_arg_fail(2)) SWIG_fail
;
31998 if (arg1
) (arg1
)->h
= arg2
;
32000 Py_INCREF(Py_None
); resultobj
= Py_None
;
32007 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
= NULL
;
32009 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32011 PyObject
* obj0
= 0 ;
32012 char *kwnames
[] = {
32013 (char *) "self", NULL
32016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
32017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32018 if (SWIG_arg_fail(1)) SWIG_fail
;
32019 result
= (int) ((arg1
)->h
);
32022 resultobj
= SWIG_From_int(static_cast<int >(result
));
32030 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32031 PyObject
*resultobj
= NULL
;
32032 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32034 PyObject
* obj0
= 0 ;
32035 PyObject
* obj1
= 0 ;
32036 char *kwnames
[] = {
32037 (char *) "self",(char *) "bpp", NULL
32040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
32041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32042 if (SWIG_arg_fail(1)) SWIG_fail
;
32044 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32045 if (SWIG_arg_fail(2)) SWIG_fail
;
32047 if (arg1
) (arg1
)->bpp
= arg2
;
32049 Py_INCREF(Py_None
); resultobj
= Py_None
;
32056 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32057 PyObject
*resultobj
= NULL
;
32058 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32060 PyObject
* obj0
= 0 ;
32061 char *kwnames
[] = {
32062 (char *) "self", NULL
32065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
32066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32067 if (SWIG_arg_fail(1)) SWIG_fail
;
32068 result
= (int) ((arg1
)->bpp
);
32071 resultobj
= SWIG_From_int(static_cast<int >(result
));
32079 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32080 PyObject
*resultobj
= NULL
;
32081 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32083 PyObject
* obj0
= 0 ;
32084 PyObject
* obj1
= 0 ;
32085 char *kwnames
[] = {
32086 (char *) "self",(char *) "refresh", NULL
32089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
32090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32091 if (SWIG_arg_fail(1)) SWIG_fail
;
32093 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32094 if (SWIG_arg_fail(2)) SWIG_fail
;
32096 if (arg1
) (arg1
)->refresh
= arg2
;
32098 Py_INCREF(Py_None
); resultobj
= Py_None
;
32105 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32106 PyObject
*resultobj
= NULL
;
32107 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32109 PyObject
* obj0
= 0 ;
32110 char *kwnames
[] = {
32111 (char *) "self", NULL
32114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
32115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32116 if (SWIG_arg_fail(1)) SWIG_fail
;
32117 result
= (int) ((arg1
)->refresh
);
32120 resultobj
= SWIG_From_int(static_cast<int >(result
));
32128 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
32130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32131 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
32133 return Py_BuildValue((char *)"");
32135 static int _wrap_DefaultVideoMode_set(PyObject
*) {
32136 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
32141 static PyObject
*_wrap_DefaultVideoMode_get(void) {
32142 PyObject
*pyobj
= NULL
;
32144 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
32149 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32150 PyObject
*resultobj
= NULL
;
32151 size_t arg1
= (size_t) 0 ;
32153 PyObject
* obj0
= 0 ;
32154 char *kwnames
[] = {
32155 (char *) "index", NULL
32158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
32161 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
32162 if (SWIG_arg_fail(1)) SWIG_fail
;
32166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32167 result
= (wxDisplay
*)new wxDisplay(arg1
);
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
32179 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32180 PyObject
*resultobj
= NULL
;
32181 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32182 PyObject
* obj0
= 0 ;
32183 char *kwnames
[] = {
32184 (char *) "self", NULL
32187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
32188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32189 if (SWIG_arg_fail(1)) SWIG_fail
;
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 wxPyEndAllowThreads(__tstate
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32197 Py_INCREF(Py_None
); resultobj
= Py_None
;
32204 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
= NULL
;
32207 char *kwnames
[] = {
32211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
32213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32214 result
= (size_t)wxDisplay::GetCount();
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32220 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
32228 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32229 PyObject
*resultobj
= NULL
;
32230 wxPoint
*arg1
= 0 ;
32233 PyObject
* obj0
= 0 ;
32234 char *kwnames
[] = {
32235 (char *) "pt", NULL
32238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
32241 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32245 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32247 wxPyEndAllowThreads(__tstate
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32251 resultobj
= SWIG_From_int(static_cast<int >(result
));
32259 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
= NULL
;
32261 wxWindow
*arg1
= (wxWindow
*) 0 ;
32263 PyObject
* obj0
= 0 ;
32264 char *kwnames
[] = {
32265 (char *) "window", NULL
32268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32270 if (SWIG_arg_fail(1)) SWIG_fail
;
32272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32273 result
= (int)wxDisplay::GetFromWindow(arg1
);
32275 wxPyEndAllowThreads(__tstate
);
32276 if (PyErr_Occurred()) SWIG_fail
;
32279 resultobj
= SWIG_From_int(static_cast<int >(result
));
32287 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32288 PyObject
*resultobj
= NULL
;
32289 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32291 PyObject
* obj0
= 0 ;
32292 char *kwnames
[] = {
32293 (char *) "self", NULL
32296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32298 if (SWIG_arg_fail(1)) SWIG_fail
;
32300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32301 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32303 wxPyEndAllowThreads(__tstate
);
32304 if (PyErr_Occurred()) SWIG_fail
;
32307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32315 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
= NULL
;
32317 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32319 PyObject
* obj0
= 0 ;
32320 char *kwnames
[] = {
32321 (char *) "self", NULL
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32326 if (SWIG_arg_fail(1)) SWIG_fail
;
32328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32329 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32335 wxRect
* resultptr
;
32336 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32345 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
= NULL
;
32347 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32349 PyObject
* obj0
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32356 if (SWIG_arg_fail(1)) SWIG_fail
;
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 result
= ((wxDisplay
const *)arg1
)->GetName();
32361 wxPyEndAllowThreads(__tstate
);
32362 if (PyErr_Occurred()) SWIG_fail
;
32366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32377 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32378 PyObject
*resultobj
= NULL
;
32379 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32381 PyObject
* obj0
= 0 ;
32382 char *kwnames
[] = {
32383 (char *) "self", NULL
32386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32388 if (SWIG_arg_fail(1)) SWIG_fail
;
32390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32391 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32393 wxPyEndAllowThreads(__tstate
);
32394 if (PyErr_Occurred()) SWIG_fail
;
32397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32405 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32406 PyObject
*resultobj
= NULL
;
32407 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32408 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32409 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32411 PyObject
* obj0
= 0 ;
32412 PyObject
* obj1
= 0 ;
32413 char *kwnames
[] = {
32414 (char *) "self",(char *) "mode", NULL
32417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32419 if (SWIG_arg_fail(1)) SWIG_fail
;
32422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32423 if (SWIG_arg_fail(2)) SWIG_fail
;
32424 if (arg2
== NULL
) {
32425 SWIG_null_ref("wxVideoMode");
32427 if (SWIG_arg_fail(2)) SWIG_fail
;
32431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32434 wxPyEndAllowThreads(__tstate
);
32435 if (PyErr_Occurred()) SWIG_fail
;
32437 resultobj
= result
;
32444 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32445 PyObject
*resultobj
= NULL
;
32446 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32447 wxVideoMode result
;
32448 PyObject
* obj0
= 0 ;
32449 char *kwnames
[] = {
32450 (char *) "self", NULL
32453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32455 if (SWIG_arg_fail(1)) SWIG_fail
;
32457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32458 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32460 wxPyEndAllowThreads(__tstate
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32464 wxVideoMode
* resultptr
;
32465 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32474 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32475 PyObject
*resultobj
= NULL
;
32476 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32477 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32478 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32480 PyObject
* obj0
= 0 ;
32481 PyObject
* obj1
= 0 ;
32482 char *kwnames
[] = {
32483 (char *) "self",(char *) "mode", NULL
32486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32488 if (SWIG_arg_fail(1)) SWIG_fail
;
32491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32492 if (SWIG_arg_fail(2)) SWIG_fail
;
32493 if (arg2
== NULL
) {
32494 SWIG_null_ref("wxVideoMode");
32496 if (SWIG_arg_fail(2)) SWIG_fail
;
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32515 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32516 PyObject
*resultobj
= NULL
;
32517 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32518 PyObject
* obj0
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32525 if (SWIG_arg_fail(1)) SWIG_fail
;
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 (arg1
)->ResetMode();
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32533 Py_INCREF(Py_None
); resultobj
= Py_None
;
32540 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32543 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32545 return Py_BuildValue((char *)"");
32547 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32548 PyObject
*resultobj
= NULL
;
32549 wxStandardPaths
*result
;
32550 char *kwnames
[] = {
32554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32569 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32570 PyObject
*resultobj
= NULL
;
32571 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32573 PyObject
* obj0
= 0 ;
32574 char *kwnames
[] = {
32575 (char *) "self", NULL
32578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32580 if (SWIG_arg_fail(1)) SWIG_fail
;
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32601 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
= NULL
;
32603 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32605 PyObject
* obj0
= 0 ;
32606 char *kwnames
[] = {
32607 (char *) "self", NULL
32610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32612 if (SWIG_arg_fail(1)) SWIG_fail
;
32614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32615 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32617 wxPyEndAllowThreads(__tstate
);
32618 if (PyErr_Occurred()) SWIG_fail
;
32622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32633 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
= NULL
;
32635 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32637 PyObject
* obj0
= 0 ;
32638 char *kwnames
[] = {
32639 (char *) "self", NULL
32642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32644 if (SWIG_arg_fail(1)) SWIG_fail
;
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32649 wxPyEndAllowThreads(__tstate
);
32650 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32665 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32666 PyObject
*resultobj
= NULL
;
32667 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32669 PyObject
* obj0
= 0 ;
32670 char *kwnames
[] = {
32671 (char *) "self", NULL
32674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32676 if (SWIG_arg_fail(1)) SWIG_fail
;
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32697 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
= NULL
;
32699 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32701 PyObject
* obj0
= 0 ;
32702 char *kwnames
[] = {
32703 (char *) "self", NULL
32706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32708 if (SWIG_arg_fail(1)) SWIG_fail
;
32710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32711 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32729 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32730 PyObject
*resultobj
= NULL
;
32731 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32733 PyObject
* obj0
= 0 ;
32734 char *kwnames
[] = {
32735 (char *) "self", NULL
32738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32740 if (SWIG_arg_fail(1)) SWIG_fail
;
32742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32743 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32761 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32762 PyObject
*resultobj
= NULL
;
32763 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32765 PyObject
* obj0
= 0 ;
32766 char *kwnames
[] = {
32767 (char *) "self", NULL
32770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32772 if (SWIG_arg_fail(1)) SWIG_fail
;
32774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32775 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32793 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32794 PyObject
*resultobj
= NULL
;
32795 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32796 wxString
*arg2
= 0 ;
32797 bool temp2
= false ;
32798 PyObject
* obj0
= 0 ;
32799 PyObject
* obj1
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self",(char *) "prefix", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32806 if (SWIG_arg_fail(1)) SWIG_fail
;
32808 arg2
= wxString_in_helper(obj1
);
32809 if (arg2
== NULL
) SWIG_fail
;
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 Py_INCREF(Py_None
); resultobj
= Py_None
;
32834 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32835 PyObject
*resultobj
= NULL
;
32836 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32838 PyObject
* obj0
= 0 ;
32839 char *kwnames
[] = {
32840 (char *) "self", NULL
32843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32845 if (SWIG_arg_fail(1)) SWIG_fail
;
32847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32848 result
= wxStandardPaths_GetInstallPrefix(arg1
);
32850 wxPyEndAllowThreads(__tstate
);
32851 if (PyErr_Occurred()) SWIG_fail
;
32855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32866 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32869 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32871 return Py_BuildValue((char *)"");
32873 static PyMethodDef SwigMethods
[] = {
32874 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32881 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32889 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32971 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32978 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"delete_ToolTip", (PyCFunction
) _wrap_delete_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32987 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
33006 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
33009 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
33012 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
33015 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
33021 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
33035 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
33041 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
33047 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
33050 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"Timer_Notify", (PyCFunction
) _wrap_Timer_Notify
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
33065 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
33068 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
33069 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
33072 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"delete_Log", (PyCFunction
) _wrap_delete_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
33100 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
33102 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
33104 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
33106 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
33113 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
33119 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
33123 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
33137 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
33141 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
33144 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
33161 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
33169 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
33216 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
33234 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
33244 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33260 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33276 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33290 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33301 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33344 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33347 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33350 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33354 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33371 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33376 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33385 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33398 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33399 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33403 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33410 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33418 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33428 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33453 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33454 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33455 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33456 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33473 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33474 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33475 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33481 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33483 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33485 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33487 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33495 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33497 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33499 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33500 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33503 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33504 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33505 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33506 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33509 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33510 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33511 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33517 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33518 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33519 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33520 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33521 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33523 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33524 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33525 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33526 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33527 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33528 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33529 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33530 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33531 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33532 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33533 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33534 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33535 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33536 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33537 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33538 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33539 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33540 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33541 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33542 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33543 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33544 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33545 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33546 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33547 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33548 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33549 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33550 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33551 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33552 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33553 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33554 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33555 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33556 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33557 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33558 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33559 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33560 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33561 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33562 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33563 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33564 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33565 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33566 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33567 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33568 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33569 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33570 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33571 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33572 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33573 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33574 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33575 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33576 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33577 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33578 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33579 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33580 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33581 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33582 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33583 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33584 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33585 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33586 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33587 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33588 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33589 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33590 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33591 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33592 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33593 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33594 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33595 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33596 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33597 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33598 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33599 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33600 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33601 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33602 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33603 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33604 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33605 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33606 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33607 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33608 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33609 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33610 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33611 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33612 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33613 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33614 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33615 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33616 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33617 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33618 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33619 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33620 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33621 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33622 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33623 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33624 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33625 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33626 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33627 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33628 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33629 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33630 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33631 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33632 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33633 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33634 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33635 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33636 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33637 { (char *)"DropTarget_OnLeave", (PyCFunction
) _wrap_DropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33638 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33639 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33640 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33641 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33642 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33643 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33644 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33645 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33646 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33647 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33648 { (char *)"TextDropTarget_OnLeave", (PyCFunction
) _wrap_TextDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33649 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33650 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33651 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33652 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33653 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33654 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33655 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33656 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33657 { (char *)"FileDropTarget_OnLeave", (PyCFunction
) _wrap_FileDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33658 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33659 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33660 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33661 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33662 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33663 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33664 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33665 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33666 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33667 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33668 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33669 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33670 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33671 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33672 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33673 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33674 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33675 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33676 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33677 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33678 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33679 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33680 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33681 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33682 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33683 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33684 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33685 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33686 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33687 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33688 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33689 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33690 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33691 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33692 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33693 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33694 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33695 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33696 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33697 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33698 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33699 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33700 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33701 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33702 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33703 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33704 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33705 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33706 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33707 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33708 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33709 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33710 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33711 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33712 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33713 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33714 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33715 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33716 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33717 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33718 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33719 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33720 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33721 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33722 { NULL
, NULL
, 0, NULL
}
33726 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33728 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33729 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33731 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33732 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33734 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33735 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33737 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33738 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33740 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33741 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33743 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33744 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33746 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33747 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33749 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33750 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33752 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33753 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33755 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33756 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33758 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33759 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33761 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33762 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33764 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33765 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33767 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33768 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33770 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33771 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33773 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33774 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33776 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33777 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33779 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33780 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33782 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33783 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33785 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33786 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33788 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33789 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33791 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33792 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33794 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33795 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33797 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33798 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33800 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33801 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33803 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33804 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33806 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33807 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33809 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33810 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33812 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33813 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33815 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33816 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33818 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33821 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33822 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33824 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33825 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33827 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33828 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33830 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33831 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33833 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33834 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33836 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33837 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33839 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33840 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33842 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33843 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33845 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33846 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33848 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33849 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33851 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33852 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33854 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33855 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33857 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33858 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33860 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33861 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33863 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33864 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33866 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33867 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33869 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33870 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33872 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33873 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33875 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33876 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33878 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33879 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33881 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33882 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33884 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33885 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33887 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33888 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33890 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33891 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33893 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33894 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33896 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33897 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33899 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33900 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33902 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33903 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33905 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33906 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33908 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33909 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33911 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33912 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33914 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33915 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33917 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33918 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33920 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33923 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33924 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33926 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33927 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33929 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33930 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33932 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33933 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33935 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33936 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33938 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33939 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33941 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33942 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33944 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33945 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33947 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33948 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33950 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33951 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33953 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33954 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33956 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33959 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33960 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33962 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33963 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33965 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33966 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33968 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33969 return (void *)((wxObject
*) ((wxSizer
*) x
));
33971 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33972 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33974 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33975 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33977 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33980 static void *_p_wxEventTo_p_wxObject(void *x
) {
33981 return (void *)((wxObject
*) ((wxEvent
*) x
));
33983 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33984 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33986 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33987 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33989 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33990 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33992 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33993 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33995 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33996 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33998 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33999 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34001 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
34002 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34004 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
34005 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34007 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
34008 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34010 static void *_p_wxControlTo_p_wxObject(void *x
) {
34011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
34013 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
34014 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
34016 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
34017 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
34019 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
34020 return (void *)((wxObject
*) ((wxFSFile
*) x
));
34022 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
34023 return (void *)((wxObject
*) ((wxClipboard
*) x
));
34025 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
34026 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
34028 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
34029 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
34031 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
34032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34034 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
34035 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
34037 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
34038 return (void *)((wxObject
*) ((wxToolTip
*) x
));
34040 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
34041 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
34043 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
34044 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
34046 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
34047 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
34049 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
34050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34052 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
34053 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34055 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
34056 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
34058 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
34059 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
34061 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
34062 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
34064 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
34065 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
34067 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
34068 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
34070 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
34071 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
34073 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
34074 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
34076 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
34077 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
34079 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
34080 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
34082 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
34083 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
34085 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
34086 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
34088 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
34089 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
34091 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
34092 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
34094 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
34095 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
34097 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
34098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
34100 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
34101 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
34103 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
34104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
34106 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
34107 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
34109 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
34110 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
34112 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
34113 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
34115 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
34116 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
34118 static void *_p_wxImageTo_p_wxObject(void *x
) {
34119 return (void *)((wxObject
*) ((wxImage
*) x
));
34121 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
34122 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
34124 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
34125 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
34127 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
34128 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
34130 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
34131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34133 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
34134 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34136 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34137 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34139 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34140 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34142 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34143 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34145 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34148 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
34149 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
34151 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34152 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34154 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34157 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34158 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34160 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34161 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34163 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34164 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34166 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34167 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34169 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34170 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34172 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
34173 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
34175 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34178 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34179 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34181 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34182 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34184 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34185 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34187 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34190 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
34191 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
34193 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34196 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34199 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34200 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34202 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
34203 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
34205 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
34206 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
34208 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
34209 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
34211 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
34212 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
34214 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
34215 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
34217 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
34218 return (void *)((wxLog
*) ((wxLogChain
*) x
));
34220 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
34221 return (void *)((wxLog
*) ((wxLogGui
*) x
));
34223 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
34224 return (void *)((wxLog
*) ((wxPyLog
*) x
));
34226 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34227 return (void *)((wxWindow
*) ((wxControl
*) x
));
34229 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34230 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34232 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34233 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34235 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
34236 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
34238 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
34239 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
34241 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
34242 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34243 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
34244 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34245 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34246 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34247 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
34248 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34249 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34250 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34251 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34252 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34253 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34254 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34255 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34256 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34257 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34258 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34259 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34260 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34261 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34262 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34263 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34264 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34265 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34266 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34267 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34268 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34269 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34270 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34271 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34272 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34273 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34274 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34275 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34276 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34277 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34278 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34279 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34280 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34281 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34282 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34283 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34284 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34285 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34286 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34287 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34288 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34289 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34290 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34291 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34292 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34293 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34294 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34295 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34296 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34297 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34298 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34299 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34300 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34301 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34302 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34303 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34304 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34305 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34306 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34307 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34308 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34309 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34310 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34311 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34312 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34313 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34314 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34315 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34316 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34317 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34318 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34319 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34320 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34321 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34322 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34323 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34324 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34325 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34326 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34327 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34328 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34329 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34330 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34331 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34332 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34333 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34334 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34335 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34336 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34337 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34338 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
34339 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34340 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34341 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34342 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34343 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34344 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34345 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34346 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34347 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34348 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34349 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34350 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34351 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34352 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34353 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34354 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34355 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34356 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34357 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34358 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34359 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34360 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34361 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34362 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34363 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34364 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34365 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34366 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34367 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34368 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34369 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34370 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34371 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34372 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34373 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34374 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34375 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34376 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34377 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34378 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34379 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34380 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34381 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34382 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34383 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34384 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34385 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34386 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34387 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34388 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34389 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34390 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34391 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34392 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34393 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34394 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34395 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34396 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34397 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34398 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34399 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34400 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34401 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34402 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34403 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34404 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34405 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34406 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34407 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34408 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34409 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34410 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34411 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34412 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34413 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34415 static swig_type_info
*swig_type_initial
[] = {
34417 &_swigt__p_form_ops_t
,
34419 &_swigt__p_unsigned_char
,
34420 &_swigt__p_unsigned_int
,
34421 &_swigt__p_unsigned_long
,
34423 &_swigt__p_wxANIHandler
,
34424 &_swigt__p_wxAcceleratorTable
,
34425 &_swigt__p_wxActivateEvent
,
34426 &_swigt__p_wxArrayString
,
34427 &_swigt__p_wxBMPHandler
,
34428 &_swigt__p_wxBitmap
,
34429 &_swigt__p_wxBitmapDataObject
,
34430 &_swigt__p_wxBoxSizer
,
34431 &_swigt__p_wxBusyCursor
,
34432 &_swigt__p_wxBusyInfo
,
34433 &_swigt__p_wxCURHandler
,
34434 &_swigt__p_wxCaret
,
34436 &_swigt__p_wxChildFocusEvent
,
34437 &_swigt__p_wxClipboard
,
34438 &_swigt__p_wxClipboardLocker
,
34439 &_swigt__p_wxCloseEvent
,
34440 &_swigt__p_wxColour
,
34441 &_swigt__p_wxCommandEvent
,
34442 &_swigt__p_wxConfig
,
34443 &_swigt__p_wxConfigBase
,
34444 &_swigt__p_wxConfigPathChanger
,
34445 &_swigt__p_wxContextMenuEvent
,
34446 &_swigt__p_wxControl
,
34447 &_swigt__p_wxControlWithItems
,
34448 &_swigt__p_wxCursor
,
34449 &_swigt__p_wxCustomDataObject
,
34451 &_swigt__p_wxDataFormat
,
34452 &_swigt__p_wxDataObject
,
34453 &_swigt__p_wxDataObjectComposite
,
34454 &_swigt__p_wxDataObjectSimple
,
34455 &_swigt__p_wxDateEvent
,
34456 &_swigt__p_wxDateSpan
,
34457 &_swigt__p_wxDateTime
,
34458 &_swigt__p_wxDateTime__TimeZone
,
34459 &_swigt__p_wxDisplay
,
34460 &_swigt__p_wxDisplayChangedEvent
,
34461 &_swigt__p_wxDropFilesEvent
,
34462 &_swigt__p_wxDuplexMode
,
34463 &_swigt__p_wxEraseEvent
,
34464 &_swigt__p_wxEvent
,
34465 &_swigt__p_wxEvtHandler
,
34466 &_swigt__p_wxFSFile
,
34467 &_swigt__p_wxFileConfig
,
34468 &_swigt__p_wxFileDataObject
,
34469 &_swigt__p_wxFileHistory
,
34470 &_swigt__p_wxFileSystem
,
34471 &_swigt__p_wxFileType
,
34472 &_swigt__p_wxFileTypeInfo
,
34473 &_swigt__p_wxFlexGridSizer
,
34474 &_swigt__p_wxFocusEvent
,
34476 &_swigt__p_wxFrame
,
34477 &_swigt__p_wxGBSizerItem
,
34478 &_swigt__p_wxGIFHandler
,
34479 &_swigt__p_wxGridBagSizer
,
34480 &_swigt__p_wxGridSizer
,
34481 &_swigt__p_wxICOHandler
,
34483 &_swigt__p_wxIconizeEvent
,
34484 &_swigt__p_wxIdleEvent
,
34485 &_swigt__p_wxImage
,
34486 &_swigt__p_wxImageHandler
,
34487 &_swigt__p_wxIndividualLayoutConstraint
,
34488 &_swigt__p_wxInitDialogEvent
,
34489 &_swigt__p_wxJPEGHandler
,
34490 &_swigt__p_wxJoystick
,
34491 &_swigt__p_wxJoystickEvent
,
34492 &_swigt__p_wxKeyEvent
,
34493 &_swigt__p_wxKillError
,
34494 &_swigt__p_wxLayoutConstraints
,
34496 &_swigt__p_wxLogBuffer
,
34497 &_swigt__p_wxLogChain
,
34498 &_swigt__p_wxLogGui
,
34499 &_swigt__p_wxLogNull
,
34500 &_swigt__p_wxLogStderr
,
34501 &_swigt__p_wxLogTextCtrl
,
34502 &_swigt__p_wxLogWindow
,
34503 &_swigt__p_wxMaximizeEvent
,
34504 &_swigt__p_wxMemorySize
,
34506 &_swigt__p_wxMenuBar
,
34507 &_swigt__p_wxMenuEvent
,
34508 &_swigt__p_wxMenuItem
,
34509 &_swigt__p_wxMetafile
,
34510 &_swigt__p_wxMetafileDataObject
,
34511 &_swigt__p_wxMimeTypesManager
,
34512 &_swigt__p_wxMouseCaptureChangedEvent
,
34513 &_swigt__p_wxMouseEvent
,
34514 &_swigt__p_wxMouseState
,
34515 &_swigt__p_wxMoveEvent
,
34516 &_swigt__p_wxMutexGuiLocker
,
34517 &_swigt__p_wxNavigationKeyEvent
,
34518 &_swigt__p_wxNcPaintEvent
,
34519 &_swigt__p_wxNotifyEvent
,
34520 &_swigt__p_wxObject
,
34521 &_swigt__p_wxOutputStream
,
34522 &_swigt__p_wxPCXHandler
,
34523 &_swigt__p_wxPNGHandler
,
34524 &_swigt__p_wxPNMHandler
,
34525 &_swigt__p_wxPaintEvent
,
34526 &_swigt__p_wxPaletteChangedEvent
,
34527 &_swigt__p_wxPaperSize
,
34528 &_swigt__p_wxPoint
,
34529 &_swigt__p_wxProcessEvent
,
34530 &_swigt__p_wxPyApp
,
34531 &_swigt__p_wxPyArtProvider
,
34532 &_swigt__p_wxPyBitmapDataObject
,
34533 &_swigt__p_wxPyCommandEvent
,
34534 &_swigt__p_wxPyDataObjectSimple
,
34535 &_swigt__p_wxPyDropSource
,
34536 &_swigt__p_wxPyDropTarget
,
34537 &_swigt__p_wxPyEvent
,
34538 &_swigt__p_wxPyFileDropTarget
,
34539 &_swigt__p_wxPyImageHandler
,
34540 &_swigt__p_wxPyLog
,
34541 &_swigt__p_wxPyProcess
,
34542 &_swigt__p_wxPySizer
,
34543 &_swigt__p_wxPyTextDataObject
,
34544 &_swigt__p_wxPyTextDropTarget
,
34545 &_swigt__p_wxPyTimer
,
34546 &_swigt__p_wxPyTipProvider
,
34547 &_swigt__p_wxPyValidator
,
34548 &_swigt__p_wxQueryNewPaletteEvent
,
34550 &_swigt__p_wxScrollEvent
,
34551 &_swigt__p_wxScrollWinEvent
,
34552 &_swigt__p_wxSetCursorEvent
,
34553 &_swigt__p_wxShowEvent
,
34554 &_swigt__p_wxSingleInstanceChecker
,
34556 &_swigt__p_wxSizeEvent
,
34557 &_swigt__p_wxSizer
,
34558 &_swigt__p_wxSizerItem
,
34559 &_swigt__p_wxSound
,
34560 &_swigt__p_wxStandardPaths
,
34561 &_swigt__p_wxStaticBoxSizer
,
34562 &_swigt__p_wxStdDialogButtonSizer
,
34563 &_swigt__p_wxStopWatch
,
34564 &_swigt__p_wxString
,
34565 &_swigt__p_wxSysColourChangedEvent
,
34566 &_swigt__p_wxSystemOptions
,
34567 &_swigt__p_wxSystemSettings
,
34568 &_swigt__p_wxTIFFHandler
,
34569 &_swigt__p_wxTextCtrl
,
34570 &_swigt__p_wxTextDataObject
,
34571 &_swigt__p_wxTimeSpan
,
34572 &_swigt__p_wxTimer
,
34573 &_swigt__p_wxTimerEvent
,
34574 &_swigt__p_wxTimerRunner
,
34575 &_swigt__p_wxTipProvider
,
34576 &_swigt__p_wxToolTip
,
34577 &_swigt__p_wxURLDataObject
,
34578 &_swigt__p_wxUpdateUIEvent
,
34579 &_swigt__p_wxValidator
,
34580 &_swigt__p_wxVideoMode
,
34581 &_swigt__p_wxWindow
,
34582 &_swigt__p_wxWindowCreateEvent
,
34583 &_swigt__p_wxWindowDestroyEvent
,
34584 &_swigt__p_wxWindowDisabler
,
34585 &_swigt__p_wxXPMHandler
,
34586 &_swigt__ptrdiff_t
,
34587 &_swigt__std__ptrdiff_t
,
34588 &_swigt__unsigned_int
,
34591 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34592 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34593 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34594 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34595 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34596 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34597 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34598 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34599 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34600 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}};
34601 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34602 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34603 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34604 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34605 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34606 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34607 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34608 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34609 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}};
34610 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34611 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34612 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34613 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34614 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34615 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}};
34616 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34617 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}};
34618 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34619 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34620 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34621 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34622 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34623 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34624 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34625 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34626 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34627 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34628 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34629 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34630 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34631 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34632 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34633 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34634 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34635 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34636 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34637 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34638 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34639 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34640 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34641 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34642 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34643 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34644 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34645 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34646 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34647 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34648 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34649 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34650 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34651 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34652 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34653 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34654 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34655 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34656 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34657 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34658 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34659 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}};
34660 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34661 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34662 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34663 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34664 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34665 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34666 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}};
34667 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34668 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34669 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34670 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34671 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34672 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34673 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34674 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34675 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34676 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34677 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34678 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}};
34679 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34680 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34681 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34682 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34683 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34684 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34685 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34686 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34687 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34688 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
34689 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34690 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34691 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34692 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34693 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34694 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34695 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34696 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34697 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34698 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34699 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34700 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34701 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34702 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34703 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34704 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34705 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34706 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34707 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34708 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34709 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34710 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34711 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34712 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34713 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34714 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34715 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34716 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34717 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34718 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34719 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34720 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34721 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34722 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34723 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}};
34724 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34725 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34726 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34727 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34728 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34729 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34730 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34731 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34732 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}};
34733 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34734 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34735 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34736 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34737 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34738 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34739 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34740 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34741 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34742 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34743 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34744 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34745 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34746 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34747 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34748 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34749 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34750 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}};
34751 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34752 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34753 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34754 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34755 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}};
34756 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34757 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34758 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34759 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}};
34760 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34761 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34762 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34763 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34765 static swig_cast_info
*swig_cast_initial
[] = {
34767 _swigc__p_form_ops_t
,
34769 _swigc__p_unsigned_char
,
34770 _swigc__p_unsigned_int
,
34771 _swigc__p_unsigned_long
,
34773 _swigc__p_wxANIHandler
,
34774 _swigc__p_wxAcceleratorTable
,
34775 _swigc__p_wxActivateEvent
,
34776 _swigc__p_wxArrayString
,
34777 _swigc__p_wxBMPHandler
,
34778 _swigc__p_wxBitmap
,
34779 _swigc__p_wxBitmapDataObject
,
34780 _swigc__p_wxBoxSizer
,
34781 _swigc__p_wxBusyCursor
,
34782 _swigc__p_wxBusyInfo
,
34783 _swigc__p_wxCURHandler
,
34786 _swigc__p_wxChildFocusEvent
,
34787 _swigc__p_wxClipboard
,
34788 _swigc__p_wxClipboardLocker
,
34789 _swigc__p_wxCloseEvent
,
34790 _swigc__p_wxColour
,
34791 _swigc__p_wxCommandEvent
,
34792 _swigc__p_wxConfig
,
34793 _swigc__p_wxConfigBase
,
34794 _swigc__p_wxConfigPathChanger
,
34795 _swigc__p_wxContextMenuEvent
,
34796 _swigc__p_wxControl
,
34797 _swigc__p_wxControlWithItems
,
34798 _swigc__p_wxCursor
,
34799 _swigc__p_wxCustomDataObject
,
34801 _swigc__p_wxDataFormat
,
34802 _swigc__p_wxDataObject
,
34803 _swigc__p_wxDataObjectComposite
,
34804 _swigc__p_wxDataObjectSimple
,
34805 _swigc__p_wxDateEvent
,
34806 _swigc__p_wxDateSpan
,
34807 _swigc__p_wxDateTime
,
34808 _swigc__p_wxDateTime__TimeZone
,
34809 _swigc__p_wxDisplay
,
34810 _swigc__p_wxDisplayChangedEvent
,
34811 _swigc__p_wxDropFilesEvent
,
34812 _swigc__p_wxDuplexMode
,
34813 _swigc__p_wxEraseEvent
,
34815 _swigc__p_wxEvtHandler
,
34816 _swigc__p_wxFSFile
,
34817 _swigc__p_wxFileConfig
,
34818 _swigc__p_wxFileDataObject
,
34819 _swigc__p_wxFileHistory
,
34820 _swigc__p_wxFileSystem
,
34821 _swigc__p_wxFileType
,
34822 _swigc__p_wxFileTypeInfo
,
34823 _swigc__p_wxFlexGridSizer
,
34824 _swigc__p_wxFocusEvent
,
34827 _swigc__p_wxGBSizerItem
,
34828 _swigc__p_wxGIFHandler
,
34829 _swigc__p_wxGridBagSizer
,
34830 _swigc__p_wxGridSizer
,
34831 _swigc__p_wxICOHandler
,
34833 _swigc__p_wxIconizeEvent
,
34834 _swigc__p_wxIdleEvent
,
34836 _swigc__p_wxImageHandler
,
34837 _swigc__p_wxIndividualLayoutConstraint
,
34838 _swigc__p_wxInitDialogEvent
,
34839 _swigc__p_wxJPEGHandler
,
34840 _swigc__p_wxJoystick
,
34841 _swigc__p_wxJoystickEvent
,
34842 _swigc__p_wxKeyEvent
,
34843 _swigc__p_wxKillError
,
34844 _swigc__p_wxLayoutConstraints
,
34846 _swigc__p_wxLogBuffer
,
34847 _swigc__p_wxLogChain
,
34848 _swigc__p_wxLogGui
,
34849 _swigc__p_wxLogNull
,
34850 _swigc__p_wxLogStderr
,
34851 _swigc__p_wxLogTextCtrl
,
34852 _swigc__p_wxLogWindow
,
34853 _swigc__p_wxMaximizeEvent
,
34854 _swigc__p_wxMemorySize
,
34856 _swigc__p_wxMenuBar
,
34857 _swigc__p_wxMenuEvent
,
34858 _swigc__p_wxMenuItem
,
34859 _swigc__p_wxMetafile
,
34860 _swigc__p_wxMetafileDataObject
,
34861 _swigc__p_wxMimeTypesManager
,
34862 _swigc__p_wxMouseCaptureChangedEvent
,
34863 _swigc__p_wxMouseEvent
,
34864 _swigc__p_wxMouseState
,
34865 _swigc__p_wxMoveEvent
,
34866 _swigc__p_wxMutexGuiLocker
,
34867 _swigc__p_wxNavigationKeyEvent
,
34868 _swigc__p_wxNcPaintEvent
,
34869 _swigc__p_wxNotifyEvent
,
34870 _swigc__p_wxObject
,
34871 _swigc__p_wxOutputStream
,
34872 _swigc__p_wxPCXHandler
,
34873 _swigc__p_wxPNGHandler
,
34874 _swigc__p_wxPNMHandler
,
34875 _swigc__p_wxPaintEvent
,
34876 _swigc__p_wxPaletteChangedEvent
,
34877 _swigc__p_wxPaperSize
,
34879 _swigc__p_wxProcessEvent
,
34881 _swigc__p_wxPyArtProvider
,
34882 _swigc__p_wxPyBitmapDataObject
,
34883 _swigc__p_wxPyCommandEvent
,
34884 _swigc__p_wxPyDataObjectSimple
,
34885 _swigc__p_wxPyDropSource
,
34886 _swigc__p_wxPyDropTarget
,
34887 _swigc__p_wxPyEvent
,
34888 _swigc__p_wxPyFileDropTarget
,
34889 _swigc__p_wxPyImageHandler
,
34891 _swigc__p_wxPyProcess
,
34892 _swigc__p_wxPySizer
,
34893 _swigc__p_wxPyTextDataObject
,
34894 _swigc__p_wxPyTextDropTarget
,
34895 _swigc__p_wxPyTimer
,
34896 _swigc__p_wxPyTipProvider
,
34897 _swigc__p_wxPyValidator
,
34898 _swigc__p_wxQueryNewPaletteEvent
,
34900 _swigc__p_wxScrollEvent
,
34901 _swigc__p_wxScrollWinEvent
,
34902 _swigc__p_wxSetCursorEvent
,
34903 _swigc__p_wxShowEvent
,
34904 _swigc__p_wxSingleInstanceChecker
,
34906 _swigc__p_wxSizeEvent
,
34908 _swigc__p_wxSizerItem
,
34910 _swigc__p_wxStandardPaths
,
34911 _swigc__p_wxStaticBoxSizer
,
34912 _swigc__p_wxStdDialogButtonSizer
,
34913 _swigc__p_wxStopWatch
,
34914 _swigc__p_wxString
,
34915 _swigc__p_wxSysColourChangedEvent
,
34916 _swigc__p_wxSystemOptions
,
34917 _swigc__p_wxSystemSettings
,
34918 _swigc__p_wxTIFFHandler
,
34919 _swigc__p_wxTextCtrl
,
34920 _swigc__p_wxTextDataObject
,
34921 _swigc__p_wxTimeSpan
,
34923 _swigc__p_wxTimerEvent
,
34924 _swigc__p_wxTimerRunner
,
34925 _swigc__p_wxTipProvider
,
34926 _swigc__p_wxToolTip
,
34927 _swigc__p_wxURLDataObject
,
34928 _swigc__p_wxUpdateUIEvent
,
34929 _swigc__p_wxValidator
,
34930 _swigc__p_wxVideoMode
,
34931 _swigc__p_wxWindow
,
34932 _swigc__p_wxWindowCreateEvent
,
34933 _swigc__p_wxWindowDestroyEvent
,
34934 _swigc__p_wxWindowDisabler
,
34935 _swigc__p_wxXPMHandler
,
34937 _swigc__std__ptrdiff_t
,
34938 _swigc__unsigned_int
,
34942 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34944 static swig_const_info swig_const_table
[] = {
34945 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34946 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34947 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34948 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34949 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34950 {0, 0, 0, 0.0, 0, 0}};
34955 /*************************************************************************
34956 * Type initialization:
34957 * This problem is tough by the requirement that no dynamic
34958 * memory is used. Also, since swig_type_info structures store pointers to
34959 * swig_cast_info structures and swig_cast_info structures store pointers back
34960 * to swig_type_info structures, we need some lookup code at initialization.
34961 * The idea is that swig generates all the structures that are needed.
34962 * The runtime then collects these partially filled structures.
34963 * The SWIG_InitializeModule function takes these initial arrays out of
34964 * swig_module, and does all the lookup, filling in the swig_module.types
34965 * array with the correct data and linking the correct swig_cast_info
34966 * structures together.
34968 * The generated swig_type_info structures are assigned staticly to an initial
34969 * array. We just loop though that array, and handle each type individually.
34970 * First we lookup if this type has been already loaded, and if so, use the
34971 * loaded structure instead of the generated one. Then we have to fill in the
34972 * cast linked list. The cast data is initially stored in something like a
34973 * two-dimensional array. Each row corresponds to a type (there are the same
34974 * number of rows as there are in the swig_type_initial array). Each entry in
34975 * a column is one of the swig_cast_info structures for that type.
34976 * The cast_initial array is actually an array of arrays, because each row has
34977 * a variable number of columns. So to actually build the cast linked list,
34978 * we find the array of casts associated with the type, and loop through it
34979 * adding the casts to the list. The one last trick we need to do is making
34980 * sure the type pointer in the swig_cast_info struct is correct.
34982 * First off, we lookup the cast->type name to see if it is already loaded.
34983 * There are three cases to handle:
34984 * 1) If the cast->type has already been loaded AND the type we are adding
34985 * casting info to has not been loaded (it is in this module), THEN we
34986 * replace the cast->type pointer with the type pointer that has already
34988 * 2) If BOTH types (the one we are adding casting info to, and the
34989 * cast->type) are loaded, THEN the cast info has already been loaded by
34990 * the previous module so we just ignore it.
34991 * 3) Finally, if cast->type has not already been loaded, then we add that
34992 * swig_cast_info to the linked list (because the cast->type) pointer will
35004 #define SWIGRUNTIME_DEBUG
35008 SWIG_InitializeModule(void *clientdata
) {
35010 swig_module_info
*module_head
;
35011 static int init_run
= 0;
35013 clientdata
= clientdata
;
35015 if (init_run
) return;
35018 /* Initialize the swig_module */
35019 swig_module
.type_initial
= swig_type_initial
;
35020 swig_module
.cast_initial
= swig_cast_initial
;
35022 /* Try and load any already created modules */
35023 module_head
= SWIG_GetModule(clientdata
);
35025 swig_module
.next
= module_head
->next
;
35026 module_head
->next
= &swig_module
;
35028 /* This is the first module loaded */
35029 swig_module
.next
= &swig_module
;
35030 SWIG_SetModule(clientdata
, &swig_module
);
35033 /* Now work on filling in swig_module.types */
35034 #ifdef SWIGRUNTIME_DEBUG
35035 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
35037 for (i
= 0; i
< swig_module
.size
; ++i
) {
35038 swig_type_info
*type
= 0;
35039 swig_type_info
*ret
;
35040 swig_cast_info
*cast
;
35042 #ifdef SWIGRUNTIME_DEBUG
35043 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35046 /* if there is another module already loaded */
35047 if (swig_module
.next
!= &swig_module
) {
35048 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
35051 /* Overwrite clientdata field */
35052 #ifdef SWIGRUNTIME_DEBUG
35053 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
35055 if (swig_module
.type_initial
[i
]->clientdata
) {
35056 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
35057 #ifdef SWIGRUNTIME_DEBUG
35058 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
35062 type
= swig_module
.type_initial
[i
];
35065 /* Insert casting types */
35066 cast
= swig_module
.cast_initial
[i
];
35067 while (cast
->type
) {
35068 /* Don't need to add information already in the list */
35070 #ifdef SWIGRUNTIME_DEBUG
35071 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
35073 if (swig_module
.next
!= &swig_module
) {
35074 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
35075 #ifdef SWIGRUNTIME_DEBUG
35076 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
35080 if (type
== swig_module
.type_initial
[i
]) {
35081 #ifdef SWIGRUNTIME_DEBUG
35082 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
35087 /* Check for casting already in the list */
35088 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
35089 #ifdef SWIGRUNTIME_DEBUG
35090 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
35092 if (!ocast
) ret
= 0;
35097 #ifdef SWIGRUNTIME_DEBUG
35098 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
35101 type
->cast
->prev
= cast
;
35102 cast
->next
= type
->cast
;
35108 /* Set entry in modules->types array equal to the type */
35109 swig_module
.types
[i
] = type
;
35111 swig_module
.types
[i
] = 0;
35113 #ifdef SWIGRUNTIME_DEBUG
35114 printf("**** SWIG_InitializeModule: Cast List ******\n");
35115 for (i
= 0; i
< swig_module
.size
; ++i
) {
35117 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
35118 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35119 while (cast
->type
) {
35120 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
35124 printf("---- Total casts: %d\n",j
);
35126 printf("**** SWIG_InitializeModule: Cast List ******\n");
35130 /* This function will propagate the clientdata field of type to
35131 * any new swig_type_info structures that have been added into the list
35132 * of equivalent types. It is like calling
35133 * SWIG_TypeClientData(type, clientdata) a second time.
35136 SWIG_PropagateClientData(void) {
35138 swig_cast_info
*equiv
;
35139 static int init_run
= 0;
35141 if (init_run
) return;
35144 for (i
= 0; i
< swig_module
.size
; i
++) {
35145 if (swig_module
.types
[i
]->clientdata
) {
35146 equiv
= swig_module
.types
[i
]->cast
;
35148 if (!equiv
->converter
) {
35149 if (equiv
->type
&& !equiv
->type
->clientdata
)
35150 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
35152 equiv
= equiv
->next
;
35172 /* Python-specific SWIG API */
35173 #define SWIG_newvarlink() SWIG_Python_newvarlink()
35174 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35175 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35177 /* -----------------------------------------------------------------------------
35178 * global variable support code.
35179 * ----------------------------------------------------------------------------- */
35181 typedef struct swig_globalvar
{
35182 char *name
; /* Name of global variable */
35183 PyObject
*(*get_attr
)(void); /* Return the current value */
35184 int (*set_attr
)(PyObject
*); /* Set the value */
35185 struct swig_globalvar
*next
;
35188 typedef struct swig_varlinkobject
{
35190 swig_globalvar
*vars
;
35191 } swig_varlinkobject
;
35193 SWIGINTERN PyObject
*
35194 swig_varlink_repr(swig_varlinkobject
*v
) {
35196 return PyString_FromString("<Swig global variables>");
35200 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
35201 swig_globalvar
*var
;
35203 fprintf(fp
,"Swig global variables { ");
35204 for (var
= v
->vars
; var
; var
=var
->next
) {
35205 fprintf(fp
,"%s", var
->name
);
35206 if (var
->next
) fprintf(fp
,", ");
35208 fprintf(fp
," }\n");
35212 SWIGINTERN PyObject
*
35213 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
35214 swig_globalvar
*var
= v
->vars
;
35216 if (strcmp(var
->name
,n
) == 0) {
35217 return (*var
->get_attr
)();
35221 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35226 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
35227 swig_globalvar
*var
= v
->vars
;
35229 if (strcmp(var
->name
,n
) == 0) {
35230 return (*var
->set_attr
)(p
);
35234 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35238 SWIGINTERN PyTypeObject
*
35239 swig_varlink_type(void) {
35240 static char varlink__doc__
[] = "Swig var link object";
35241 static PyTypeObject varlink_type
35242 #if !defined(__cplusplus)
35244 static int type_init
= 0;
35249 PyObject_HEAD_INIT(&PyType_Type
)
35250 0, /* Number of items in variable part (ob_size) */
35251 (char *)"swigvarlink", /* Type name (tp_name) */
35252 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
35253 0, /* Itemsize (tp_itemsize) */
35254 0, /* Deallocator (tp_dealloc) */
35255 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35256 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35257 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35258 0, /* tp_compare */
35259 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35260 0, /* tp_as_number */
35261 0, /* tp_as_sequence */
35262 0, /* tp_as_mapping */
35266 0, /* tp_getattro */
35267 0, /* tp_setattro */
35268 0, /* tp_as_buffer */
35270 varlink__doc__
, /* tp_doc */
35271 #if PY_VERSION_HEX >= 0x02000000
35272 0, /* tp_traverse */
35275 #if PY_VERSION_HEX >= 0x02010000
35276 0, /* tp_richcompare */
35277 0, /* tp_weaklistoffset */
35279 #if PY_VERSION_HEX >= 0x02020000
35280 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35282 #if PY_VERSION_HEX >= 0x02030000
35285 #ifdef COUNT_ALLOCS
35286 0,0,0,0 /* tp_alloc -> tp_next */
35289 #if !defined(__cplusplus)
35290 varlink_type
= tmp
;
35294 return &varlink_type
;
35297 /* Create a variable linking object for use later */
35298 SWIGINTERN PyObject
*
35299 SWIG_Python_newvarlink(void) {
35300 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35304 return ((PyObject
*) result
);
35308 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35309 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35310 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35312 size_t size
= strlen(name
)+1;
35313 gv
->name
= (char *)malloc(size
);
35315 strncpy(gv
->name
,name
,size
);
35316 gv
->get_attr
= get_attr
;
35317 gv
->set_attr
= set_attr
;
35318 gv
->next
= v
->vars
;
35324 /* -----------------------------------------------------------------------------
35325 * constants/methods manipulation
35326 * ----------------------------------------------------------------------------- */
35328 /* Install Constants */
35330 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35333 for (i
= 0; constants
[i
].type
; ++i
) {
35334 switch(constants
[i
].type
) {
35336 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35338 case SWIG_PY_FLOAT
:
35339 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35341 case SWIG_PY_STRING
:
35342 if (constants
[i
].pvalue
) {
35343 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35345 Py_INCREF(Py_None
);
35349 case SWIG_PY_POINTER
:
35350 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35352 case SWIG_PY_BINARY
:
35353 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35360 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35366 /* -----------------------------------------------------------------------------*/
35367 /* Fix SwigMethods to carry the callback ptrs when needed */
35368 /* -----------------------------------------------------------------------------*/
35371 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35372 swig_const_info
*const_table
,
35373 swig_type_info
**types
,
35374 swig_type_info
**types_initial
) {
35376 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35377 char *c
= methods
[i
].ml_doc
;
35378 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35380 swig_const_info
*ci
= 0;
35381 char *name
= c
+ 10;
35382 for (j
= 0; const_table
[j
].type
; ++j
) {
35383 if (strncmp(const_table
[j
].name
, name
,
35384 strlen(const_table
[j
].name
)) == 0) {
35385 ci
= &(const_table
[j
]);
35390 size_t shift
= (ci
->ptype
) - types
;
35391 swig_type_info
*ty
= types_initial
[shift
];
35392 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35393 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35394 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35397 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35399 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35401 strncpy(buff
, "swig_ptr: ", 10);
35403 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35404 methods
[i
].ml_doc
= ndoc
;
35412 /* -----------------------------------------------------------------------------*
35413 * Initialize type list
35414 * -----------------------------------------------------------------------------*/
35420 /* -----------------------------------------------------------------------------*
35421 * Partial Init method
35422 * -----------------------------------------------------------------------------*/
35427 SWIGEXPORT
void SWIG_init(void) {
35428 static PyObject
*SWIG_globals
= 0;
35430 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35432 /* Fix SwigMethods to carry the callback ptrs when needed */
35433 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35435 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35436 d
= PyModule_GetDict(m
);
35438 SWIG_InitializeModule(0);
35439 SWIG_InstallConstants(d
,swig_const_table
);
35442 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35445 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35448 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35451 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35454 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35457 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35460 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35463 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35466 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35469 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35472 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35475 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35478 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35481 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35484 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35487 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35490 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35493 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35496 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35499 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35502 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35505 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35508 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35511 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35514 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35517 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35520 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35523 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35526 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35529 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35532 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35535 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35538 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35541 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35544 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35547 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35550 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35553 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35556 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35559 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35562 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35565 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35568 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35571 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35574 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35577 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35580 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35583 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35586 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35589 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35592 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35595 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35598 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35601 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35604 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35607 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35610 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35613 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35616 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35619 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35622 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35625 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35628 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35631 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35634 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35637 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35640 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35643 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35646 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35649 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35652 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35655 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35658 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35661 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35664 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35667 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35670 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35673 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35676 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35679 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35682 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35685 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35688 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35691 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35694 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35697 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35700 PyDict_SetItemString(d
,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_TABLET_PRESENT
)));
35703 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35706 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35709 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35712 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35715 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35717 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35718 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35719 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35720 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35721 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35723 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35726 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35729 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35732 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35734 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35736 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35739 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35742 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35745 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35748 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35751 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35754 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35757 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35760 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35763 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35766 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35769 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35771 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35772 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35773 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35774 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35775 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35777 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35780 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35783 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35786 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35789 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35792 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35795 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35798 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35801 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35804 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35807 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35810 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35813 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35816 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35819 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35822 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35825 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35828 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35831 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35834 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35837 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35840 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35843 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35846 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35849 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35852 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35855 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35858 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35861 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35864 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35867 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35869 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35871 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35874 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35877 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35880 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35883 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35886 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35889 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35892 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35895 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35898 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35901 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35904 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35907 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35909 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35910 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35911 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35912 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35914 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35917 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35920 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35923 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35926 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35929 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35932 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35935 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35937 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35938 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35939 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35940 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35941 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35942 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35943 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35944 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35945 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35946 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35947 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35948 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35949 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35950 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35951 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35952 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35953 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35954 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35955 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35956 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35957 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35958 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35959 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35981 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35982 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35983 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35984 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35985 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35995 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35998 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
36001 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
36004 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
36007 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
36010 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
36013 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
36016 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
36019 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
36022 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
36024 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
36025 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
36027 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
36030 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
36033 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
36036 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
36039 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
36042 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
36045 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
36048 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
36051 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
36054 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
36057 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
36060 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
36063 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
36066 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
36069 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
36072 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
36075 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
36078 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
36081 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
36084 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
36087 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
36090 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
36093 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
36096 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
36099 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
36102 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
36105 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
36108 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
36111 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
36114 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
36117 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
36120 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
36123 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
36126 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
36129 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
36132 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
36135 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
36138 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
36141 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
36144 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
36147 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
36150 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
36153 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
36156 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
36159 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
36162 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
36165 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
36168 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
36171 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
36174 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
36177 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
36180 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
36183 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
36186 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
36189 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
36192 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
36195 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
36198 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
36201 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
36204 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
36207 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
36210 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
36213 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
36216 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
36219 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
36222 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
36225 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
36228 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
36231 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
36234 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
36237 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
36240 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
36243 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
36246 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
36249 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
36252 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
36255 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36258 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36261 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36264 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36267 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36270 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36273 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36276 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36279 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36282 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36285 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36288 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36291 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36294 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36297 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36300 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36303 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36306 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36309 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36312 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36315 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36318 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36321 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36324 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36327 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36330 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36333 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36336 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36339 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36342 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36345 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36348 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36351 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36354 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36357 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36360 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36363 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36366 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36369 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36372 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36375 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36378 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36381 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36384 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36387 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36390 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36393 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36396 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36399 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36402 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36405 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36408 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36411 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36414 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36417 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36420 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36423 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36426 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36429 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36432 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36435 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36438 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36441 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36444 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36447 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36450 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36453 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36456 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36459 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36462 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36465 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36468 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36471 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36474 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36477 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36480 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36483 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36486 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36489 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36491 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36493 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36496 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36499 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36502 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36505 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36508 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36511 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36514 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36517 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36520 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36523 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36526 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36529 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36532 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36535 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36538 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36541 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36544 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36547 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36550 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36552 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36554 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36557 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36560 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36563 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36566 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36569 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36572 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36575 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36578 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36581 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36584 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36587 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36590 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36591 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36592 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36593 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36595 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);