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 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[9]
1445 #define SWIGTYPE_p_wxBoxSizer swig_types[10]
1446 #define SWIGTYPE_p_wxBusyInfo swig_types[11]
1447 #define SWIGTYPE_p_wxCURHandler swig_types[12]
1448 #define SWIGTYPE_p_wxCalendarCtrl swig_types[13]
1449 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[14]
1450 #define SWIGTYPE_p_wxCalendarEvent swig_types[15]
1451 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
1452 #define SWIGTYPE_p_wxClipboard swig_types[17]
1453 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
1454 #define SWIGTYPE_p_wxColour swig_types[19]
1455 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1457 #define SWIGTYPE_p_wxControl swig_types[22]
1458 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1459 #define SWIGTYPE_p_wxDateEvent swig_types[24]
1460 #define SWIGTYPE_p_wxDateTime swig_types[25]
1461 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26]
1462 #define SWIGTYPE_p_wxDropFilesEvent swig_types[27]
1463 #define SWIGTYPE_p_wxDuplexMode swig_types[28]
1464 #define SWIGTYPE_p_wxEraseEvent swig_types[29]
1465 #define SWIGTYPE_p_wxEvent swig_types[30]
1466 #define SWIGTYPE_p_wxEvtHandler swig_types[31]
1467 #define SWIGTYPE_p_wxFSFile swig_types[32]
1468 #define SWIGTYPE_p_wxFileHistory swig_types[33]
1469 #define SWIGTYPE_p_wxFileSystem swig_types[34]
1470 #define SWIGTYPE_p_wxFlexGridSizer swig_types[35]
1471 #define SWIGTYPE_p_wxFocusEvent swig_types[36]
1472 #define SWIGTYPE_p_wxFont swig_types[37]
1473 #define SWIGTYPE_p_wxGBSizerItem swig_types[38]
1474 #define SWIGTYPE_p_wxGIFHandler swig_types[39]
1475 #define SWIGTYPE_p_wxGridBagSizer swig_types[40]
1476 #define SWIGTYPE_p_wxGridSizer swig_types[41]
1477 #define SWIGTYPE_p_wxICOHandler swig_types[42]
1478 #define SWIGTYPE_p_wxIconizeEvent swig_types[43]
1479 #define SWIGTYPE_p_wxIdleEvent swig_types[44]
1480 #define SWIGTYPE_p_wxImage swig_types[45]
1481 #define SWIGTYPE_p_wxImageHandler swig_types[46]
1482 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[47]
1483 #define SWIGTYPE_p_wxInitDialogEvent swig_types[48]
1484 #define SWIGTYPE_p_wxJPEGHandler swig_types[49]
1485 #define SWIGTYPE_p_wxJoystickEvent swig_types[50]
1486 #define SWIGTYPE_p_wxKeyEvent swig_types[51]
1487 #define SWIGTYPE_p_wxLayoutConstraints swig_types[52]
1488 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1489 #define SWIGTYPE_p_wxMenu swig_types[54]
1490 #define SWIGTYPE_p_wxMenuBar swig_types[55]
1491 #define SWIGTYPE_p_wxMenuEvent swig_types[56]
1492 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1493 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58]
1494 #define SWIGTYPE_p_wxMouseEvent swig_types[59]
1495 #define SWIGTYPE_p_wxMoveEvent swig_types[60]
1496 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61]
1497 #define SWIGTYPE_p_wxNcPaintEvent swig_types[62]
1498 #define SWIGTYPE_p_wxNotifyEvent swig_types[63]
1499 #define SWIGTYPE_p_wxObject swig_types[64]
1500 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1501 #define SWIGTYPE_p_wxPNGHandler swig_types[66]
1502 #define SWIGTYPE_p_wxPNMHandler swig_types[67]
1503 #define SWIGTYPE_p_wxPaintEvent swig_types[68]
1504 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69]
1505 #define SWIGTYPE_p_wxPaperSize swig_types[70]
1506 #define SWIGTYPE_p_wxProcessEvent swig_types[71]
1507 #define SWIGTYPE_p_wxPyApp swig_types[72]
1508 #define SWIGTYPE_p_wxPyCommandEvent swig_types[73]
1509 #define SWIGTYPE_p_wxPyEvent swig_types[74]
1510 #define SWIGTYPE_p_wxPyImageHandler swig_types[75]
1511 #define SWIGTYPE_p_wxPyProcess swig_types[76]
1512 #define SWIGTYPE_p_wxPySizer swig_types[77]
1513 #define SWIGTYPE_p_wxPyTimer swig_types[78]
1514 #define SWIGTYPE_p_wxPyValidator swig_types[79]
1515 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[80]
1516 #define SWIGTYPE_p_wxScrollEvent swig_types[81]
1517 #define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
1518 #define SWIGTYPE_p_wxSetCursorEvent swig_types[83]
1519 #define SWIGTYPE_p_wxShowEvent swig_types[84]
1520 #define SWIGTYPE_p_wxSizeEvent swig_types[85]
1521 #define SWIGTYPE_p_wxSizer swig_types[86]
1522 #define SWIGTYPE_p_wxSizerItem swig_types[87]
1523 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[88]
1524 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[89]
1525 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[90]
1526 #define SWIGTYPE_p_wxSystemOptions swig_types[91]
1527 #define SWIGTYPE_p_wxTIFFHandler swig_types[92]
1528 #define SWIGTYPE_p_wxTimerEvent swig_types[93]
1529 #define SWIGTYPE_p_wxToolTip swig_types[94]
1530 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[95]
1531 #define SWIGTYPE_p_wxValidator swig_types[96]
1532 #define SWIGTYPE_p_wxVisualAttributes swig_types[97]
1533 #define SWIGTYPE_p_wxWindow swig_types[98]
1534 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[99]
1535 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[100]
1536 #define SWIGTYPE_p_wxXPMHandler swig_types[101]
1537 #define SWIGTYPE_ptrdiff_t swig_types[102]
1538 #define SWIGTYPE_std__ptrdiff_t swig_types[103]
1539 #define SWIGTYPE_unsigned_int swig_types[104]
1540 static swig_type_info
*swig_types
[106];
1541 static swig_module_info swig_module
= {swig_types
, 105, 0, 0, 0, 0};
1542 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1543 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1545 /* -------- TYPES TABLE (END) -------- */
1548 /*-----------------------------------------------
1549 @(target):= _calendar.so
1550 ------------------------------------------------*/
1551 #define SWIG_init init_calendar
1553 #define SWIG_name "_calendar"
1555 #include "wx/wxPython/wxPython.h"
1556 #include "wx/wxPython/pyclasses.h"
1558 #include <wx/calctrl.h>
1561 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1562 #define SWIG_From_int PyInt_FromLong
1570 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1573 if (value
< min_value
) {
1575 PyErr_Format(PyExc_OverflowError
,
1576 "value %ld is less than '%s' minimum %ld",
1577 value
, errmsg
, min_value
);
1580 } else if (value
> max_value
) {
1582 PyErr_Format(PyExc_OverflowError
,
1583 "value %ld is greater than '%s' maximum %ld",
1584 value
, errmsg
, max_value
);
1593 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1595 if (PyNumber_Check(obj
)) {
1596 if (val
) *val
= PyInt_AsLong(obj
);
1600 SWIG_Python_TypeError("number", obj
);
1606 #if INT_MAX != LONG_MAX
1608 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1610 const char* errmsg
= val
? "int" : (char*)0;
1612 if (SWIG_AsVal_long(obj
, &v
)) {
1613 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1614 if (val
) *val
= static_cast<int >(v
);
1623 SWIG_type_error(errmsg
, obj
);
1628 SWIGINTERNINLINE
int
1629 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1631 return SWIG_AsVal_long(obj
,(long*)val
);
1636 SWIGINTERNINLINE
int
1637 SWIG_As_int(PyObject
* obj
)
1640 if (!SWIG_AsVal_int(obj
, &v
)) {
1642 this is needed to make valgrind/purify happier.
1644 memset((void*)&v
, 0, sizeof(int));
1650 SWIGINTERNINLINE
int
1651 SWIG_Check_int(PyObject
* obj
)
1653 return SWIG_AsVal_int(obj
, (int*)0);
1658 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1660 if (obj
== Py_True
) {
1661 if (val
) *val
= true;
1664 if (obj
== Py_False
) {
1665 if (val
) *val
= false;
1669 if (SWIG_AsVal_int(obj
, &res
)) {
1670 if (val
) *val
= res
? true : false;
1676 SWIG_type_error("bool", obj
);
1682 SWIGINTERNINLINE
bool
1683 SWIG_As_bool(PyObject
* obj
)
1686 if (!SWIG_AsVal_bool(obj
, &v
)) {
1688 this is needed to make valgrind/purify happier.
1690 memset((void*)&v
, 0, sizeof(bool));
1696 SWIGINTERNINLINE
int
1697 SWIG_Check_bool(PyObject
* obj
)
1699 return SWIG_AsVal_bool(obj
, (bool*)0);
1702 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
1704 SWIGINTERNINLINE
long
1705 SWIG_As_long(PyObject
* obj
)
1708 if (!SWIG_AsVal_long(obj
, &v
)) {
1710 this is needed to make valgrind/purify happier.
1712 memset((void*)&v
, 0, sizeof(long));
1718 SWIGINTERNINLINE
int
1719 SWIG_Check_long(PyObject
* obj
)
1721 return SWIG_AsVal_long(obj
, (long*)0);
1726 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1729 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1730 SWIG_Python_TypeError("unsigned number", obj
);
1733 *val
= (unsigned long)v
;
1738 SWIGINTERNINLINE
unsigned long
1739 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1742 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1744 this is needed to make valgrind/purify happier.
1746 memset((void*)&v
, 0, sizeof(unsigned long));
1752 SWIGINTERNINLINE
int
1753 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1755 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1758 static PyObject
*wxCalendarCtrl_HitTest(wxCalendarCtrl
*self
,wxPoint
const &pos
){
1759 wxDateTime
* date
= new wxDateTime
;
1760 wxDateTime::WeekDay wd
;
1761 wxCalendarHitTestResult result
= self
->HitTest(pos
, date
, &wd
);
1762 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1763 PyObject
* tup
= PyTuple_New(3);
1764 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(result
));
1765 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(date
, wxT("wxDateTime"), 1));
1766 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(wd
));
1767 wxPyEndBlockThreads(blocked
);
1773 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
*resultobj
= NULL
;
1775 wxColour
const &arg1_defvalue
= wxNullColour
;
1776 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
1777 wxColour
const &arg2_defvalue
= wxNullColour
;
1778 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
1779 wxColour
const &arg3_defvalue
= wxNullColour
;
1780 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
1781 wxFont
const &arg4_defvalue
= wxNullFont
;
1782 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
1783 wxCalendarDateBorder arg5
= (wxCalendarDateBorder
) wxCAL_BORDER_NONE
;
1784 wxCalendarDateAttr
*result
;
1788 PyObject
* obj0
= 0 ;
1789 PyObject
* obj1
= 0 ;
1790 PyObject
* obj2
= 0 ;
1791 PyObject
* obj3
= 0 ;
1792 PyObject
* obj4
= 0 ;
1794 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
1801 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1813 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1818 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
1819 if (SWIG_arg_fail(4)) SWIG_fail
;
1821 SWIG_null_ref("wxFont");
1823 if (SWIG_arg_fail(4)) SWIG_fail
;
1828 arg5
= static_cast<wxCalendarDateBorder
>(SWIG_As_int(obj4
));
1829 if (SWIG_arg_fail(5)) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,arg5
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 1);
1846 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
*resultobj
= NULL
;
1848 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
1849 wxColour
*arg2
= 0 ;
1851 PyObject
* obj0
= 0 ;
1852 PyObject
* obj1
= 0 ;
1854 (char *) "self",(char *) "colText", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
1859 if (SWIG_arg_fail(1)) SWIG_fail
;
1862 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 Py_INCREF(Py_None
); resultobj
= Py_None
;
1878 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
= NULL
;
1880 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
1881 wxColour
*arg2
= 0 ;
1883 PyObject
* obj0
= 0 ;
1884 PyObject
* obj1
= 0 ;
1886 (char *) "self",(char *) "colBack", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
1891 if (SWIG_arg_fail(1)) SWIG_fail
;
1894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 Py_INCREF(Py_None
); resultobj
= Py_None
;
1910 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
= NULL
;
1912 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
1913 wxColour
*arg2
= 0 ;
1915 PyObject
* obj0
= 0 ;
1916 PyObject
* obj1
= 0 ;
1918 (char *) "self",(char *) "col", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
1923 if (SWIG_arg_fail(1)) SWIG_fail
;
1926 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1935 Py_INCREF(Py_None
); resultobj
= Py_None
;
1942 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
= NULL
;
1944 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
1946 PyObject
* obj0
= 0 ;
1947 PyObject
* obj1
= 0 ;
1949 (char *) "self",(char *) "font", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
1953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
1954 if (SWIG_arg_fail(1)) SWIG_fail
;
1956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
1957 if (SWIG_arg_fail(2)) SWIG_fail
;
1959 SWIG_null_ref("wxFont");
1961 if (SWIG_arg_fail(2)) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 (arg1
)->SetFont((wxFont
const &)*arg2
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 Py_INCREF(Py_None
); resultobj
= Py_None
;
1977 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
= NULL
;
1979 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
1980 wxCalendarDateBorder arg2
;
1981 PyObject
* obj0
= 0 ;
1982 PyObject
* obj1
= 0 ;
1984 (char *) "self",(char *) "border", NULL
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
1988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
1989 if (SWIG_arg_fail(1)) SWIG_fail
;
1991 arg2
= static_cast<wxCalendarDateBorder
>(SWIG_As_int(obj1
));
1992 if (SWIG_arg_fail(2)) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 (arg1
)->SetBorder(arg2
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 Py_INCREF(Py_None
); resultobj
= Py_None
;
2008 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
= NULL
;
2010 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2012 PyObject
* obj0
= 0 ;
2013 PyObject
* obj1
= 0 ;
2015 (char *) "self",(char *) "holiday", NULL
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
2019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2020 if (SWIG_arg_fail(1)) SWIG_fail
;
2022 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2023 if (SWIG_arg_fail(2)) SWIG_fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 (arg1
)->SetHoliday(arg2
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 Py_INCREF(Py_None
); resultobj
= Py_None
;
2039 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
= NULL
;
2041 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2043 PyObject
* obj0
= 0 ;
2045 (char *) "self", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
2049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2050 if (SWIG_arg_fail(1)) SWIG_fail
;
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2067 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
= NULL
;
2069 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2073 (char *) "self", NULL
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
2077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2078 if (SWIG_arg_fail(1)) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2095 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
= NULL
;
2097 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2099 PyObject
* obj0
= 0 ;
2101 (char *) "self", NULL
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
2105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2106 if (SWIG_arg_fail(1)) SWIG_fail
;
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2123 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
*resultobj
= NULL
;
2125 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2127 PyObject
* obj0
= 0 ;
2129 (char *) "self", NULL
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
2133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2134 if (SWIG_arg_fail(1)) SWIG_fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2151 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
= NULL
;
2153 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2155 PyObject
* obj0
= 0 ;
2157 (char *) "self", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
2161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2162 if (SWIG_arg_fail(1)) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2179 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
= NULL
;
2181 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2183 PyObject
* obj0
= 0 ;
2185 (char *) "self", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
2189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2190 if (SWIG_arg_fail(1)) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2207 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
= NULL
;
2209 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2213 (char *) "self", NULL
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
2217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2218 if (SWIG_arg_fail(1)) SWIG_fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2227 wxColour
* resultptr
;
2228 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
2229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2237 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
= NULL
;
2239 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2243 (char *) "self", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
2247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2248 if (SWIG_arg_fail(1)) SWIG_fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2257 wxColour
* resultptr
;
2258 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
2259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2267 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
*resultobj
= NULL
;
2269 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2271 PyObject
* obj0
= 0 ;
2273 (char *) "self", NULL
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
2277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2278 if (SWIG_arg_fail(1)) SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2287 wxColour
* resultptr
;
2288 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
2289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2297 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
= NULL
;
2299 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2301 PyObject
* obj0
= 0 ;
2303 (char *) "self", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
2307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2308 if (SWIG_arg_fail(1)) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2318 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
2319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
2327 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
= NULL
;
2329 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
2330 wxCalendarDateBorder result
;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "self", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
2337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
2338 if (SWIG_arg_fail(1)) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (wxCalendarDateBorder
)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 resultobj
= SWIG_From_int((result
));
2353 static PyObject
* CalendarDateAttr_swigregister(PyObject
*, PyObject
*args
) {
2355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2356 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
2358 return Py_BuildValue((char *)"");
2360 static PyObject
*_wrap_new_CalendarEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
*resultobj
= NULL
;
2362 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2364 wxCalendarEvent
*result
;
2365 PyObject
* obj0
= 0 ;
2366 PyObject
* obj1
= 0 ;
2368 (char *) "cal",(char *) "type", NULL
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
2372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2373 if (SWIG_arg_fail(1)) SWIG_fail
;
2375 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
2376 if (SWIG_arg_fail(2)) SWIG_fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarEvent
, 1);
2392 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
= NULL
;
2394 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
2395 wxDateTime::WeekDay arg2
;
2396 PyObject
* obj0
= 0 ;
2397 PyObject
* obj1
= 0 ;
2399 (char *) "self",(char *) "wd", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
2403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarEvent
, SWIG_POINTER_EXCEPTION
| 0);
2404 if (SWIG_arg_fail(1)) SWIG_fail
;
2406 arg2
= static_cast<wxDateTime::WeekDay
const >(SWIG_As_int(obj1
));
2407 if (SWIG_arg_fail(2)) SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 (arg1
)->SetWeekDay(arg2
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2416 Py_INCREF(Py_None
); resultobj
= Py_None
;
2423 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
= NULL
;
2425 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
2426 wxDateTime::WeekDay result
;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "self", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
2433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarEvent
, SWIG_POINTER_EXCEPTION
| 0);
2434 if (SWIG_arg_fail(1)) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= (wxDateTime::WeekDay
)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 resultobj
= SWIG_From_int((result
));
2449 static PyObject
* CalendarEvent_swigregister(PyObject
*, PyObject
*args
) {
2451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2452 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
2454 return Py_BuildValue((char *)"");
2456 static int _wrap_CalendarNameStr_set(PyObject
*) {
2457 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
2462 static PyObject
*_wrap_CalendarNameStr_get(void) {
2463 PyObject
*pyobj
= NULL
;
2467 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
2469 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
2476 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
= NULL
;
2478 wxWindow
*arg1
= (wxWindow
*) 0 ;
2479 int arg2
= (int) -1 ;
2480 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
2481 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
2482 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2483 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2484 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2485 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2486 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
2487 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
2488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2489 wxCalendarCtrl
*result
;
2492 bool temp7
= false ;
2493 PyObject
* obj0
= 0 ;
2494 PyObject
* obj1
= 0 ;
2495 PyObject
* obj2
= 0 ;
2496 PyObject
* obj3
= 0 ;
2497 PyObject
* obj4
= 0 ;
2498 PyObject
* obj5
= 0 ;
2499 PyObject
* obj6
= 0 ;
2501 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2506 if (SWIG_arg_fail(1)) SWIG_fail
;
2509 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2510 if (SWIG_arg_fail(2)) SWIG_fail
;
2515 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
2516 if (SWIG_arg_fail(3)) SWIG_fail
;
2518 SWIG_null_ref("wxDateTime");
2520 if (SWIG_arg_fail(3)) SWIG_fail
;
2526 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2532 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2537 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2538 if (SWIG_arg_fail(6)) SWIG_fail
;
2543 arg7
= wxString_in_helper(obj6
);
2544 if (arg7
== NULL
) SWIG_fail
;
2549 if (!wxPyCheckForApp()) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
2571 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
= NULL
;
2573 wxCalendarCtrl
*result
;
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
2580 if (!wxPyCheckForApp()) SWIG_fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
2594 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
= NULL
;
2596 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2597 wxWindow
*arg2
= (wxWindow
*) 0 ;
2599 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
2600 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
2601 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2602 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2603 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2604 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2605 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
2606 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
2607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2611 bool temp8
= false ;
2612 PyObject
* obj0
= 0 ;
2613 PyObject
* obj1
= 0 ;
2614 PyObject
* obj2
= 0 ;
2615 PyObject
* obj3
= 0 ;
2616 PyObject
* obj4
= 0 ;
2617 PyObject
* obj5
= 0 ;
2618 PyObject
* obj6
= 0 ;
2619 PyObject
* obj7
= 0 ;
2621 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2626 if (SWIG_arg_fail(1)) SWIG_fail
;
2627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2628 if (SWIG_arg_fail(2)) SWIG_fail
;
2630 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2631 if (SWIG_arg_fail(3)) SWIG_fail
;
2635 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
2636 if (SWIG_arg_fail(4)) SWIG_fail
;
2638 SWIG_null_ref("wxDateTime");
2640 if (SWIG_arg_fail(4)) SWIG_fail
;
2646 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2652 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2657 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2658 if (SWIG_arg_fail(7)) SWIG_fail
;
2663 arg8
= wxString_in_helper(obj7
);
2664 if (arg8
== NULL
) SWIG_fail
;
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2692 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
= NULL
;
2694 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2695 wxDateTime
*arg2
= 0 ;
2696 PyObject
* obj0
= 0 ;
2697 PyObject
* obj1
= 0 ;
2699 (char *) "self",(char *) "date", NULL
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
2703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2704 if (SWIG_arg_fail(1)) SWIG_fail
;
2706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
2707 if (SWIG_arg_fail(2)) SWIG_fail
;
2709 SWIG_null_ref("wxDateTime");
2711 if (SWIG_arg_fail(2)) SWIG_fail
;
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) SWIG_fail
;
2720 Py_INCREF(Py_None
); resultobj
= Py_None
;
2727 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
= NULL
;
2729 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2731 PyObject
* obj0
= 0 ;
2733 (char *) "self", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
2737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2738 if (SWIG_arg_fail(1)) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
2743 result
= (wxDateTime
*) &_result_ref
;
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
2756 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
= NULL
;
2758 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2759 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
2760 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
2762 PyObject
* obj0
= 0 ;
2763 PyObject
* obj1
= 0 ;
2765 (char *) "self",(char *) "date", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
2769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2770 if (SWIG_arg_fail(1)) SWIG_fail
;
2773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
2774 if (SWIG_arg_fail(2)) SWIG_fail
;
2776 SWIG_null_ref("wxDateTime");
2778 if (SWIG_arg_fail(2)) SWIG_fail
;
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2797 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
*resultobj
= NULL
;
2799 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2800 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
2801 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
2803 PyObject
* obj0
= 0 ;
2804 PyObject
* obj1
= 0 ;
2806 (char *) "self",(char *) "date", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
2810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2811 if (SWIG_arg_fail(1)) SWIG_fail
;
2814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
2815 if (SWIG_arg_fail(2)) SWIG_fail
;
2817 SWIG_null_ref("wxDateTime");
2819 if (SWIG_arg_fail(2)) SWIG_fail
;
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) SWIG_fail
;
2830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2838 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
= NULL
;
2840 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2842 PyObject
* obj0
= 0 ;
2844 (char *) "self", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
2848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2849 if (SWIG_arg_fail(1)) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
2854 result
= (wxDateTime
*) &_result_ref
;
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
2867 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
*resultobj
= NULL
;
2869 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2871 PyObject
* obj0
= 0 ;
2873 (char *) "self", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
2877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
2883 result
= (wxDateTime
*) &_result_ref
;
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
2896 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
= NULL
;
2898 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2899 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
2900 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
2901 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
2902 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
2904 PyObject
* obj0
= 0 ;
2905 PyObject
* obj1
= 0 ;
2906 PyObject
* obj2
= 0 ;
2908 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2913 if (SWIG_arg_fail(1)) SWIG_fail
;
2916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
2917 if (SWIG_arg_fail(2)) SWIG_fail
;
2919 SWIG_null_ref("wxDateTime");
2921 if (SWIG_arg_fail(2)) SWIG_fail
;
2926 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
2927 if (SWIG_arg_fail(3)) SWIG_fail
;
2929 SWIG_null_ref("wxDateTime");
2931 if (SWIG_arg_fail(3)) SWIG_fail
;
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2950 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
= NULL
;
2952 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2953 bool arg2
= (bool) true ;
2954 PyObject
* obj0
= 0 ;
2955 PyObject
* obj1
= 0 ;
2957 (char *) "self",(char *) "enable", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
2961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2962 if (SWIG_arg_fail(1)) SWIG_fail
;
2965 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2966 if (SWIG_arg_fail(2)) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 (arg1
)->EnableYearChange(arg2
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2976 Py_INCREF(Py_None
); resultobj
= Py_None
;
2983 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
= NULL
;
2985 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2986 bool arg2
= (bool) true ;
2987 PyObject
* obj0
= 0 ;
2988 PyObject
* obj1
= 0 ;
2990 (char *) "self",(char *) "enable", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
2994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2995 if (SWIG_arg_fail(1)) SWIG_fail
;
2998 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2999 if (SWIG_arg_fail(2)) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 (arg1
)->EnableMonthChange(arg2
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3009 Py_INCREF(Py_None
); resultobj
= Py_None
;
3016 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
= NULL
;
3018 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3019 bool arg2
= (bool) true ;
3020 PyObject
* obj0
= 0 ;
3021 PyObject
* obj1
= 0 ;
3023 (char *) "self",(char *) "display", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
3027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3028 if (SWIG_arg_fail(1)) SWIG_fail
;
3031 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3032 if (SWIG_arg_fail(2)) SWIG_fail
;
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 (arg1
)->EnableHolidayDisplay(arg2
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) SWIG_fail
;
3042 Py_INCREF(Py_None
); resultobj
= Py_None
;
3049 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
= NULL
;
3051 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3052 wxColour
*arg2
= 0 ;
3053 wxColour
*arg3
= 0 ;
3056 PyObject
* obj0
= 0 ;
3057 PyObject
* obj1
= 0 ;
3058 PyObject
* obj2
= 0 ;
3060 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3065 if (SWIG_arg_fail(1)) SWIG_fail
;
3068 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3072 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3081 Py_INCREF(Py_None
); resultobj
= Py_None
;
3088 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
= NULL
;
3090 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3092 PyObject
* obj0
= 0 ;
3094 (char *) "self", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
3098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3099 if (SWIG_arg_fail(1)) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3108 wxColour
* resultptr
;
3109 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3118 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
= NULL
;
3120 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3122 PyObject
* obj0
= 0 ;
3124 (char *) "self", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
3128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3129 if (SWIG_arg_fail(1)) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3138 wxColour
* resultptr
;
3139 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3148 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
= NULL
;
3150 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3151 wxColour
*arg2
= 0 ;
3152 wxColour
*arg3
= 0 ;
3155 PyObject
* obj0
= 0 ;
3156 PyObject
* obj1
= 0 ;
3157 PyObject
* obj2
= 0 ;
3159 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3164 if (SWIG_arg_fail(1)) SWIG_fail
;
3167 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3171 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3180 Py_INCREF(Py_None
); resultobj
= Py_None
;
3187 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
*resultobj
= NULL
;
3189 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3191 PyObject
* obj0
= 0 ;
3193 (char *) "self", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
3197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3198 if (SWIG_arg_fail(1)) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3207 wxColour
* resultptr
;
3208 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3217 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
= NULL
;
3219 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3221 PyObject
* obj0
= 0 ;
3223 (char *) "self", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
3227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3228 if (SWIG_arg_fail(1)) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3237 wxColour
* resultptr
;
3238 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3247 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
= NULL
;
3249 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3250 wxColour
*arg2
= 0 ;
3251 wxColour
*arg3
= 0 ;
3254 PyObject
* obj0
= 0 ;
3255 PyObject
* obj1
= 0 ;
3256 PyObject
* obj2
= 0 ;
3258 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3263 if (SWIG_arg_fail(1)) SWIG_fail
;
3266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3270 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
= NULL
;
3288 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "self", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
3296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3297 if (SWIG_arg_fail(1)) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3306 wxColour
* resultptr
;
3307 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3316 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
= NULL
;
3318 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3320 PyObject
* obj0
= 0 ;
3322 (char *) "self", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
3326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3327 if (SWIG_arg_fail(1)) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 wxColour
* resultptr
;
3337 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3346 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
= NULL
;
3348 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3350 wxCalendarDateAttr
*result
;
3351 PyObject
* obj0
= 0 ;
3352 PyObject
* obj1
= 0 ;
3354 (char *) "self",(char *) "day", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
3358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3359 if (SWIG_arg_fail(1)) SWIG_fail
;
3361 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
3362 if (SWIG_arg_fail(2)) SWIG_fail
;
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 0);
3378 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
= NULL
;
3380 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3382 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj1
= 0 ;
3385 PyObject
* obj2
= 0 ;
3387 (char *) "self",(char *) "day",(char *) "attr", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3392 if (SWIG_arg_fail(1)) SWIG_fail
;
3394 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
3395 if (SWIG_arg_fail(2)) SWIG_fail
;
3397 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCalendarDateAttr
, SWIG_POINTER_EXCEPTION
| 0);
3398 if (SWIG_arg_fail(3)) SWIG_fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 (arg1
)->SetAttr(arg2
,arg3
);
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3406 Py_INCREF(Py_None
); resultobj
= Py_None
;
3413 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
= NULL
;
3415 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3417 PyObject
* obj0
= 0 ;
3418 PyObject
* obj1
= 0 ;
3420 (char *) "self",(char *) "day", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
3424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3425 if (SWIG_arg_fail(1)) SWIG_fail
;
3427 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
3428 if (SWIG_arg_fail(2)) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 (arg1
)->SetHoliday(arg2
);
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 Py_INCREF(Py_None
); resultobj
= Py_None
;
3444 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
= NULL
;
3446 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3451 (char *) "self",(char *) "day", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
3455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3456 if (SWIG_arg_fail(1)) SWIG_fail
;
3458 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
3459 if (SWIG_arg_fail(2)) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 (arg1
)->ResetAttr(arg2
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 Py_INCREF(Py_None
); resultobj
= Py_None
;
3475 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
= NULL
;
3477 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3481 PyObject
* obj0
= 0 ;
3482 PyObject
* obj1
= 0 ;
3484 (char *) "self",(char *) "pos", NULL
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
3488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3489 if (SWIG_arg_fail(1)) SWIG_fail
;
3492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= (PyObject
*)wxCalendarCtrl_HitTest(arg1
,(wxPoint
const &)*arg2
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3508 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
*resultobj
= NULL
;
3510 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3512 PyObject
* obj0
= 0 ;
3514 (char *) "self", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
3518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3519 if (SWIG_arg_fail(1)) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 resultobj
= wxPyMake_wxObject(result
, 0);
3536 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
= NULL
;
3538 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
3540 PyObject
* obj0
= 0 ;
3542 (char *) "self", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
3546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalendarCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3547 if (SWIG_arg_fail(1)) SWIG_fail
;
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= wxPyMake_wxObject(result
, 0);
3564 static PyObject
*_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
= NULL
;
3566 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3567 wxVisualAttributes result
;
3568 PyObject
* obj0
= 0 ;
3570 (char *) "variant", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CalendarCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3576 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3577 if (SWIG_arg_fail(1)) SWIG_fail
;
3581 if (!wxPyCheckForApp()) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= wxCalendarCtrl::GetClassDefaultAttributes(arg1
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3589 wxVisualAttributes
* resultptr
;
3590 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3599 static PyObject
* CalendarCtrl_swigregister(PyObject
*, PyObject
*args
) {
3601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3602 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
3604 return Py_BuildValue((char *)"");
3606 static PyMethodDef SwigMethods
[] = {
3607 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3608 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3609 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3610 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3611 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3612 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3613 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3614 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3615 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3616 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3617 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3618 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3619 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3620 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3621 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3622 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3623 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3624 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3625 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
, NULL
},
3626 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3627 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3628 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3629 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
, NULL
},
3630 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3631 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3632 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3633 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3634 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3635 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3636 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3637 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3638 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3639 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3640 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3641 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3642 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3643 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3644 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3645 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3646 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3647 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3648 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3649 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3650 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3651 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3652 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3653 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3654 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3655 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3656 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3657 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3658 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3659 { (char *)"CalendarCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_CalendarCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3660 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
, NULL
},
3661 { NULL
, NULL
, 0, NULL
}
3665 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3667 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
3668 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
3670 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
3671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
3673 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
3674 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
3676 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
3677 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
3679 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
3680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
3682 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
3683 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
3685 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
3686 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
3688 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
3689 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
3691 static void *_p_wxSizerTo_p_wxObject(void *x
) {
3692 return (void *)((wxObject
*) ((wxSizer
*) x
));
3694 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
3695 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
3697 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
3698 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
3700 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
3701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3703 static void *_p_wxEventTo_p_wxObject(void *x
) {
3704 return (void *)((wxObject
*) ((wxEvent
*) x
));
3706 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
3707 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
3709 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
3710 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
3712 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
3713 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
3715 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
3716 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
3718 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
3719 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
3721 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
3722 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
3724 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
3725 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
3727 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
3728 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
3730 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
3731 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
3733 static void *_p_wxControlTo_p_wxObject(void *x
) {
3734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
3736 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
3737 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
3739 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
3740 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
3742 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
3743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxDateEvent
*) ((wxCalendarEvent
*) x
));
3745 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
3746 return (void *)((wxObject
*) ((wxFSFile
*) x
));
3748 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
3749 return (void *)((wxObject
*) ((wxClipboard
*) x
));
3751 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
3752 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
3754 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
3755 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
3757 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
3758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3760 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
3761 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
3763 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
3764 return (void *)((wxObject
*) ((wxToolTip
*) x
));
3766 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
3767 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
3769 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
3770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
3772 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
3773 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
3775 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
3776 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3778 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
3779 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
3781 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
3782 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
3784 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
3785 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
3787 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
3788 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
3790 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
3791 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
3793 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
3794 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
3796 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
3797 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
3799 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
3800 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
3802 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
3803 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
3805 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
3806 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
3808 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
3809 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
3811 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
3812 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
3814 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
3815 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
3817 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
3818 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
3820 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
3821 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
3823 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
3824 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
3826 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
3827 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
3829 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
3830 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
3832 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
3833 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
3835 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
3836 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
3838 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
3839 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
3841 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
3842 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
3844 static void *_p_wxImageTo_p_wxObject(void *x
) {
3845 return (void *)((wxObject
*) ((wxImage
*) x
));
3847 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
3848 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
3850 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
3851 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
3853 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
3854 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
3856 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
3857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3859 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
3860 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
3862 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
3863 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
3865 static void *_p_wxWindowTo_p_wxObject(void *x
) {
3866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
3868 static void *_p_wxMenuTo_p_wxObject(void *x
) {
3869 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
3871 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
3872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
3874 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
3875 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
3877 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
3878 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
3880 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
3881 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3883 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
3884 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
3886 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
3887 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
3889 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
3890 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
3892 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
3893 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
3895 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
3896 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
3898 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
3899 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
3901 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
3902 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3904 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
3905 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
3907 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
3908 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
3910 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
3911 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
3913 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
3914 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3916 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
3917 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
3919 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
3920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
3922 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
3923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
3925 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
3926 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
3928 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
3929 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
3931 static void *_p_wxControlTo_p_wxWindow(void *x
) {
3932 return (void *)((wxWindow
*) ((wxControl
*) x
));
3934 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
3935 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
3937 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
3938 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
3940 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
3941 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
3943 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
3944 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3946 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
3947 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
3949 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
3950 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3952 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
3953 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
3955 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
3956 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3958 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
3959 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3961 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
3962 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3964 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
3965 return (void *)((wxCommandEvent
*) (wxDateEvent
*) ((wxCalendarEvent
*) x
));
3967 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
3968 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3970 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
3971 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3973 static void *_p_wxCalendarEventTo_p_wxDateEvent(void *x
) {
3974 return (void *)((wxDateEvent
*) ((wxCalendarEvent
*) x
));
3976 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
3977 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
3979 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
3980 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
3982 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
3983 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
3985 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
3986 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
3988 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
3989 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
3991 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
3992 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
3994 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
3995 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
3997 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
3998 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
4000 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
4001 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
4003 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
4004 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
4006 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
4007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
4009 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
4010 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
4012 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
4013 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
4015 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
4016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
4018 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
4019 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
4021 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
4022 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
4024 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
4025 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
4027 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
4028 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
4030 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
4031 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
4033 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
4034 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
4036 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
4037 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxDateEvent
*) ((wxCalendarEvent
*) x
));
4039 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
4040 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
4042 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
4043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
4045 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
4046 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
4048 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
4049 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
4051 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
4052 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
4054 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
4055 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
4057 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
4058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
4060 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
4061 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
4063 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
4064 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
4066 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
4067 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
4069 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
4070 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
4072 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
4073 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
4075 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
4076 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
4078 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
4079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
4081 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
4082 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
4084 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
4085 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
4087 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
4088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
4090 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
4091 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
4093 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
4094 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
4096 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
4097 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
4099 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
4100 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
4102 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
4103 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
4105 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
4106 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
4108 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
4109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
4111 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
4112 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
4114 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
4115 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
4117 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
4118 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
4120 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
4121 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
4123 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
4124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
4126 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
4127 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
4129 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
4130 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
4132 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
4133 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
4135 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
4136 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
4137 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, 0};
4138 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
4139 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
4140 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
4141 static swig_type_info _swigt__p_wxCalendarCtrl
= {"_p_wxCalendarCtrl", "wxCalendarCtrl *", 0, 0, 0};
4142 static swig_type_info _swigt__p_wxCalendarDateAttr
= {"_p_wxCalendarDateAttr", "wxCalendarDateAttr *", 0, 0, 0};
4143 static swig_type_info _swigt__p_wxCalendarEvent
= {"_p_wxCalendarEvent", "wxCalendarEvent *", 0, 0, 0};
4144 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
4145 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
4146 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
4147 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
4148 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
4149 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
4150 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
4151 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
4152 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
4153 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
4154 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
4155 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
4156 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, 0};
4157 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
4158 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
4159 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
4160 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
4161 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
4162 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
4163 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
4164 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
4165 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", 0, 0, 0, 0};
4166 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
4167 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
4168 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", 0, 0, 0, 0};
4169 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
4170 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
4171 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
4172 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
4173 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
4174 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
4175 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
4176 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
4177 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
4178 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
4179 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
4180 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
4181 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
4182 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
4183 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
4184 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", 0, 0, 0, 0};
4185 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
4186 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
4187 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
4188 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
4189 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
4190 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
4191 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", 0, 0, 0, 0};
4192 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
4193 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
4194 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
4195 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
4196 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", 0, 0, 0, 0};
4197 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
4198 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
4199 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
4200 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
4201 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
4202 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
4203 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
4204 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
4205 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
4206 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
4207 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", 0, 0, 0, 0};
4208 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
4209 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
4210 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
4211 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", 0, 0, 0, 0};
4212 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
4213 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", 0, 0, 0, 0};
4214 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
4215 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
4216 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
4217 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
4218 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
4219 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
4220 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
4221 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
4222 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
4223 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
4224 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
4225 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
4226 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
4227 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
4228 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
4229 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
4230 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
4231 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", 0, 0, 0, 0};
4232 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
4233 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", 0, 0, 0, 0};
4234 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
4235 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
4236 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
4237 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
4238 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
4239 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
4241 static swig_type_info
*swig_type_initial
[] = {
4243 &_swigt__p_form_ops_t
,
4245 &_swigt__p_unsigned_char
,
4246 &_swigt__p_unsigned_int
,
4247 &_swigt__p_unsigned_long
,
4248 &_swigt__p_wxANIHandler
,
4249 &_swigt__p_wxAcceleratorTable
,
4250 &_swigt__p_wxActivateEvent
,
4251 &_swigt__p_wxBMPHandler
,
4252 &_swigt__p_wxBoxSizer
,
4253 &_swigt__p_wxBusyInfo
,
4254 &_swigt__p_wxCURHandler
,
4255 &_swigt__p_wxCalendarCtrl
,
4256 &_swigt__p_wxCalendarDateAttr
,
4257 &_swigt__p_wxCalendarEvent
,
4258 &_swigt__p_wxChildFocusEvent
,
4259 &_swigt__p_wxClipboard
,
4260 &_swigt__p_wxCloseEvent
,
4261 &_swigt__p_wxColour
,
4262 &_swigt__p_wxCommandEvent
,
4263 &_swigt__p_wxContextMenuEvent
,
4264 &_swigt__p_wxControl
,
4265 &_swigt__p_wxControlWithItems
,
4266 &_swigt__p_wxDateEvent
,
4267 &_swigt__p_wxDateTime
,
4268 &_swigt__p_wxDisplayChangedEvent
,
4269 &_swigt__p_wxDropFilesEvent
,
4270 &_swigt__p_wxDuplexMode
,
4271 &_swigt__p_wxEraseEvent
,
4273 &_swigt__p_wxEvtHandler
,
4274 &_swigt__p_wxFSFile
,
4275 &_swigt__p_wxFileHistory
,
4276 &_swigt__p_wxFileSystem
,
4277 &_swigt__p_wxFlexGridSizer
,
4278 &_swigt__p_wxFocusEvent
,
4280 &_swigt__p_wxGBSizerItem
,
4281 &_swigt__p_wxGIFHandler
,
4282 &_swigt__p_wxGridBagSizer
,
4283 &_swigt__p_wxGridSizer
,
4284 &_swigt__p_wxICOHandler
,
4285 &_swigt__p_wxIconizeEvent
,
4286 &_swigt__p_wxIdleEvent
,
4288 &_swigt__p_wxImageHandler
,
4289 &_swigt__p_wxIndividualLayoutConstraint
,
4290 &_swigt__p_wxInitDialogEvent
,
4291 &_swigt__p_wxJPEGHandler
,
4292 &_swigt__p_wxJoystickEvent
,
4293 &_swigt__p_wxKeyEvent
,
4294 &_swigt__p_wxLayoutConstraints
,
4295 &_swigt__p_wxMaximizeEvent
,
4297 &_swigt__p_wxMenuBar
,
4298 &_swigt__p_wxMenuEvent
,
4299 &_swigt__p_wxMenuItem
,
4300 &_swigt__p_wxMouseCaptureChangedEvent
,
4301 &_swigt__p_wxMouseEvent
,
4302 &_swigt__p_wxMoveEvent
,
4303 &_swigt__p_wxNavigationKeyEvent
,
4304 &_swigt__p_wxNcPaintEvent
,
4305 &_swigt__p_wxNotifyEvent
,
4306 &_swigt__p_wxObject
,
4307 &_swigt__p_wxPCXHandler
,
4308 &_swigt__p_wxPNGHandler
,
4309 &_swigt__p_wxPNMHandler
,
4310 &_swigt__p_wxPaintEvent
,
4311 &_swigt__p_wxPaletteChangedEvent
,
4312 &_swigt__p_wxPaperSize
,
4313 &_swigt__p_wxProcessEvent
,
4315 &_swigt__p_wxPyCommandEvent
,
4316 &_swigt__p_wxPyEvent
,
4317 &_swigt__p_wxPyImageHandler
,
4318 &_swigt__p_wxPyProcess
,
4319 &_swigt__p_wxPySizer
,
4320 &_swigt__p_wxPyTimer
,
4321 &_swigt__p_wxPyValidator
,
4322 &_swigt__p_wxQueryNewPaletteEvent
,
4323 &_swigt__p_wxScrollEvent
,
4324 &_swigt__p_wxScrollWinEvent
,
4325 &_swigt__p_wxSetCursorEvent
,
4326 &_swigt__p_wxShowEvent
,
4327 &_swigt__p_wxSizeEvent
,
4329 &_swigt__p_wxSizerItem
,
4330 &_swigt__p_wxStaticBoxSizer
,
4331 &_swigt__p_wxStdDialogButtonSizer
,
4332 &_swigt__p_wxSysColourChangedEvent
,
4333 &_swigt__p_wxSystemOptions
,
4334 &_swigt__p_wxTIFFHandler
,
4335 &_swigt__p_wxTimerEvent
,
4336 &_swigt__p_wxToolTip
,
4337 &_swigt__p_wxUpdateUIEvent
,
4338 &_swigt__p_wxValidator
,
4339 &_swigt__p_wxVisualAttributes
,
4340 &_swigt__p_wxWindow
,
4341 &_swigt__p_wxWindowCreateEvent
,
4342 &_swigt__p_wxWindowDestroyEvent
,
4343 &_swigt__p_wxXPMHandler
,
4345 &_swigt__std__ptrdiff_t
,
4346 &_swigt__unsigned_int
,
4349 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
4350 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
4351 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
4352 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
4353 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
4354 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
4355 static swig_cast_info _swigc__p_wxCalendarCtrl
[] = { {&_swigt__p_wxCalendarCtrl
, 0, 0, 0},{0, 0, 0, 0}};
4356 static swig_cast_info _swigc__p_wxCalendarDateAttr
[] = { {&_swigt__p_wxCalendarDateAttr
, 0, 0, 0},{0, 0, 0, 0}};
4357 static swig_cast_info _swigc__p_wxCalendarEvent
[] = { {&_swigt__p_wxCalendarEvent
, 0, 0, 0},{0, 0, 0, 0}};
4358 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
4359 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
4360 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
4361 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
4362 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
4363 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
4364 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
4365 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
4366 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
4367 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCalendarEvent
, _p_wxCalendarEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
4368 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
4369 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCalendarCtrl
, _p_wxCalendarCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
4370 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0}, {&_swigt__p_wxCalendarEvent
, _p_wxCalendarEventTo_p_wxDateEvent
, 0, 0},{0, 0, 0, 0}};
4371 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
4372 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
4373 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
4374 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
4375 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
4376 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
4377 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
4378 static swig_cast_info _swigc__p_wxTimerEvent
[] = {{&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
4379 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
4380 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
4381 static swig_cast_info _swigc__p_wxJoystickEvent
[] = {{&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
4382 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
4383 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
4384 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
4385 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
4386 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
4387 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
4388 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
4389 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
4390 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
4391 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
4392 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
4393 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
4394 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
4395 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
4396 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
4397 static swig_cast_info _swigc__p_wxProcessEvent
[] = {{&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
4398 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
4399 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
4400 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
4401 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
4402 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_wxCalendarEvent
, _p_wxCalendarEventTo_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}};
4403 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
4404 static swig_cast_info _swigc__p_wxPyTimer
[] = {{&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
4405 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
4406 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
4407 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
4408 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
4409 static swig_cast_info _swigc__p_wxPyProcess
[] = {{&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
4410 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_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_wxCalendarCtrl
, _p_wxCalendarCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
4411 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
4412 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
4413 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
4414 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
4415 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
4416 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
4417 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
4418 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
4419 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
4420 static swig_cast_info _swigc__p_wxFileHistory
[] = {{&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
4421 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
4422 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
4423 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
4424 static swig_cast_info _swigc__p_wxClipboard
[] = {{&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
4425 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
4426 static swig_cast_info _swigc__p_wxToolTip
[] = {{&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
4427 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
4428 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
4429 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
4430 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
4431 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
4432 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
4433 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
4434 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
4435 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
4436 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
4437 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
4438 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
4439 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
4440 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
4441 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
4442 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
4443 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
4444 static swig_cast_info _swigc__p_wxSystemOptions
[] = {{&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
4445 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
4446 static swig_cast_info _swigc__p_wxBusyInfo
[] = {{&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
4447 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalendarCtrl
, _p_wxCalendarCtrlTo_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_wxCalendarEvent
, _p_wxCalendarEventTo_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_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_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_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_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}};
4448 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
4449 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
4450 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}, {&_swigt__p_wxCalendarCtrl
, _p_wxCalendarCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
4451 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
4452 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
4453 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
4455 static swig_cast_info
*swig_cast_initial
[] = {
4457 _swigc__p_form_ops_t
,
4459 _swigc__p_unsigned_char
,
4460 _swigc__p_unsigned_int
,
4461 _swigc__p_unsigned_long
,
4462 _swigc__p_wxANIHandler
,
4463 _swigc__p_wxAcceleratorTable
,
4464 _swigc__p_wxActivateEvent
,
4465 _swigc__p_wxBMPHandler
,
4466 _swigc__p_wxBoxSizer
,
4467 _swigc__p_wxBusyInfo
,
4468 _swigc__p_wxCURHandler
,
4469 _swigc__p_wxCalendarCtrl
,
4470 _swigc__p_wxCalendarDateAttr
,
4471 _swigc__p_wxCalendarEvent
,
4472 _swigc__p_wxChildFocusEvent
,
4473 _swigc__p_wxClipboard
,
4474 _swigc__p_wxCloseEvent
,
4476 _swigc__p_wxCommandEvent
,
4477 _swigc__p_wxContextMenuEvent
,
4478 _swigc__p_wxControl
,
4479 _swigc__p_wxControlWithItems
,
4480 _swigc__p_wxDateEvent
,
4481 _swigc__p_wxDateTime
,
4482 _swigc__p_wxDisplayChangedEvent
,
4483 _swigc__p_wxDropFilesEvent
,
4484 _swigc__p_wxDuplexMode
,
4485 _swigc__p_wxEraseEvent
,
4487 _swigc__p_wxEvtHandler
,
4489 _swigc__p_wxFileHistory
,
4490 _swigc__p_wxFileSystem
,
4491 _swigc__p_wxFlexGridSizer
,
4492 _swigc__p_wxFocusEvent
,
4494 _swigc__p_wxGBSizerItem
,
4495 _swigc__p_wxGIFHandler
,
4496 _swigc__p_wxGridBagSizer
,
4497 _swigc__p_wxGridSizer
,
4498 _swigc__p_wxICOHandler
,
4499 _swigc__p_wxIconizeEvent
,
4500 _swigc__p_wxIdleEvent
,
4502 _swigc__p_wxImageHandler
,
4503 _swigc__p_wxIndividualLayoutConstraint
,
4504 _swigc__p_wxInitDialogEvent
,
4505 _swigc__p_wxJPEGHandler
,
4506 _swigc__p_wxJoystickEvent
,
4507 _swigc__p_wxKeyEvent
,
4508 _swigc__p_wxLayoutConstraints
,
4509 _swigc__p_wxMaximizeEvent
,
4511 _swigc__p_wxMenuBar
,
4512 _swigc__p_wxMenuEvent
,
4513 _swigc__p_wxMenuItem
,
4514 _swigc__p_wxMouseCaptureChangedEvent
,
4515 _swigc__p_wxMouseEvent
,
4516 _swigc__p_wxMoveEvent
,
4517 _swigc__p_wxNavigationKeyEvent
,
4518 _swigc__p_wxNcPaintEvent
,
4519 _swigc__p_wxNotifyEvent
,
4521 _swigc__p_wxPCXHandler
,
4522 _swigc__p_wxPNGHandler
,
4523 _swigc__p_wxPNMHandler
,
4524 _swigc__p_wxPaintEvent
,
4525 _swigc__p_wxPaletteChangedEvent
,
4526 _swigc__p_wxPaperSize
,
4527 _swigc__p_wxProcessEvent
,
4529 _swigc__p_wxPyCommandEvent
,
4530 _swigc__p_wxPyEvent
,
4531 _swigc__p_wxPyImageHandler
,
4532 _swigc__p_wxPyProcess
,
4533 _swigc__p_wxPySizer
,
4534 _swigc__p_wxPyTimer
,
4535 _swigc__p_wxPyValidator
,
4536 _swigc__p_wxQueryNewPaletteEvent
,
4537 _swigc__p_wxScrollEvent
,
4538 _swigc__p_wxScrollWinEvent
,
4539 _swigc__p_wxSetCursorEvent
,
4540 _swigc__p_wxShowEvent
,
4541 _swigc__p_wxSizeEvent
,
4543 _swigc__p_wxSizerItem
,
4544 _swigc__p_wxStaticBoxSizer
,
4545 _swigc__p_wxStdDialogButtonSizer
,
4546 _swigc__p_wxSysColourChangedEvent
,
4547 _swigc__p_wxSystemOptions
,
4548 _swigc__p_wxTIFFHandler
,
4549 _swigc__p_wxTimerEvent
,
4550 _swigc__p_wxToolTip
,
4551 _swigc__p_wxUpdateUIEvent
,
4552 _swigc__p_wxValidator
,
4553 _swigc__p_wxVisualAttributes
,
4555 _swigc__p_wxWindowCreateEvent
,
4556 _swigc__p_wxWindowDestroyEvent
,
4557 _swigc__p_wxXPMHandler
,
4559 _swigc__std__ptrdiff_t
,
4560 _swigc__unsigned_int
,
4564 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
4566 static swig_const_info swig_const_table
[] = {
4567 {0, 0, 0, 0.0, 0, 0}};
4572 /*************************************************************************
4573 * Type initialization:
4574 * This problem is tough by the requirement that no dynamic
4575 * memory is used. Also, since swig_type_info structures store pointers to
4576 * swig_cast_info structures and swig_cast_info structures store pointers back
4577 * to swig_type_info structures, we need some lookup code at initialization.
4578 * The idea is that swig generates all the structures that are needed.
4579 * The runtime then collects these partially filled structures.
4580 * The SWIG_InitializeModule function takes these initial arrays out of
4581 * swig_module, and does all the lookup, filling in the swig_module.types
4582 * array with the correct data and linking the correct swig_cast_info
4583 * structures together.
4585 * The generated swig_type_info structures are assigned staticly to an initial
4586 * array. We just loop though that array, and handle each type individually.
4587 * First we lookup if this type has been already loaded, and if so, use the
4588 * loaded structure instead of the generated one. Then we have to fill in the
4589 * cast linked list. The cast data is initially stored in something like a
4590 * two-dimensional array. Each row corresponds to a type (there are the same
4591 * number of rows as there are in the swig_type_initial array). Each entry in
4592 * a column is one of the swig_cast_info structures for that type.
4593 * The cast_initial array is actually an array of arrays, because each row has
4594 * a variable number of columns. So to actually build the cast linked list,
4595 * we find the array of casts associated with the type, and loop through it
4596 * adding the casts to the list. The one last trick we need to do is making
4597 * sure the type pointer in the swig_cast_info struct is correct.
4599 * First off, we lookup the cast->type name to see if it is already loaded.
4600 * There are three cases to handle:
4601 * 1) If the cast->type has already been loaded AND the type we are adding
4602 * casting info to has not been loaded (it is in this module), THEN we
4603 * replace the cast->type pointer with the type pointer that has already
4605 * 2) If BOTH types (the one we are adding casting info to, and the
4606 * cast->type) are loaded, THEN the cast info has already been loaded by
4607 * the previous module so we just ignore it.
4608 * 3) Finally, if cast->type has not already been loaded, then we add that
4609 * swig_cast_info to the linked list (because the cast->type) pointer will
4621 #define SWIGRUNTIME_DEBUG
4625 SWIG_InitializeModule(void *clientdata
) {
4627 swig_module_info
*module_head
;
4628 static int init_run
= 0;
4630 clientdata
= clientdata
;
4632 if (init_run
) return;
4635 /* Initialize the swig_module */
4636 swig_module
.type_initial
= swig_type_initial
;
4637 swig_module
.cast_initial
= swig_cast_initial
;
4639 /* Try and load any already created modules */
4640 module_head
= SWIG_GetModule(clientdata
);
4642 swig_module
.next
= module_head
->next
;
4643 module_head
->next
= &swig_module
;
4645 /* This is the first module loaded */
4646 swig_module
.next
= &swig_module
;
4647 SWIG_SetModule(clientdata
, &swig_module
);
4650 /* Now work on filling in swig_module.types */
4651 #ifdef SWIGRUNTIME_DEBUG
4652 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
4654 for (i
= 0; i
< swig_module
.size
; ++i
) {
4655 swig_type_info
*type
= 0;
4656 swig_type_info
*ret
;
4657 swig_cast_info
*cast
;
4659 #ifdef SWIGRUNTIME_DEBUG
4660 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
4663 /* if there is another module already loaded */
4664 if (swig_module
.next
!= &swig_module
) {
4665 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
4668 /* Overwrite clientdata field */
4669 #ifdef SWIGRUNTIME_DEBUG
4670 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
4672 if (swig_module
.type_initial
[i
]->clientdata
) {
4673 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
4674 #ifdef SWIGRUNTIME_DEBUG
4675 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
4679 type
= swig_module
.type_initial
[i
];
4682 /* Insert casting types */
4683 cast
= swig_module
.cast_initial
[i
];
4684 while (cast
->type
) {
4685 /* Don't need to add information already in the list */
4687 #ifdef SWIGRUNTIME_DEBUG
4688 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
4690 if (swig_module
.next
!= &swig_module
) {
4691 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
4692 #ifdef SWIGRUNTIME_DEBUG
4693 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
4697 if (type
== swig_module
.type_initial
[i
]) {
4698 #ifdef SWIGRUNTIME_DEBUG
4699 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
4704 /* Check for casting already in the list */
4705 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
4706 #ifdef SWIGRUNTIME_DEBUG
4707 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
4709 if (!ocast
) ret
= 0;
4714 #ifdef SWIGRUNTIME_DEBUG
4715 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
4718 type
->cast
->prev
= cast
;
4719 cast
->next
= type
->cast
;
4725 /* Set entry in modules->types array equal to the type */
4726 swig_module
.types
[i
] = type
;
4728 swig_module
.types
[i
] = 0;
4730 #ifdef SWIGRUNTIME_DEBUG
4731 printf("**** SWIG_InitializeModule: Cast List ******\n");
4732 for (i
= 0; i
< swig_module
.size
; ++i
) {
4734 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
4735 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
4736 while (cast
->type
) {
4737 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
4741 printf("---- Total casts: %d\n",j
);
4743 printf("**** SWIG_InitializeModule: Cast List ******\n");
4747 /* This function will propagate the clientdata field of type to
4748 * any new swig_type_info structures that have been added into the list
4749 * of equivalent types. It is like calling
4750 * SWIG_TypeClientData(type, clientdata) a second time.
4753 SWIG_PropagateClientData(void) {
4755 swig_cast_info
*equiv
;
4756 static int init_run
= 0;
4758 if (init_run
) return;
4761 for (i
= 0; i
< swig_module
.size
; i
++) {
4762 if (swig_module
.types
[i
]->clientdata
) {
4763 equiv
= swig_module
.types
[i
]->cast
;
4765 if (!equiv
->converter
) {
4766 if (equiv
->type
&& !equiv
->type
->clientdata
)
4767 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
4769 equiv
= equiv
->next
;
4789 /* Python-specific SWIG API */
4790 #define SWIG_newvarlink() SWIG_Python_newvarlink()
4791 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
4792 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
4794 /* -----------------------------------------------------------------------------
4795 * global variable support code.
4796 * ----------------------------------------------------------------------------- */
4798 typedef struct swig_globalvar
{
4799 char *name
; /* Name of global variable */
4800 PyObject
*(*get_attr
)(void); /* Return the current value */
4801 int (*set_attr
)(PyObject
*); /* Set the value */
4802 struct swig_globalvar
*next
;
4805 typedef struct swig_varlinkobject
{
4807 swig_globalvar
*vars
;
4808 } swig_varlinkobject
;
4810 SWIGINTERN PyObject
*
4811 swig_varlink_repr(swig_varlinkobject
*v
) {
4813 return PyString_FromString("<Swig global variables>");
4817 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
4818 swig_globalvar
*var
;
4820 fprintf(fp
,"Swig global variables { ");
4821 for (var
= v
->vars
; var
; var
=var
->next
) {
4822 fprintf(fp
,"%s", var
->name
);
4823 if (var
->next
) fprintf(fp
,", ");
4829 SWIGINTERN PyObject
*
4830 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
4831 swig_globalvar
*var
= v
->vars
;
4833 if (strcmp(var
->name
,n
) == 0) {
4834 return (*var
->get_attr
)();
4838 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
4843 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
4844 swig_globalvar
*var
= v
->vars
;
4846 if (strcmp(var
->name
,n
) == 0) {
4847 return (*var
->set_attr
)(p
);
4851 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
4855 SWIGINTERN PyTypeObject
*
4856 swig_varlink_type(void) {
4857 static char varlink__doc__
[] = "Swig var link object";
4858 static PyTypeObject varlink_type
4859 #if !defined(__cplusplus)
4861 static int type_init
= 0;
4866 PyObject_HEAD_INIT(&PyType_Type
)
4867 0, /* Number of items in variable part (ob_size) */
4868 (char *)"swigvarlink", /* Type name (tp_name) */
4869 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
4870 0, /* Itemsize (tp_itemsize) */
4871 0, /* Deallocator (tp_dealloc) */
4872 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
4873 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
4874 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
4876 (reprfunc
) swig_varlink_repr
, /* tp_repr */
4877 0, /* tp_as_number */
4878 0, /* tp_as_sequence */
4879 0, /* tp_as_mapping */
4883 0, /* tp_getattro */
4884 0, /* tp_setattro */
4885 0, /* tp_as_buffer */
4887 varlink__doc__
, /* tp_doc */
4888 #if PY_VERSION_HEX >= 0x02000000
4889 0, /* tp_traverse */
4892 #if PY_VERSION_HEX >= 0x02010000
4893 0, /* tp_richcompare */
4894 0, /* tp_weaklistoffset */
4896 #if PY_VERSION_HEX >= 0x02020000
4897 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
4899 #if PY_VERSION_HEX >= 0x02030000
4903 0,0,0,0 /* tp_alloc -> tp_next */
4906 #if !defined(__cplusplus)
4911 return &varlink_type
;
4914 /* Create a variable linking object for use later */
4915 SWIGINTERN PyObject
*
4916 SWIG_Python_newvarlink(void) {
4917 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
4921 return ((PyObject
*) result
);
4925 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
4926 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
4927 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
4929 size_t size
= strlen(name
)+1;
4930 gv
->name
= (char *)malloc(size
);
4932 strncpy(gv
->name
,name
,size
);
4933 gv
->get_attr
= get_attr
;
4934 gv
->set_attr
= set_attr
;
4941 /* -----------------------------------------------------------------------------
4942 * constants/methods manipulation
4943 * ----------------------------------------------------------------------------- */
4945 /* Install Constants */
4947 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
4950 for (i
= 0; constants
[i
].type
; ++i
) {
4951 switch(constants
[i
].type
) {
4953 obj
= PyInt_FromLong(constants
[i
].lvalue
);
4956 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
4958 case SWIG_PY_STRING
:
4959 if (constants
[i
].pvalue
) {
4960 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
4966 case SWIG_PY_POINTER
:
4967 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
4969 case SWIG_PY_BINARY
:
4970 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
4977 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
4983 /* -----------------------------------------------------------------------------*/
4984 /* Fix SwigMethods to carry the callback ptrs when needed */
4985 /* -----------------------------------------------------------------------------*/
4988 SWIG_Python_FixMethods(PyMethodDef
*methods
,
4989 swig_const_info
*const_table
,
4990 swig_type_info
**types
,
4991 swig_type_info
**types_initial
) {
4993 for (i
= 0; methods
[i
].ml_name
; ++i
) {
4994 char *c
= methods
[i
].ml_doc
;
4995 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
4997 swig_const_info
*ci
= 0;
4998 char *name
= c
+ 10;
4999 for (j
= 0; const_table
[j
].type
; ++j
) {
5000 if (strncmp(const_table
[j
].name
, name
,
5001 strlen(const_table
[j
].name
)) == 0) {
5002 ci
= &(const_table
[j
]);
5007 size_t shift
= (ci
->ptype
) - types
;
5008 swig_type_info
*ty
= types_initial
[shift
];
5009 size_t ldoc
= (c
- methods
[i
].ml_doc
);
5010 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
5011 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
5014 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
5016 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
5018 strncpy(buff
, "swig_ptr: ", 10);
5020 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
5021 methods
[i
].ml_doc
= ndoc
;
5029 /* -----------------------------------------------------------------------------*
5030 * Initialize type list
5031 * -----------------------------------------------------------------------------*/
5037 /* -----------------------------------------------------------------------------*
5038 * Partial Init method
5039 * -----------------------------------------------------------------------------*/
5044 SWIGEXPORT
void SWIG_init(void) {
5045 static PyObject
*SWIG_globals
= 0;
5047 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
5049 /* Fix SwigMethods to carry the callback ptrs when needed */
5050 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
5052 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
5053 d
= PyModule_GetDict(m
);
5055 SWIG_InitializeModule(0);
5056 SWIG_InstallConstants(d
,swig_const_table
);
5059 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_From_int(static_cast<int >(wxCAL_SUNDAY_FIRST
)));
5062 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_From_int(static_cast<int >(wxCAL_MONDAY_FIRST
)));
5065 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_From_int(static_cast<int >(wxCAL_SHOW_HOLIDAYS
)));
5068 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_From_int(static_cast<int >(wxCAL_NO_YEAR_CHANGE
)));
5071 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_From_int(static_cast<int >(wxCAL_NO_MONTH_CHANGE
)));
5074 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_From_int(static_cast<int >(wxCAL_SEQUENTIAL_MONTH_SELECTION
)));
5077 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_From_int(static_cast<int >(wxCAL_SHOW_SURROUNDING_WEEKS
)));
5080 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxCAL_HITTEST_NOWHERE
)));
5083 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_From_int(static_cast<int >(wxCAL_HITTEST_HEADER
)));
5086 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_From_int(static_cast<int >(wxCAL_HITTEST_DAY
)));
5089 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_From_int(static_cast<int >(wxCAL_HITTEST_INCMONTH
)));
5092 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_From_int(static_cast<int >(wxCAL_HITTEST_DECMONTH
)));
5095 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_From_int(static_cast<int >(wxCAL_HITTEST_SURROUNDING_WEEK
)));
5098 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_From_int(static_cast<int >(wxCAL_BORDER_NONE
)));
5101 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_From_int(static_cast<int >(wxCAL_BORDER_SQUARE
)));
5104 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_From_int(static_cast<int >(wxCAL_BORDER_ROUND
)));
5106 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
5107 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
5108 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
5109 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
5110 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
5111 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
5112 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
5113 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);