]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/calendar_wrap.cpp
'[1219035] cleanup: miscellaneous' and minor source cleaning.
[wxWidgets.git] / wxPython / src / mac / calendar_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 3 * Version 1.3.24
d14a1e28
RD
4 *
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 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
d14a1e28
RD
27#endif
28
29
36ed4f51
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d14a1e28 37
9fd4be55 38
36ed4f51 39#include <Python.h>
d14a1e28
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
d14a1e28 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d14a1e28
RD
46 *
47 ************************************************************************/
48
36ed4f51
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d14a1e28 52
36ed4f51
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 58#else
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
d14a1e28
RD
60#endif
61
36ed4f51
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d14a1e28 67#else
36ed4f51
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
85#endif
86
d14a1e28
RD
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
0f774bef 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
0f774bef 98 void *clientdata;
d14a1e28
RD
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
36ed4f51
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
d14a1e28 375
36ed4f51
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
d14a1e28 417
36ed4f51
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d14a1e28
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
36ed4f51
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d14a1e28 441 *
36ed4f51 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d14a1e28 443 *
36ed4f51
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d14a1e28
RD
448 ************************************************************************/
449
36ed4f51
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
461#ifdef __cplusplus
462extern "C" {
463#endif
464
465
466/*************************************************************************/
467
468
469/* The static type info list */
470
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
480
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
486
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
492
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
502
503#ifdef __cplusplus
504}
505#endif
506
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
d14a1e28
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
514
36ed4f51
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
522
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
530
531
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552/* Constant Types */
d14a1e28
RD
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
36ed4f51
RD
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
568
569
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577#ifdef __cplusplus
578}
579#endif
580
581
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592/* Common SWIG API */
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
614
d14a1e28 615/* Flags for pointer conversion */
36ed4f51
RD
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
618
619
620#ifdef __cplusplus
621extern "C" {
622#endif
623
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
631
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648{
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656}
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
660{
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664}
665
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672}
673
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
682{
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690}
691
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
699
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711}
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
715{
716 PyObject_DEL(self);
717}
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807{
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813}
814
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
820
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
826
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
832
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846{
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867}
868
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
36ed4f51
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049}
1050
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
1060
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
1085
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
1088{
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097}
1098
1099
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137#else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155#endif
1156
1157type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195}
1196
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209}
d14a1e28 1210
36ed4f51
RD
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
d14a1e28 1216
36ed4f51
RD
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
d14a1e28 1231
36ed4f51
RD
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
d14a1e28 1277
36ed4f51
RD
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
d14a1e28 1296
36ed4f51
RD
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
d14a1e28 1300
36ed4f51
RD
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
d14a1e28 1304
36ed4f51
RD
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
d14a1e28 1323
36ed4f51
RD
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
d14a1e28 1332
36ed4f51 1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
d14a1e28 1334
d14a1e28
RD
1335#ifdef __cplusplus
1336}
1337#endif
1338
1339
d14a1e28
RD
1340/* -------- TYPES TABLE (BEGIN) -------- */
1341
36ed4f51
RD
1342#define SWIGTYPE_p_wxObject swig_types[0]
1343#define SWIGTYPE_p_unsigned_char swig_types[1]
1344#define SWIGTYPE_p_wxColour swig_types[2]
1345#define SWIGTYPE_p_wxCalendarDateAttr swig_types[3]
1346#define SWIGTYPE_p_wxCalendarEvent swig_types[4]
1347#define SWIGTYPE_p_wxVisualAttributes swig_types[5]
1348#define SWIGTYPE_p_wxWindow swig_types[6]
1349#define SWIGTYPE_p_wxCommandEvent swig_types[7]
1350#define SWIGTYPE_p_unsigned_long swig_types[8]
1351#define SWIGTYPE_p_unsigned_int swig_types[9]
1352#define SWIGTYPE_unsigned_int swig_types[10]
1353#define SWIGTYPE_p_form_ops_t swig_types[11]
1354#define SWIGTYPE_p_wxDuplexMode swig_types[12]
53aa7709
RD
1355#define SWIGTYPE_p_wxDateEvent swig_types[13]
1356#define SWIGTYPE_p_char swig_types[14]
1357#define SWIGTYPE_p_wxEvtHandler swig_types[15]
1358#define SWIGTYPE_std__ptrdiff_t swig_types[16]
1359#define SWIGTYPE_ptrdiff_t swig_types[17]
1360#define SWIGTYPE_p_wxFont swig_types[18]
1361#define SWIGTYPE_p_wxDateTime swig_types[19]
1362#define SWIGTYPE_p_wxControl swig_types[20]
1363#define SWIGTYPE_p_wxEvent swig_types[21]
1364#define SWIGTYPE_p_wxPaperSize swig_types[22]
1365#define SWIGTYPE_p_wxCalendarCtrl swig_types[23]
1366#define SWIGTYPE_p_int swig_types[24]
1367static swig_type_info *swig_types[26];
d14a1e28
RD
1368
1369/* -------- TYPES TABLE (END) -------- */
1370
1371
1372/*-----------------------------------------------
1373 @(target):= _calendar.so
1374 ------------------------------------------------*/
1375#define SWIG_init init_calendar
1376
1377#define SWIG_name "_calendar"
1378
36ed4f51
RD
1379#include "wx/wxPython/wxPython.h"
1380#include "wx/wxPython/pyclasses.h"
2f4c0a16 1381
36ed4f51 1382#include <wx/calctrl.h>
8edf1c75
RD
1383
1384
36ed4f51 1385 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1386#define SWIG_From_int PyInt_FromLong
1387/*@@*/
d14a1e28 1388
8edf1c75 1389
2f4c0a16
RD
1390#include <limits.h>
1391
1392
36ed4f51 1393SWIGINTERN int
c370783e
RD
1394 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1395 const char *errmsg)
2f4c0a16 1396{
c370783e
RD
1397 if (value < min_value) {
1398 if (errmsg) {
1399 PyErr_Format(PyExc_OverflowError,
1400 "value %ld is less than '%s' minimum %ld",
1401 value, errmsg, min_value);
1402 }
1403 return 0;
1404 } else if (value > max_value) {
1405 if (errmsg) {
1406 PyErr_Format(PyExc_OverflowError,
1407 "value %ld is greater than '%s' maximum %ld",
1408 value, errmsg, max_value);
2f4c0a16 1409 }
c370783e 1410 return 0;
2f4c0a16 1411 }
c370783e 1412 return 1;
2f4c0a16
RD
1413}
1414
1415
36ed4f51 1416SWIGINTERN int
c370783e 1417SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1418{
c370783e
RD
1419 if (PyNumber_Check(obj)) {
1420 if (val) *val = PyInt_AsLong(obj);
1421 return 1;
1422 }
69223c70 1423 else {
36ed4f51 1424 SWIG_type_error("number", obj);
69223c70 1425 }
c370783e 1426 return 0;
2f4c0a16
RD
1427}
1428
1429
1430#if INT_MAX != LONG_MAX
36ed4f51 1431SWIGINTERN int
c370783e 1432 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1433{
36ed4f51 1434 const char* errmsg = val ? "int" : (char*)0;
c370783e
RD
1435 long v;
1436 if (SWIG_AsVal_long(obj, &v)) {
1437 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
36ed4f51 1438 if (val) *val = (int)(v);
c370783e
RD
1439 return 1;
1440 } else {
1441 return 0;
1442 }
1443 } else {
1444 PyErr_Clear();
1445 }
1446 if (val) {
36ed4f51 1447 SWIG_type_error(errmsg, obj);
c370783e
RD
1448 }
1449 return 0;
2f4c0a16
RD
1450}
1451#else
36ed4f51 1452SWIGINTERNSHORT int
c370783e
RD
1453 SWIG_AsVal_int(PyObject *obj, int *val)
1454{
1455 return SWIG_AsVal_long(obj,(long*)val);
1456}
2f4c0a16
RD
1457#endif
1458
1459
36ed4f51 1460SWIGINTERNSHORT int
c370783e 1461SWIG_As_int(PyObject* obj)
2f4c0a16 1462{
c370783e
RD
1463 int v;
1464 if (!SWIG_AsVal_int(obj, &v)) {
1465 /*
36ed4f51 1466 this is needed to make valgrind/purify happier.
c370783e
RD
1467 */
1468 memset((void*)&v, 0, sizeof(int));
2f4c0a16 1469 }
c370783e 1470 return v;
8edf1c75
RD
1471}
1472
c370783e 1473
36ed4f51 1474SWIGINTERNSHORT int
c370783e 1475SWIG_Check_int(PyObject* obj)
8edf1c75 1476{
c370783e 1477 return SWIG_AsVal_int(obj, (int*)0);
8edf1c75
RD
1478}
1479
2f4c0a16 1480
36ed4f51 1481SWIGINTERN int
c370783e 1482 SWIG_AsVal_bool(PyObject *obj, bool *val)
2f4c0a16 1483{
c370783e
RD
1484 if (obj == Py_True) {
1485 if (val) *val = true;
1486 return 1;
1487 }
1488 if (obj == Py_False) {
1489 if (val) *val = false;
2f4c0a16
RD
1490 return 1;
1491 }
c370783e
RD
1492 int res = 0;
1493 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1494 if (val) *val = res ? true : false;
c370783e 1495 return 1;
36ed4f51
RD
1496 } else {
1497 PyErr_Clear();
1498 }
c370783e 1499 if (val) {
36ed4f51 1500 SWIG_type_error("bool", obj);
c370783e
RD
1501 }
1502 return 0;
2f4c0a16
RD
1503}
1504
8edf1c75 1505
36ed4f51 1506SWIGINTERNSHORT bool
c370783e 1507SWIG_As_bool(PyObject* obj)
8edf1c75 1508{
c370783e
RD
1509 bool v;
1510 if (!SWIG_AsVal_bool(obj, &v)) {
1511 /*
36ed4f51 1512 this is needed to make valgrind/purify happier.
c370783e
RD
1513 */
1514 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 1515 }
c370783e 1516 return v;
2f4c0a16
RD
1517}
1518
c370783e 1519
36ed4f51 1520SWIGINTERNSHORT int
c370783e
RD
1521SWIG_Check_bool(PyObject* obj)
1522{
1523 return SWIG_AsVal_bool(obj, (bool*)0);
1524}
2f4c0a16 1525
c370783e
RD
1526 static const wxString wxPyCalendarNameStr(wxCalendarNameStr);
1527
36ed4f51 1528SWIGINTERNSHORT long
c370783e 1529SWIG_As_long(PyObject* obj)
2f4c0a16 1530{
c370783e
RD
1531 long v;
1532 if (!SWIG_AsVal_long(obj, &v)) {
1533 /*
36ed4f51 1534 this is needed to make valgrind/purify happier.
c370783e
RD
1535 */
1536 memset((void*)&v, 0, sizeof(long));
2f4c0a16 1537 }
c370783e 1538 return v;
2f4c0a16
RD
1539}
1540
c370783e 1541
36ed4f51 1542SWIGINTERNSHORT int
c370783e
RD
1543SWIG_Check_long(PyObject* obj)
1544{
1545 return SWIG_AsVal_long(obj, (long*)0);
1546}
2f4c0a16 1547
c370783e 1548
36ed4f51 1549SWIGINTERN int
c370783e 1550SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
2f4c0a16 1551{
c370783e
RD
1552 long v = 0;
1553 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1554 SWIG_type_error("unsigned number", obj);
c370783e
RD
1555 }
1556 else if (val)
1557 *val = (unsigned long)v;
2f4c0a16 1558 return 1;
c370783e
RD
1559}
1560
1561
36ed4f51 1562SWIGINTERNSHORT unsigned long
c370783e
RD
1563SWIG_As_unsigned_SS_long(PyObject* obj)
1564{
1565 unsigned long v;
1566 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1567 /*
36ed4f51 1568 this is needed to make valgrind/purify happier.
c370783e
RD
1569 */
1570 memset((void*)&v, 0, sizeof(unsigned long));
2f4c0a16 1571 }
c370783e
RD
1572 return v;
1573}
1574
1575
36ed4f51 1576SWIGINTERNSHORT int
c370783e
RD
1577SWIG_Check_unsigned_SS_long(PyObject* obj)
1578{
1579 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
8edf1c75
RD
1580}
1581
36ed4f51 1582static PyObject *wxCalendarCtrl_HitTest(wxCalendarCtrl *self,wxPoint const &pos){
98e665d3
RD
1583 wxDateTime* date = new wxDateTime;
1584 wxDateTime::WeekDay wd;
1585 wxCalendarHitTestResult result = self->HitTest(pos, date, &wd);
5a446332 1586 wxPyBlock_t blocked = wxPyBeginBlockThreads();
98e665d3
RD
1587 PyObject* tup = PyTuple_New(3);
1588 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(result));
1589 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(date, wxT("wxDateTime"), 1));
1590 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(wd));
fbc46b20 1591 wxPyEndBlockThreads(blocked);
98e665d3
RD
1592 return tup;
1593 }
d14a1e28
RD
1594#ifdef __cplusplus
1595extern "C" {
1596#endif
c370783e 1597static PyObject *_wrap_new_CalendarDateAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 1598 PyObject *resultobj;
98e665d3
RD
1599 wxColour const &arg1_defvalue = wxNullColour ;
1600 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d14a1e28
RD
1601 wxColour const &arg2_defvalue = wxNullColour ;
1602 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
1603 wxColour const &arg3_defvalue = wxNullColour ;
1604 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
1605 wxFont const &arg4_defvalue = wxNullFont ;
1606 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
36ed4f51 1607 wxCalendarDateBorder arg5 = (wxCalendarDateBorder) wxCAL_BORDER_NONE ;
d14a1e28
RD
1608 wxCalendarDateAttr *result;
1609 wxColour temp1 ;
1610 wxColour temp2 ;
1611 wxColour temp3 ;
1612 PyObject * obj0 = 0 ;
1613 PyObject * obj1 = 0 ;
1614 PyObject * obj2 = 0 ;
1615 PyObject * obj3 = 0 ;
8edf1c75 1616 PyObject * obj4 = 0 ;
d14a1e28
RD
1617 char *kwnames[] = {
1618 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
1619 };
1620
98e665d3
RD
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_CalendarDateAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1622 if (obj0) {
1623 {
1624 arg1 = &temp1;
1625 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
1626 }
d14a1e28
RD
1627 }
1628 if (obj1) {
1629 {
1630 arg2 = &temp2;
1631 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1632 }
1633 }
1634 if (obj2) {
1635 {
1636 arg3 = &temp3;
1637 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1638 }
1639 }
1640 if (obj3) {
36ed4f51
RD
1641 {
1642 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
1643 if (SWIG_arg_fail(4)) SWIG_fail;
1644 if (arg4 == NULL) {
1645 SWIG_null_ref("wxFont");
1646 }
1647 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
1648 }
1649 }
8edf1c75 1650 if (obj4) {
36ed4f51
RD
1651 {
1652 arg5 = (wxCalendarDateBorder)(SWIG_As_int(obj4));
1653 if (SWIG_arg_fail(5)) SWIG_fail;
1654 }
8edf1c75 1655 }
d14a1e28
RD
1656 {
1657 PyThreadState* __tstate = wxPyBeginAllowThreads();
1658 result = (wxCalendarDateAttr *)new wxCalendarDateAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxColour const &)*arg3,(wxFont const &)*arg4,(wxCalendarDateBorder )arg5);
1659
1660 wxPyEndAllowThreads(__tstate);
1661 if (PyErr_Occurred()) SWIG_fail;
1662 }
2f4c0a16 1663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarDateAttr, 1);
d14a1e28
RD
1664 return resultobj;
1665 fail:
1666 return NULL;
1667}
1668
1669
c370783e 1670static PyObject *_wrap_CalendarDateAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1671 PyObject *resultobj;
1672 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1673 wxColour *arg2 = 0 ;
1674 wxColour temp2 ;
1675 PyObject * obj0 = 0 ;
1676 PyObject * obj1 = 0 ;
1677 char *kwnames[] = {
1678 (char *) "self",(char *) "colText", NULL
1679 };
1680
1681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
1682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1683 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1684 {
1685 arg2 = &temp2;
1686 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1687 }
1688 {
1689 PyThreadState* __tstate = wxPyBeginAllowThreads();
1690 (arg1)->SetTextColour((wxColour const &)*arg2);
1691
1692 wxPyEndAllowThreads(__tstate);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 }
1695 Py_INCREF(Py_None); resultobj = Py_None;
1696 return resultobj;
1697 fail:
1698 return NULL;
1699}
1700
1701
c370783e 1702static PyObject *_wrap_CalendarDateAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1703 PyObject *resultobj;
1704 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1705 wxColour *arg2 = 0 ;
1706 wxColour temp2 ;
1707 PyObject * obj0 = 0 ;
1708 PyObject * obj1 = 0 ;
1709 char *kwnames[] = {
1710 (char *) "self",(char *) "colBack", NULL
1711 };
1712
1713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
1714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1715 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1716 {
1717 arg2 = &temp2;
1718 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1719 }
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
1727 Py_INCREF(Py_None); resultobj = Py_None;
1728 return resultobj;
1729 fail:
1730 return NULL;
1731}
1732
1733
c370783e 1734static PyObject *_wrap_CalendarDateAttr_SetBorderColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1735 PyObject *resultobj;
1736 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1737 wxColour *arg2 = 0 ;
1738 wxColour temp2 ;
1739 PyObject * obj0 = 0 ;
1740 PyObject * obj1 = 0 ;
1741 char *kwnames[] = {
1742 (char *) "self",(char *) "col", NULL
1743 };
1744
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
1746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1747 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1748 {
1749 arg2 = &temp2;
1750 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1751 }
1752 {
1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
1754 (arg1)->SetBorderColour((wxColour const &)*arg2);
1755
1756 wxPyEndAllowThreads(__tstate);
1757 if (PyErr_Occurred()) SWIG_fail;
1758 }
1759 Py_INCREF(Py_None); resultobj = Py_None;
1760 return resultobj;
1761 fail:
1762 return NULL;
1763}
1764
1765
c370783e 1766static PyObject *_wrap_CalendarDateAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1767 PyObject *resultobj;
1768 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1769 wxFont *arg2 = 0 ;
1770 PyObject * obj0 = 0 ;
1771 PyObject * obj1 = 0 ;
1772 char *kwnames[] = {
1773 (char *) "self",(char *) "font", NULL
1774 };
1775
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
1777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1778 if (SWIG_arg_fail(1)) SWIG_fail;
1779 {
1780 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
1781 if (SWIG_arg_fail(2)) SWIG_fail;
1782 if (arg2 == NULL) {
1783 SWIG_null_ref("wxFont");
1784 }
1785 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
1786 }
1787 {
1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
1789 (arg1)->SetFont((wxFont const &)*arg2);
1790
1791 wxPyEndAllowThreads(__tstate);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 }
1794 Py_INCREF(Py_None); resultobj = Py_None;
1795 return resultobj;
1796 fail:
1797 return NULL;
1798}
1799
1800
c370783e 1801static PyObject *_wrap_CalendarDateAttr_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1802 PyObject *resultobj;
1803 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
36ed4f51 1804 wxCalendarDateBorder arg2 ;
d14a1e28 1805 PyObject * obj0 = 0 ;
8edf1c75 1806 PyObject * obj1 = 0 ;
d14a1e28
RD
1807 char *kwnames[] = {
1808 (char *) "self",(char *) "border", NULL
1809 };
1810
8edf1c75 1811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetBorder",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
1812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1813 if (SWIG_arg_fail(1)) SWIG_fail;
1814 {
1815 arg2 = (wxCalendarDateBorder)(SWIG_As_int(obj1));
1816 if (SWIG_arg_fail(2)) SWIG_fail;
1817 }
d14a1e28
RD
1818 {
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 (arg1)->SetBorder((wxCalendarDateBorder )arg2);
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 Py_INCREF(Py_None); resultobj = Py_None;
1826 return resultobj;
1827 fail:
1828 return NULL;
1829}
1830
1831
c370783e 1832static PyObject *_wrap_CalendarDateAttr_SetHoliday(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1833 PyObject *resultobj;
1834 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1835 bool arg2 ;
1836 PyObject * obj0 = 0 ;
1837 PyObject * obj1 = 0 ;
1838 char *kwnames[] = {
1839 (char *) "self",(char *) "holiday", NULL
1840 };
1841
1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
1843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1844 if (SWIG_arg_fail(1)) SWIG_fail;
1845 {
1846 arg2 = (bool)(SWIG_As_bool(obj1));
1847 if (SWIG_arg_fail(2)) SWIG_fail;
1848 }
d14a1e28
RD
1849 {
1850 PyThreadState* __tstate = wxPyBeginAllowThreads();
1851 (arg1)->SetHoliday(arg2);
1852
1853 wxPyEndAllowThreads(__tstate);
1854 if (PyErr_Occurred()) SWIG_fail;
1855 }
1856 Py_INCREF(Py_None); resultobj = Py_None;
1857 return resultobj;
1858 fail:
1859 return NULL;
1860}
1861
1862
c370783e 1863static PyObject *_wrap_CalendarDateAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1864 PyObject *resultobj;
1865 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1866 bool result;
1867 PyObject * obj0 = 0 ;
1868 char *kwnames[] = {
1869 (char *) "self", NULL
1870 };
1871
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
1873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1874 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 result = (bool)((wxCalendarDateAttr const *)arg1)->HasTextColour();
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
fbc46b20
RD
1882 {
1883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1884 }
d14a1e28
RD
1885 return resultobj;
1886 fail:
1887 return NULL;
1888}
1889
1890
c370783e 1891static PyObject *_wrap_CalendarDateAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1892 PyObject *resultobj;
1893 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1894 bool result;
1895 PyObject * obj0 = 0 ;
1896 char *kwnames[] = {
1897 (char *) "self", NULL
1898 };
1899
1900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
1901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1903 {
1904 PyThreadState* __tstate = wxPyBeginAllowThreads();
1905 result = (bool)((wxCalendarDateAttr const *)arg1)->HasBackgroundColour();
1906
1907 wxPyEndAllowThreads(__tstate);
1908 if (PyErr_Occurred()) SWIG_fail;
1909 }
fbc46b20
RD
1910 {
1911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1912 }
d14a1e28
RD
1913 return resultobj;
1914 fail:
1915 return NULL;
1916}
1917
1918
c370783e 1919static PyObject *_wrap_CalendarDateAttr_HasBorderColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1920 PyObject *resultobj;
1921 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1922 bool result;
1923 PyObject * obj0 = 0 ;
1924 char *kwnames[] = {
1925 (char *) "self", NULL
1926 };
1927
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
1929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1930 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 result = (bool)((wxCalendarDateAttr const *)arg1)->HasBorderColour();
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
fbc46b20
RD
1938 {
1939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1940 }
d14a1e28
RD
1941 return resultobj;
1942 fail:
1943 return NULL;
1944}
1945
1946
c370783e 1947static PyObject *_wrap_CalendarDateAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1948 PyObject *resultobj;
1949 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1950 bool result;
1951 PyObject * obj0 = 0 ;
1952 char *kwnames[] = {
1953 (char *) "self", NULL
1954 };
1955
1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
1957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1958 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1959 {
1960 PyThreadState* __tstate = wxPyBeginAllowThreads();
1961 result = (bool)((wxCalendarDateAttr const *)arg1)->HasFont();
1962
1963 wxPyEndAllowThreads(__tstate);
1964 if (PyErr_Occurred()) SWIG_fail;
1965 }
fbc46b20
RD
1966 {
1967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1968 }
d14a1e28
RD
1969 return resultobj;
1970 fail:
1971 return NULL;
1972}
1973
1974
c370783e 1975static PyObject *_wrap_CalendarDateAttr_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1976 PyObject *resultobj;
1977 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
1978 bool result;
1979 PyObject * obj0 = 0 ;
1980 char *kwnames[] = {
1981 (char *) "self", NULL
1982 };
1983
1984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasBorder",kwnames,&obj0)) goto fail;
36ed4f51
RD
1985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
1986 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 result = (bool)((wxCalendarDateAttr const *)arg1)->HasBorder();
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) SWIG_fail;
1993 }
fbc46b20
RD
1994 {
1995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1996 }
d14a1e28
RD
1997 return resultobj;
1998 fail:
1999 return NULL;
2000}
2001
2002
c370783e 2003static PyObject *_wrap_CalendarDateAttr_IsHoliday(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2004 PyObject *resultobj;
2005 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
2006 bool result;
2007 PyObject * obj0 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self", NULL
2010 };
2011
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_IsHoliday",kwnames,&obj0)) goto fail;
36ed4f51
RD
2013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
2014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2015 {
2016 PyThreadState* __tstate = wxPyBeginAllowThreads();
2017 result = (bool)((wxCalendarDateAttr const *)arg1)->IsHoliday();
2018
2019 wxPyEndAllowThreads(__tstate);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
fbc46b20
RD
2022 {
2023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2024 }
d14a1e28
RD
2025 return resultobj;
2026 fail:
2027 return NULL;
2028}
2029
2030
c370783e 2031static PyObject *_wrap_CalendarDateAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2032 PyObject *resultobj;
2033 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
2034 wxColour result;
2035 PyObject * obj0 = 0 ;
2036 char *kwnames[] = {
2037 (char *) "self", NULL
2038 };
2039
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
2041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
2042 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2043 {
2044 PyThreadState* __tstate = wxPyBeginAllowThreads();
2045 result = ((wxCalendarDateAttr const *)arg1)->GetTextColour();
2046
2047 wxPyEndAllowThreads(__tstate);
2048 if (PyErr_Occurred()) SWIG_fail;
2049 }
2050 {
2051 wxColour * resultptr;
36ed4f51 2052 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 2053 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2054 }
2055 return resultobj;
2056 fail:
2057 return NULL;
2058}
2059
2060
c370783e 2061static PyObject *_wrap_CalendarDateAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2062 PyObject *resultobj;
2063 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
2064 wxColour result;
2065 PyObject * obj0 = 0 ;
2066 char *kwnames[] = {
2067 (char *) "self", NULL
2068 };
2069
2070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
2071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
2072 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2073 {
2074 PyThreadState* __tstate = wxPyBeginAllowThreads();
2075 result = ((wxCalendarDateAttr const *)arg1)->GetBackgroundColour();
2076
2077 wxPyEndAllowThreads(__tstate);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 }
2080 {
2081 wxColour * resultptr;
36ed4f51 2082 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 2083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2084 }
2085 return resultobj;
2086 fail:
2087 return NULL;
2088}
2089
2090
c370783e 2091static PyObject *_wrap_CalendarDateAttr_GetBorderColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2092 PyObject *resultobj;
2093 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
2094 wxColour result;
2095 PyObject * obj0 = 0 ;
2096 char *kwnames[] = {
2097 (char *) "self", NULL
2098 };
2099
2100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
2101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
2102 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = ((wxCalendarDateAttr const *)arg1)->GetBorderColour();
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 {
2111 wxColour * resultptr;
36ed4f51 2112 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 2113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2114 }
2115 return resultobj;
2116 fail:
2117 return NULL;
2118}
2119
2120
c370783e 2121static PyObject *_wrap_CalendarDateAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2122 PyObject *resultobj;
2123 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
2124 wxFont result;
2125 PyObject * obj0 = 0 ;
2126 char *kwnames[] = {
2127 (char *) "self", NULL
2128 };
2129
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
2131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
2132 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = ((wxCalendarDateAttr const *)arg1)->GetFont();
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 {
2141 wxFont * resultptr;
36ed4f51 2142 resultptr = new wxFont((wxFont &)(result));
2f4c0a16 2143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
2144 }
2145 return resultobj;
2146 fail:
2147 return NULL;
2148}
2149
2150
c370783e 2151static PyObject *_wrap_CalendarDateAttr_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2152 PyObject *resultobj;
2153 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
36ed4f51 2154 wxCalendarDateBorder result;
d14a1e28
RD
2155 PyObject * obj0 = 0 ;
2156 char *kwnames[] = {
2157 (char *) "self", NULL
2158 };
2159
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetBorder",kwnames,&obj0)) goto fail;
36ed4f51
RD
2161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
2162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2163 {
2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2165 result = (wxCalendarDateBorder)((wxCalendarDateAttr const *)arg1)->GetBorder();
d14a1e28
RD
2166
2167 wxPyEndAllowThreads(__tstate);
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
36ed4f51 2170 resultobj = SWIG_From_int((result));
d14a1e28
RD
2171 return resultobj;
2172 fail:
2173 return NULL;
2174}
2175
2176
c370783e 2177static PyObject * CalendarDateAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2178 PyObject *obj;
2179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2180 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr, obj);
2181 Py_INCREF(obj);
2182 return Py_BuildValue((char *)"");
2183}
c370783e 2184static PyObject *_wrap_new_CalendarEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2185 PyObject *resultobj;
2186 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2187 wxEventType arg2 ;
2188 wxCalendarEvent *result;
2189 PyObject * obj0 = 0 ;
8edf1c75 2190 PyObject * obj1 = 0 ;
d14a1e28
RD
2191 char *kwnames[] = {
2192 (char *) "cal",(char *) "type", NULL
2193 };
2194
8edf1c75 2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_CalendarEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2197 if (SWIG_arg_fail(1)) SWIG_fail;
2198 {
2199 arg2 = (wxEventType)(SWIG_As_int(obj1));
2200 if (SWIG_arg_fail(2)) SWIG_fail;
2201 }
d14a1e28
RD
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 result = (wxCalendarEvent *)new wxCalendarEvent(arg1,arg2);
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2f4c0a16 2209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarEvent, 1);
d14a1e28
RD
2210 return resultobj;
2211 fail:
2212 return NULL;
2213}
2214
2215
c370783e 2216static PyObject *_wrap_CalendarEvent_SetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
2217 PyObject *resultobj;
2218 wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ;
36ed4f51 2219 wxDateTime::WeekDay arg2 ;
9fd4be55 2220 PyObject * obj0 = 0 ;
8edf1c75 2221 PyObject * obj1 = 0 ;
9fd4be55
RD
2222 char *kwnames[] = {
2223 (char *) "self",(char *) "wd", NULL
2224 };
2225
8edf1c75 2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarEvent_SetWeekDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarEvent, SWIG_POINTER_EXCEPTION | 0);
2228 if (SWIG_arg_fail(1)) SWIG_fail;
2229 {
2230 arg2 = (wxDateTime::WeekDay const)(SWIG_As_int(obj1));
2231 if (SWIG_arg_fail(2)) SWIG_fail;
2232 }
9fd4be55
RD
2233 {
2234 PyThreadState* __tstate = wxPyBeginAllowThreads();
2235 (arg1)->SetWeekDay((wxDateTime::WeekDay )arg2);
2236
2237 wxPyEndAllowThreads(__tstate);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 }
2240 Py_INCREF(Py_None); resultobj = Py_None;
2241 return resultobj;
2242 fail:
2243 return NULL;
2244}
2245
2246
c370783e 2247static PyObject *_wrap_CalendarEvent_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2248 PyObject *resultobj;
2249 wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ;
36ed4f51 2250 wxDateTime::WeekDay result;
d14a1e28
RD
2251 PyObject * obj0 = 0 ;
2252 char *kwnames[] = {
2253 (char *) "self", NULL
2254 };
2255
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarEvent_GetWeekDay",kwnames,&obj0)) goto fail;
36ed4f51
RD
2257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarEvent, SWIG_POINTER_EXCEPTION | 0);
2258 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2259 {
2260 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2261 result = (wxDateTime::WeekDay)((wxCalendarEvent const *)arg1)->GetWeekDay();
d14a1e28
RD
2262
2263 wxPyEndAllowThreads(__tstate);
2264 if (PyErr_Occurred()) SWIG_fail;
2265 }
36ed4f51 2266 resultobj = SWIG_From_int((result));
d14a1e28
RD
2267 return resultobj;
2268 fail:
2269 return NULL;
2270}
2271
2272
c370783e 2273static PyObject * CalendarEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2274 PyObject *obj;
2275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2276 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent, obj);
2277 Py_INCREF(obj);
2278 return Py_BuildValue((char *)"");
2279}
c370783e 2280static int _wrap_CalendarNameStr_set(PyObject *) {
cbd72d4f
RD
2281 PyErr_SetString(PyExc_TypeError,"Variable CalendarNameStr is read-only.");
2282 return 1;
2283}
2284
2285
36ed4f51 2286static PyObject *_wrap_CalendarNameStr_get(void) {
cbd72d4f
RD
2287 PyObject *pyobj;
2288
2289 {
2290#if wxUSE_UNICODE
2291 pyobj = PyUnicode_FromWideChar((&wxPyCalendarNameStr)->c_str(), (&wxPyCalendarNameStr)->Len());
2292#else
2293 pyobj = PyString_FromStringAndSize((&wxPyCalendarNameStr)->c_str(), (&wxPyCalendarNameStr)->Len());
2294#endif
2295 }
2296 return pyobj;
2297}
2298
2299
c370783e 2300static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2301 PyObject *resultobj;
2302 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 2303 int arg2 = (int) -1 ;
d14a1e28
RD
2304 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
2305 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
2306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2308 wxSize const &arg5_defvalue = wxDefaultSize ;
2309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2310 long arg6 = (long) wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS ;
2311 wxString const &arg7_defvalue = wxPyCalendarNameStr ;
2312 wxString *arg7 = (wxString *) &arg7_defvalue ;
2313 wxCalendarCtrl *result;
2314 wxPoint temp4 ;
2315 wxSize temp5 ;
b411df4a 2316 bool temp7 = false ;
d14a1e28 2317 PyObject * obj0 = 0 ;
8edf1c75 2318 PyObject * obj1 = 0 ;
d14a1e28
RD
2319 PyObject * obj2 = 0 ;
2320 PyObject * obj3 = 0 ;
2321 PyObject * obj4 = 0 ;
8edf1c75 2322 PyObject * obj5 = 0 ;
d14a1e28
RD
2323 PyObject * obj6 = 0 ;
2324 char *kwnames[] = {
2325 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2326 };
2327
a95a7133 2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_CalendarCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2330 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133 2331 if (obj1) {
36ed4f51
RD
2332 {
2333 arg2 = (int)(SWIG_As_int(obj1));
2334 if (SWIG_arg_fail(2)) SWIG_fail;
2335 }
a95a7133 2336 }
d14a1e28 2337 if (obj2) {
36ed4f51
RD
2338 {
2339 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
2340 if (SWIG_arg_fail(3)) SWIG_fail;
2341 if (arg3 == NULL) {
2342 SWIG_null_ref("wxDateTime");
2343 }
2344 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
2345 }
2346 }
2347 if (obj3) {
2348 {
2349 arg4 = &temp4;
2350 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2351 }
2352 }
2353 if (obj4) {
2354 {
2355 arg5 = &temp5;
2356 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2357 }
2358 }
8edf1c75 2359 if (obj5) {
36ed4f51
RD
2360 {
2361 arg6 = (long)(SWIG_As_long(obj5));
2362 if (SWIG_arg_fail(6)) SWIG_fail;
2363 }
8edf1c75 2364 }
d14a1e28
RD
2365 if (obj6) {
2366 {
2367 arg7 = wxString_in_helper(obj6);
2368 if (arg7 == NULL) SWIG_fail;
b411df4a 2369 temp7 = true;
d14a1e28
RD
2370 }
2371 }
2372 {
0439c23b 2373 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2374 PyThreadState* __tstate = wxPyBeginAllowThreads();
2375 result = (wxCalendarCtrl *)new wxCalendarCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2376
2377 wxPyEndAllowThreads(__tstate);
110da5b0 2378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2379 }
2f4c0a16 2380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarCtrl, 1);
d14a1e28
RD
2381 {
2382 if (temp7)
2383 delete arg7;
2384 }
2385 return resultobj;
2386 fail:
2387 {
2388 if (temp7)
2389 delete arg7;
2390 }
2391 return NULL;
2392}
2393
2394
c370783e 2395static PyObject *_wrap_new_PreCalendarCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2396 PyObject *resultobj;
2397 wxCalendarCtrl *result;
2398 char *kwnames[] = {
2399 NULL
2400 };
2401
2402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCalendarCtrl",kwnames)) goto fail;
2403 {
0439c23b 2404 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = (wxCalendarCtrl *)new wxCalendarCtrl();
2407
2408 wxPyEndAllowThreads(__tstate);
110da5b0 2409 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2410 }
2f4c0a16 2411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarCtrl, 1);
d14a1e28
RD
2412 return resultobj;
2413 fail:
2414 return NULL;
2415}
2416
2417
c370783e 2418static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2419 PyObject *resultobj;
2420 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2421 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2422 int arg3 ;
d14a1e28
RD
2423 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
2424 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
2425 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2426 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2427 wxSize const &arg6_defvalue = wxDefaultSize ;
2428 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2429 long arg7 = (long) wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS ;
2430 wxString const &arg8_defvalue = wxPyCalendarNameStr ;
2431 wxString *arg8 = (wxString *) &arg8_defvalue ;
2432 bool result;
2433 wxPoint temp5 ;
2434 wxSize temp6 ;
b411df4a 2435 bool temp8 = false ;
d14a1e28
RD
2436 PyObject * obj0 = 0 ;
2437 PyObject * obj1 = 0 ;
8edf1c75 2438 PyObject * obj2 = 0 ;
d14a1e28
RD
2439 PyObject * obj3 = 0 ;
2440 PyObject * obj4 = 0 ;
2441 PyObject * obj5 = 0 ;
8edf1c75 2442 PyObject * obj6 = 0 ;
d14a1e28
RD
2443 PyObject * obj7 = 0 ;
2444 char *kwnames[] = {
2445 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2446 };
2447
8edf1c75 2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2450 if (SWIG_arg_fail(1)) SWIG_fail;
2451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2452 if (SWIG_arg_fail(2)) SWIG_fail;
2453 {
2454 arg3 = (int)(SWIG_As_int(obj2));
2455 if (SWIG_arg_fail(3)) SWIG_fail;
2456 }
d14a1e28 2457 if (obj3) {
36ed4f51
RD
2458 {
2459 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
2460 if (SWIG_arg_fail(4)) SWIG_fail;
2461 if (arg4 == NULL) {
2462 SWIG_null_ref("wxDateTime");
2463 }
2464 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
2465 }
2466 }
2467 if (obj4) {
2468 {
2469 arg5 = &temp5;
2470 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2471 }
2472 }
2473 if (obj5) {
2474 {
2475 arg6 = &temp6;
2476 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2477 }
2478 }
8edf1c75 2479 if (obj6) {
36ed4f51
RD
2480 {
2481 arg7 = (long)(SWIG_As_long(obj6));
2482 if (SWIG_arg_fail(7)) SWIG_fail;
2483 }
8edf1c75 2484 }
d14a1e28
RD
2485 if (obj7) {
2486 {
2487 arg8 = wxString_in_helper(obj7);
2488 if (arg8 == NULL) SWIG_fail;
b411df4a 2489 temp8 = true;
d14a1e28
RD
2490 }
2491 }
2492 {
2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
2494 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2495
2496 wxPyEndAllowThreads(__tstate);
2497 if (PyErr_Occurred()) SWIG_fail;
2498 }
fbc46b20
RD
2499 {
2500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2501 }
d14a1e28
RD
2502 {
2503 if (temp8)
2504 delete arg8;
2505 }
2506 return resultobj;
2507 fail:
2508 {
2509 if (temp8)
2510 delete arg8;
2511 }
2512 return NULL;
2513}
2514
2515
c370783e 2516static PyObject *_wrap_CalendarCtrl_SetDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2517 PyObject *resultobj;
2518 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2519 wxDateTime *arg2 = 0 ;
2520 PyObject * obj0 = 0 ;
2521 PyObject * obj1 = 0 ;
2522 char *kwnames[] = {
2523 (char *) "self",(char *) "date", NULL
2524 };
2525
2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_SetDate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2528 if (SWIG_arg_fail(1)) SWIG_fail;
2529 {
2530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
2531 if (SWIG_arg_fail(2)) SWIG_fail;
2532 if (arg2 == NULL) {
2533 SWIG_null_ref("wxDateTime");
2534 }
2535 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2536 }
2537 {
2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
2539 (arg1)->SetDate((wxDateTime const &)*arg2);
2540
2541 wxPyEndAllowThreads(__tstate);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 }
2544 Py_INCREF(Py_None); resultobj = Py_None;
2545 return resultobj;
2546 fail:
2547 return NULL;
2548}
2549
2550
c370783e 2551static PyObject *_wrap_CalendarCtrl_GetDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2552 PyObject *resultobj;
2553 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2554 wxDateTime *result;
2555 PyObject * obj0 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetDate",kwnames,&obj0)) goto fail;
36ed4f51
RD
2561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2563 {
2564 PyThreadState* __tstate = wxPyBeginAllowThreads();
2565 {
2566 wxDateTime const &_result_ref = ((wxCalendarCtrl const *)arg1)->GetDate();
2567 result = (wxDateTime *) &_result_ref;
2568 }
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2f4c0a16 2573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
2574 return resultobj;
2575 fail:
2576 return NULL;
2577}
2578
2579
c370783e 2580static PyObject *_wrap_CalendarCtrl_SetLowerDateLimit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2581 PyObject *resultobj;
2582 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2583 wxDateTime const &arg2_defvalue = wxDefaultDateTime ;
2584 wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ;
2585 bool result;
2586 PyObject * obj0 = 0 ;
2587 PyObject * obj1 = 0 ;
2588 char *kwnames[] = {
2589 (char *) "self",(char *) "date", NULL
2590 };
2591
2592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2594 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2595 if (obj1) {
36ed4f51
RD
2596 {
2597 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
2598 if (SWIG_arg_fail(2)) SWIG_fail;
2599 if (arg2 == NULL) {
2600 SWIG_null_ref("wxDateTime");
2601 }
2602 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2603 }
2604 }
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 result = (bool)(arg1)->SetLowerDateLimit((wxDateTime const &)*arg2);
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
fbc46b20
RD
2612 {
2613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2614 }
d14a1e28
RD
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
c370783e 2621static PyObject *_wrap_CalendarCtrl_SetUpperDateLimit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2622 PyObject *resultobj;
2623 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
98e665d3
RD
2624 wxDateTime const &arg2_defvalue = wxDefaultDateTime ;
2625 wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ;
2626 bool result;
d14a1e28 2627 PyObject * obj0 = 0 ;
98e665d3 2628 PyObject * obj1 = 0 ;
d14a1e28 2629 char *kwnames[] = {
98e665d3 2630 (char *) "self",(char *) "date", NULL
d14a1e28
RD
2631 };
2632
98e665d3 2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2635 if (SWIG_arg_fail(1)) SWIG_fail;
98e665d3 2636 if (obj1) {
36ed4f51
RD
2637 {
2638 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
2639 if (SWIG_arg_fail(2)) SWIG_fail;
2640 if (arg2 == NULL) {
2641 SWIG_null_ref("wxDateTime");
2642 }
2643 if (SWIG_arg_fail(2)) SWIG_fail;
98e665d3
RD
2644 }
2645 }
d14a1e28
RD
2646 {
2647 PyThreadState* __tstate = wxPyBeginAllowThreads();
98e665d3 2648 result = (bool)(arg1)->SetUpperDateLimit((wxDateTime const &)*arg2);
d14a1e28
RD
2649
2650 wxPyEndAllowThreads(__tstate);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
fbc46b20
RD
2653 {
2654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2655 }
d14a1e28
RD
2656 return resultobj;
2657 fail:
2658 return NULL;
2659}
2660
2661
c370783e 2662static PyObject *_wrap_CalendarCtrl_GetLowerDateLimit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2663 PyObject *resultobj;
2664 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
98e665d3 2665 wxDateTime *result;
d14a1e28 2666 PyObject * obj0 = 0 ;
d14a1e28 2667 char *kwnames[] = {
98e665d3 2668 (char *) "self", NULL
d14a1e28
RD
2669 };
2670
98e665d3 2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames,&obj0)) goto fail;
36ed4f51
RD
2672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2673 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
98e665d3
RD
2676 {
2677 wxDateTime const &_result_ref = ((wxCalendarCtrl const *)arg1)->GetLowerDateLimit();
2678 result = (wxDateTime *) &_result_ref;
2679 }
d14a1e28
RD
2680
2681 wxPyEndAllowThreads(__tstate);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 }
2f4c0a16 2684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
2685 return resultobj;
2686 fail:
2687 return NULL;
2688}
2689
2690
c370783e 2691static PyObject *_wrap_CalendarCtrl_GetUpperDateLimit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2692 PyObject *resultobj;
2693 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2694 wxDateTime *result;
2695 PyObject * obj0 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "self", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames,&obj0)) goto fail;
36ed4f51
RD
2701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2702 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 {
2706 wxDateTime const &_result_ref = ((wxCalendarCtrl const *)arg1)->GetUpperDateLimit();
2707 result = (wxDateTime *) &_result_ref;
2708 }
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2f4c0a16 2713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
2714 return resultobj;
2715 fail:
2716 return NULL;
2717}
2718
2719
c370783e 2720static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2721 PyObject *resultobj;
2722 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2723 wxDateTime const &arg2_defvalue = wxDefaultDateTime ;
2724 wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ;
2725 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
2726 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
2727 bool result;
2728 PyObject * obj0 = 0 ;
2729 PyObject * obj1 = 0 ;
2730 PyObject * obj2 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2737 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2738 if (obj1) {
36ed4f51
RD
2739 {
2740 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
2741 if (SWIG_arg_fail(2)) SWIG_fail;
2742 if (arg2 == NULL) {
2743 SWIG_null_ref("wxDateTime");
2744 }
2745 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2746 }
2747 }
2748 if (obj2) {
36ed4f51
RD
2749 {
2750 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
2751 if (SWIG_arg_fail(3)) SWIG_fail;
2752 if (arg3 == NULL) {
2753 SWIG_null_ref("wxDateTime");
2754 }
2755 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
2756 }
2757 }
2758 {
2759 PyThreadState* __tstate = wxPyBeginAllowThreads();
2760 result = (bool)(arg1)->SetDateRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
2761
2762 wxPyEndAllowThreads(__tstate);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
fbc46b20
RD
2765 {
2766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2767 }
d14a1e28
RD
2768 return resultobj;
2769 fail:
2770 return NULL;
2771}
2772
2773
c370783e 2774static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2775 PyObject *resultobj;
2776 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
b411df4a 2777 bool arg2 = (bool) true ;
d14a1e28
RD
2778 PyObject * obj0 = 0 ;
2779 PyObject * obj1 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self",(char *) "enable", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2787 if (obj1) {
36ed4f51
RD
2788 {
2789 arg2 = (bool)(SWIG_As_bool(obj1));
2790 if (SWIG_arg_fail(2)) SWIG_fail;
2791 }
d14a1e28
RD
2792 }
2793 {
2794 PyThreadState* __tstate = wxPyBeginAllowThreads();
2795 (arg1)->EnableYearChange(arg2);
2796
2797 wxPyEndAllowThreads(__tstate);
2798 if (PyErr_Occurred()) SWIG_fail;
2799 }
2800 Py_INCREF(Py_None); resultobj = Py_None;
2801 return resultobj;
2802 fail:
2803 return NULL;
2804}
2805
2806
c370783e 2807static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2808 PyObject *resultobj;
2809 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
b411df4a 2810 bool arg2 = (bool) true ;
d14a1e28
RD
2811 PyObject * obj0 = 0 ;
2812 PyObject * obj1 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "self",(char *) "enable", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2819 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2820 if (obj1) {
36ed4f51
RD
2821 {
2822 arg2 = (bool)(SWIG_As_bool(obj1));
2823 if (SWIG_arg_fail(2)) SWIG_fail;
2824 }
d14a1e28
RD
2825 }
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 (arg1)->EnableMonthChange(arg2);
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 Py_INCREF(Py_None); resultobj = Py_None;
2834 return resultobj;
2835 fail:
2836 return NULL;
2837}
2838
2839
c370783e 2840static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2841 PyObject *resultobj;
2842 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
b411df4a 2843 bool arg2 = (bool) true ;
d14a1e28
RD
2844 PyObject * obj0 = 0 ;
2845 PyObject * obj1 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self",(char *) "display", NULL
2848 };
2849
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2852 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2853 if (obj1) {
36ed4f51
RD
2854 {
2855 arg2 = (bool)(SWIG_As_bool(obj1));
2856 if (SWIG_arg_fail(2)) SWIG_fail;
2857 }
d14a1e28
RD
2858 }
2859 {
2860 PyThreadState* __tstate = wxPyBeginAllowThreads();
2861 (arg1)->EnableHolidayDisplay(arg2);
2862
2863 wxPyEndAllowThreads(__tstate);
2864 if (PyErr_Occurred()) SWIG_fail;
2865 }
2866 Py_INCREF(Py_None); resultobj = Py_None;
2867 return resultobj;
2868 fail:
2869 return NULL;
2870}
2871
2872
c370783e 2873static PyObject *_wrap_CalendarCtrl_SetHeaderColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2874 PyObject *resultobj;
2875 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2876 wxColour *arg2 = 0 ;
2877 wxColour *arg3 = 0 ;
2878 wxColour temp2 ;
2879 wxColour temp3 ;
2880 PyObject * obj0 = 0 ;
2881 PyObject * obj1 = 0 ;
2882 PyObject * obj2 = 0 ;
2883 char *kwnames[] = {
2884 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
2885 };
2886
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2889 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2890 {
2891 arg2 = &temp2;
2892 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2893 }
2894 {
2895 arg3 = &temp3;
2896 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2897 }
2898 {
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
2900 (arg1)->SetHeaderColours((wxColour const &)*arg2,(wxColour const &)*arg3);
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) SWIG_fail;
2904 }
2905 Py_INCREF(Py_None); resultobj = Py_None;
2906 return resultobj;
2907 fail:
2908 return NULL;
2909}
2910
2911
c370783e 2912static PyObject *_wrap_CalendarCtrl_GetHeaderColourFg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2913 PyObject *resultobj;
2914 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2915 wxColour result;
2916 PyObject * obj0 = 0 ;
2917 char *kwnames[] = {
2918 (char *) "self", NULL
2919 };
2920
2921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames,&obj0)) goto fail;
36ed4f51
RD
2922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2923 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2924 {
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 result = ((wxCalendarCtrl const *)arg1)->GetHeaderColourFg();
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 {
2932 wxColour * resultptr;
36ed4f51 2933 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 2934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2935 }
2936 return resultobj;
2937 fail:
2938 return NULL;
2939}
2940
2941
c370783e 2942static PyObject *_wrap_CalendarCtrl_GetHeaderColourBg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2943 PyObject *resultobj;
2944 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2945 wxColour result;
2946 PyObject * obj0 = 0 ;
2947 char *kwnames[] = {
2948 (char *) "self", NULL
2949 };
2950
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames,&obj0)) goto fail;
36ed4f51
RD
2952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2953 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 result = ((wxCalendarCtrl const *)arg1)->GetHeaderColourBg();
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 {
2962 wxColour * resultptr;
36ed4f51 2963 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 2964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2965 }
2966 return resultobj;
2967 fail:
2968 return NULL;
2969}
2970
2971
c370783e 2972static PyObject *_wrap_CalendarCtrl_SetHighlightColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2973 PyObject *resultobj;
2974 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2975 wxColour *arg2 = 0 ;
2976 wxColour *arg3 = 0 ;
2977 wxColour temp2 ;
2978 wxColour temp3 ;
2979 PyObject * obj0 = 0 ;
2980 PyObject * obj1 = 0 ;
2981 PyObject * obj2 = 0 ;
2982 char *kwnames[] = {
2983 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
2984 };
2985
2986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
2988 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2989 {
2990 arg2 = &temp2;
2991 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2992 }
2993 {
2994 arg3 = &temp3;
2995 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2996 }
2997 {
2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
2999 (arg1)->SetHighlightColours((wxColour const &)*arg2,(wxColour const &)*arg3);
3000
3001 wxPyEndAllowThreads(__tstate);
3002 if (PyErr_Occurred()) SWIG_fail;
3003 }
3004 Py_INCREF(Py_None); resultobj = Py_None;
3005 return resultobj;
3006 fail:
3007 return NULL;
3008}
3009
3010
c370783e 3011static PyObject *_wrap_CalendarCtrl_GetHighlightColourFg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3012 PyObject *resultobj;
3013 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3014 wxColour result;
3015 PyObject * obj0 = 0 ;
3016 char *kwnames[] = {
3017 (char *) "self", NULL
3018 };
3019
3020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames,&obj0)) goto fail;
36ed4f51
RD
3021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3022 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3023 {
3024 PyThreadState* __tstate = wxPyBeginAllowThreads();
3025 result = ((wxCalendarCtrl const *)arg1)->GetHighlightColourFg();
3026
3027 wxPyEndAllowThreads(__tstate);
3028 if (PyErr_Occurred()) SWIG_fail;
3029 }
3030 {
3031 wxColour * resultptr;
36ed4f51 3032 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 3033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3034 }
3035 return resultobj;
3036 fail:
3037 return NULL;
3038}
3039
3040
c370783e 3041static PyObject *_wrap_CalendarCtrl_GetHighlightColourBg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3042 PyObject *resultobj;
3043 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3044 wxColour result;
3045 PyObject * obj0 = 0 ;
3046 char *kwnames[] = {
3047 (char *) "self", NULL
3048 };
3049
3050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames,&obj0)) goto fail;
36ed4f51
RD
3051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3052 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3053 {
3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
3055 result = ((wxCalendarCtrl const *)arg1)->GetHighlightColourBg();
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) SWIG_fail;
3059 }
3060 {
3061 wxColour * resultptr;
36ed4f51 3062 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 3063 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3064 }
3065 return resultobj;
3066 fail:
3067 return NULL;
3068}
3069
3070
c370783e 3071static PyObject *_wrap_CalendarCtrl_SetHolidayColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3072 PyObject *resultobj;
3073 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3074 wxColour *arg2 = 0 ;
3075 wxColour *arg3 = 0 ;
3076 wxColour temp2 ;
3077 wxColour temp3 ;
3078 PyObject * obj0 = 0 ;
3079 PyObject * obj1 = 0 ;
3080 PyObject * obj2 = 0 ;
3081 char *kwnames[] = {
3082 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
3083 };
3084
3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3087 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3088 {
3089 arg2 = &temp2;
3090 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3091 }
3092 {
3093 arg3 = &temp3;
3094 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3095 }
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 (arg1)->SetHolidayColours((wxColour const &)*arg2,(wxColour const &)*arg3);
3099
3100 wxPyEndAllowThreads(__tstate);
3101 if (PyErr_Occurred()) SWIG_fail;
3102 }
3103 Py_INCREF(Py_None); resultobj = Py_None;
3104 return resultobj;
3105 fail:
3106 return NULL;
3107}
3108
3109
c370783e 3110static PyObject *_wrap_CalendarCtrl_GetHolidayColourFg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3111 PyObject *resultobj;
3112 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3113 wxColour result;
3114 PyObject * obj0 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames,&obj0)) goto fail;
36ed4f51
RD
3120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3121 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 result = ((wxCalendarCtrl const *)arg1)->GetHolidayColourFg();
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 {
3130 wxColour * resultptr;
36ed4f51 3131 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 3132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3133 }
3134 return resultobj;
3135 fail:
3136 return NULL;
3137}
3138
3139
c370783e 3140static PyObject *_wrap_CalendarCtrl_GetHolidayColourBg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3141 PyObject *resultobj;
3142 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3143 wxColour result;
3144 PyObject * obj0 = 0 ;
3145 char *kwnames[] = {
3146 (char *) "self", NULL
3147 };
3148
3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames,&obj0)) goto fail;
36ed4f51
RD
3150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3151 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 result = ((wxCalendarCtrl const *)arg1)->GetHolidayColourBg();
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 {
3160 wxColour * resultptr;
36ed4f51 3161 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 3162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3163 }
3164 return resultobj;
3165 fail:
3166 return NULL;
3167}
3168
3169
c370783e 3170static PyObject *_wrap_CalendarCtrl_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3171 PyObject *resultobj;
3172 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3173 size_t arg2 ;
3174 wxCalendarDateAttr *result;
3175 PyObject * obj0 = 0 ;
3176 PyObject * obj1 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self",(char *) "day", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_GetAttr",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3183 if (SWIG_arg_fail(1)) SWIG_fail;
3184 {
3185 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
3186 if (SWIG_arg_fail(2)) SWIG_fail;
3187 }
d14a1e28
RD
3188 {
3189 PyThreadState* __tstate = wxPyBeginAllowThreads();
3190 result = (wxCalendarDateAttr *)((wxCalendarCtrl const *)arg1)->GetAttr(arg2);
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
2f4c0a16 3195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarDateAttr, 0);
d14a1e28
RD
3196 return resultobj;
3197 fail:
3198 return NULL;
3199}
3200
3201
c370783e 3202static PyObject *_wrap_CalendarCtrl_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3203 PyObject *resultobj;
3204 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3205 size_t arg2 ;
3206 wxCalendarDateAttr *arg3 = (wxCalendarDateAttr *) 0 ;
3207 PyObject * obj0 = 0 ;
3208 PyObject * obj1 = 0 ;
3209 PyObject * obj2 = 0 ;
3210 char *kwnames[] = {
3211 (char *) "self",(char *) "day",(char *) "attr", NULL
3212 };
3213
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CalendarCtrl_SetAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3216 if (SWIG_arg_fail(1)) SWIG_fail;
3217 {
3218 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
3219 if (SWIG_arg_fail(2)) SWIG_fail;
3220 }
3221 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0);
3222 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
3223 {
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 (arg1)->SetAttr(arg2,arg3);
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 Py_INCREF(Py_None); resultobj = Py_None;
3231 return resultobj;
3232 fail:
3233 return NULL;
3234}
3235
3236
c370783e 3237static PyObject *_wrap_CalendarCtrl_SetHoliday(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3238 PyObject *resultobj;
3239 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3240 size_t arg2 ;
3241 PyObject * obj0 = 0 ;
3242 PyObject * obj1 = 0 ;
3243 char *kwnames[] = {
3244 (char *) "self",(char *) "day", NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_SetHoliday",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3249 if (SWIG_arg_fail(1)) SWIG_fail;
3250 {
3251 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
3252 if (SWIG_arg_fail(2)) SWIG_fail;
3253 }
d14a1e28
RD
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 (arg1)->SetHoliday(arg2);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 Py_INCREF(Py_None); resultobj = Py_None;
3262 return resultobj;
3263 fail:
3264 return NULL;
3265}
3266
3267
c370783e 3268static PyObject *_wrap_CalendarCtrl_ResetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3269 PyObject *resultobj;
3270 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3271 size_t arg2 ;
3272 PyObject * obj0 = 0 ;
3273 PyObject * obj1 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "day", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_ResetAttr",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail;
3281 {
3282 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
3283 if (SWIG_arg_fail(2)) SWIG_fail;
3284 }
d14a1e28
RD
3285 {
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 (arg1)->ResetAttr(arg2);
3288
3289 wxPyEndAllowThreads(__tstate);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 Py_INCREF(Py_None); resultobj = Py_None;
3293 return resultobj;
3294 fail:
3295 return NULL;
3296}
3297
3298
c370783e 3299static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3300 PyObject *resultobj;
3301 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3302 wxPoint *arg2 = 0 ;
98e665d3 3303 PyObject *result;
d14a1e28
RD
3304 wxPoint temp2 ;
3305 PyObject * obj0 = 0 ;
3306 PyObject * obj1 = 0 ;
d14a1e28 3307 char *kwnames[] = {
98e665d3 3308 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
3309 };
3310
98e665d3 3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3314 {
3315 arg2 = &temp2;
3316 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3317 }
d14a1e28
RD
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
98e665d3 3320 result = (PyObject *)wxCalendarCtrl_HitTest(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
98e665d3 3325 resultobj = result;
d14a1e28
RD
3326 return resultobj;
3327 fail:
3328 return NULL;
3329}
3330
3331
c370783e 3332static PyObject *_wrap_CalendarCtrl_GetMonthControl(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3333 PyObject *resultobj;
3334 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3335 wxControl *result;
3336 PyObject * obj0 = 0 ;
3337 char *kwnames[] = {
3338 (char *) "self", NULL
3339 };
3340
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetMonthControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
3342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3343 if (SWIG_arg_fail(1)) SWIG_fail;
9fd4be55
RD
3344 {
3345 PyThreadState* __tstate = wxPyBeginAllowThreads();
3346 result = (wxControl *)((wxCalendarCtrl const *)arg1)->GetMonthControl();
3347
3348 wxPyEndAllowThreads(__tstate);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 }
3351 {
412d302d 3352 resultobj = wxPyMake_wxObject(result, 0);
9fd4be55
RD
3353 }
3354 return resultobj;
3355 fail:
3356 return NULL;
3357}
3358
3359
c370783e 3360static PyObject *_wrap_CalendarCtrl_GetYearControl(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3361 PyObject *resultobj;
3362 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
3363 wxControl *result;
3364 PyObject * obj0 = 0 ;
3365 char *kwnames[] = {
3366 (char *) "self", NULL
3367 };
3368
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetYearControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
3370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0);
3371 if (SWIG_arg_fail(1)) SWIG_fail;
9fd4be55
RD
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 result = (wxControl *)((wxCalendarCtrl const *)arg1)->GetYearControl();
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 {
412d302d 3380 resultobj = wxPyMake_wxObject(result, 0);
9fd4be55
RD
3381 }
3382 return resultobj;
3383 fail:
3384 return NULL;
3385}
3386
3387
c370783e 3388static PyObject *_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3389 PyObject *resultobj;
36ed4f51 3390 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3391 wxVisualAttributes result;
3392 PyObject * obj0 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "variant", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CalendarCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3398 if (obj0) {
36ed4f51
RD
3399 {
3400 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3401 if (SWIG_arg_fail(1)) SWIG_fail;
3402 }
f20a2e1f
RD
3403 }
3404 {
0439c23b 3405 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 result = wxCalendarCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
3408
3409 wxPyEndAllowThreads(__tstate);
110da5b0 3410 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3411 }
3412 {
3413 wxVisualAttributes * resultptr;
36ed4f51 3414 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3416 }
3417 return resultobj;
3418 fail:
3419 return NULL;
3420}
3421
3422
c370783e 3423static PyObject * CalendarCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3424 PyObject *obj;
3425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3426 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl, obj);
3427 Py_INCREF(obj);
3428 return Py_BuildValue((char *)"");
3429}
3430static PyMethodDef SwigMethods[] = {
36ed4f51
RD
3431 { (char *)"new_CalendarDateAttr", (PyCFunction) _wrap_new_CalendarDateAttr, METH_VARARGS | METH_KEYWORDS, NULL},
3432 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction) _wrap_CalendarDateAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
3433 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction) _wrap_CalendarDateAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
3434 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction) _wrap_CalendarDateAttr_SetBorderColour, METH_VARARGS | METH_KEYWORDS, NULL},
3435 { (char *)"CalendarDateAttr_SetFont", (PyCFunction) _wrap_CalendarDateAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
3436 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction) _wrap_CalendarDateAttr_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
3437 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction) _wrap_CalendarDateAttr_SetHoliday, METH_VARARGS | METH_KEYWORDS, NULL},
3438 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction) _wrap_CalendarDateAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
3439 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction) _wrap_CalendarDateAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
3440 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction) _wrap_CalendarDateAttr_HasBorderColour, METH_VARARGS | METH_KEYWORDS, NULL},
3441 { (char *)"CalendarDateAttr_HasFont", (PyCFunction) _wrap_CalendarDateAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
3442 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction) _wrap_CalendarDateAttr_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
3443 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction) _wrap_CalendarDateAttr_IsHoliday, METH_VARARGS | METH_KEYWORDS, NULL},
3444 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction) _wrap_CalendarDateAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
3445 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction) _wrap_CalendarDateAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
3446 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction) _wrap_CalendarDateAttr_GetBorderColour, METH_VARARGS | METH_KEYWORDS, NULL},
3447 { (char *)"CalendarDateAttr_GetFont", (PyCFunction) _wrap_CalendarDateAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
3448 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction) _wrap_CalendarDateAttr_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
3449 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister, METH_VARARGS, NULL},
3450 { (char *)"new_CalendarEvent", (PyCFunction) _wrap_new_CalendarEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
3451 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction) _wrap_CalendarEvent_SetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
3452 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction) _wrap_CalendarEvent_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
3453 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister, METH_VARARGS, NULL},
3454 { (char *)"new_CalendarCtrl", (PyCFunction) _wrap_new_CalendarCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
3455 { (char *)"new_PreCalendarCtrl", (PyCFunction) _wrap_new_PreCalendarCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
3456 { (char *)"CalendarCtrl_Create", (PyCFunction) _wrap_CalendarCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
3457 { (char *)"CalendarCtrl_SetDate", (PyCFunction) _wrap_CalendarCtrl_SetDate, METH_VARARGS | METH_KEYWORDS, NULL},
3458 { (char *)"CalendarCtrl_GetDate", (PyCFunction) _wrap_CalendarCtrl_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
3459 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction) _wrap_CalendarCtrl_SetLowerDateLimit, METH_VARARGS | METH_KEYWORDS, NULL},
3460 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction) _wrap_CalendarCtrl_SetUpperDateLimit, METH_VARARGS | METH_KEYWORDS, NULL},
3461 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction) _wrap_CalendarCtrl_GetLowerDateLimit, METH_VARARGS | METH_KEYWORDS, NULL},
3462 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction) _wrap_CalendarCtrl_GetUpperDateLimit, METH_VARARGS | METH_KEYWORDS, NULL},
3463 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction) _wrap_CalendarCtrl_SetDateRange, METH_VARARGS | METH_KEYWORDS, NULL},
3464 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction) _wrap_CalendarCtrl_EnableYearChange, METH_VARARGS | METH_KEYWORDS, NULL},
3465 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction) _wrap_CalendarCtrl_EnableMonthChange, METH_VARARGS | METH_KEYWORDS, NULL},
3466 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction) _wrap_CalendarCtrl_EnableHolidayDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
3467 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction) _wrap_CalendarCtrl_SetHeaderColours, METH_VARARGS | METH_KEYWORDS, NULL},
3468 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction) _wrap_CalendarCtrl_GetHeaderColourFg, METH_VARARGS | METH_KEYWORDS, NULL},
3469 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction) _wrap_CalendarCtrl_GetHeaderColourBg, METH_VARARGS | METH_KEYWORDS, NULL},
3470 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction) _wrap_CalendarCtrl_SetHighlightColours, METH_VARARGS | METH_KEYWORDS, NULL},
3471 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction) _wrap_CalendarCtrl_GetHighlightColourFg, METH_VARARGS | METH_KEYWORDS, NULL},
3472 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction) _wrap_CalendarCtrl_GetHighlightColourBg, METH_VARARGS | METH_KEYWORDS, NULL},
3473 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction) _wrap_CalendarCtrl_SetHolidayColours, METH_VARARGS | METH_KEYWORDS, NULL},
3474 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction) _wrap_CalendarCtrl_GetHolidayColourFg, METH_VARARGS | METH_KEYWORDS, NULL},
3475 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction) _wrap_CalendarCtrl_GetHolidayColourBg, METH_VARARGS | METH_KEYWORDS, NULL},
3476 { (char *)"CalendarCtrl_GetAttr", (PyCFunction) _wrap_CalendarCtrl_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
3477 { (char *)"CalendarCtrl_SetAttr", (PyCFunction) _wrap_CalendarCtrl_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
3478 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction) _wrap_CalendarCtrl_SetHoliday, METH_VARARGS | METH_KEYWORDS, NULL},
3479 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction) _wrap_CalendarCtrl_ResetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
3480 { (char *)"CalendarCtrl_HitTest", (PyCFunction) _wrap_CalendarCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
3481 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction) _wrap_CalendarCtrl_GetMonthControl, METH_VARARGS | METH_KEYWORDS, NULL},
3482 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction) _wrap_CalendarCtrl_GetYearControl, METH_VARARGS | METH_KEYWORDS, NULL},
3483 { (char *)"CalendarCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_CalendarCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
3484 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister, METH_VARARGS, NULL},
c370783e 3485 { NULL, NULL, 0, NULL }
d14a1e28
RD
3486};
3487
3488
3489/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3490
3491static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
3492 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
3493}
3494static void *_p_wxCalendarCtrlTo_p_wxObject(void *x) {
3495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCalendarCtrl *) x));
3496}
3497static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
3498 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
3499}
3500static void *_p_wxSizerItemTo_p_wxObject(void *x) {
3501 return (void *)((wxObject *) ((wxSizerItem *) x));
3502}
3503static void *_p_wxScrollEventTo_p_wxObject(void *x) {
3504 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
3505}
3506static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
3507 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
3508}
3509static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
3510 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
3511}
3512static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
3513 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
3514}
3515static void *_p_wxSizerTo_p_wxObject(void *x) {
3516 return (void *)((wxObject *) ((wxSizer *) x));
3517}
3518static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
3519 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
3520}
3521static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
3522 return (void *)((wxObject *) ((wxFileHistory *) x));
3523}
3524static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
3525 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
3526}
3527static void *_p_wxEventTo_p_wxObject(void *x) {
3528 return (void *)((wxObject *) ((wxEvent *) x));
3529}
3530static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
3531 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
3532}
3533static void *_p_wxGridSizerTo_p_wxObject(void *x) {
3534 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
3535}
3536static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
3537 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
3538}
3539static void *_p_wxPaintEventTo_p_wxObject(void *x) {
3540 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
3541}
3542static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
3543 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
3544}
3545static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
3546 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
3547}
3548static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
3549 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
3550}
3551static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
3552 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
3553}
3554static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
3555 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
3556}
3557static void *_p_wxControlTo_p_wxObject(void *x) {
3558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
3559}
3560static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
3561 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
3562}
3563static void *_p_wxTimerEventTo_p_wxObject(void *x) {
3564 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
3565}
3566static void *_p_wxCalendarEventTo_p_wxObject(void *x) {
53aa7709 3567 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxDateEvent *) ((wxCalendarEvent *) x));
d14a1e28
RD
3568}
3569static void *_p_wxFSFileTo_p_wxObject(void *x) {
3570 return (void *)((wxObject *) ((wxFSFile *) x));
3571}
3572static void *_p_wxClipboardTo_p_wxObject(void *x) {
3573 return (void *)((wxObject *) ((wxClipboard *) x));
3574}
3575static void *_p_wxPySizerTo_p_wxObject(void *x) {
3576 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
3577}
3578static void *_p_wxPyEventTo_p_wxObject(void *x) {
3579 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
3580}
3581static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
3582 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
3583}
3584static void *_p_wxShowEventTo_p_wxObject(void *x) {
3585 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
3586}
3587static void *_p_wxToolTipTo_p_wxObject(void *x) {
3588 return (void *)((wxObject *) ((wxToolTip *) x));
3589}
3590static void *_p_wxMenuItemTo_p_wxObject(void *x) {
3591 return (void *)((wxObject *) ((wxMenuItem *) x));
3592}
53aa7709
RD
3593static void *_p_wxDateEventTo_p_wxObject(void *x) {
3594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
3595}
d14a1e28
RD
3596static void *_p_wxIdleEventTo_p_wxObject(void *x) {
3597 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
3598}
3599static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
3600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
3601}
3602static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
3603 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
3604}
3605static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
3606 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
3607}
3608static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
3609 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
3610}
3611static void *_p_wxSizeEventTo_p_wxObject(void *x) {
3612 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
3613}
3614static void *_p_wxMoveEventTo_p_wxObject(void *x) {
3615 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
3616}
3617static void *_p_wxActivateEventTo_p_wxObject(void *x) {
3618 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
3619}
3620static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
3621 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
3622}
3623static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
3624 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
3625}
3626static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
3627 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
3628}
3629static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
3630 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
3631}
3632static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
3633 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
3634}
3635static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
3636 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
3637}
3638static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
3639 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
3640}
3641static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
3642 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
3643}
3644static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
3645 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
3646}
3647static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
3648 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
3649}
3650static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
3651 return (void *)((wxObject *) ((wxImageHandler *) x));
3652}
3653static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
3654 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
3655}
3656static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
3657 return (void *)((wxObject *) ((wxEvtHandler *) x));
3658}
51b83b37
RD
3659static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
3660 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
3661}
41f1cec7
RD
3662static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
3663 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
3664}
d14a1e28
RD
3665static void *_p_wxImageTo_p_wxObject(void *x) {
3666 return (void *)((wxObject *) ((wxImage *) x));
3667}
3668static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
3669 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
3670}
3671static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
3672 return (void *)((wxObject *) ((wxSystemOptions *) x));
3673}
3674static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
3675 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
3676}
3677static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
3678 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
3679}
3680static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
3681 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
3682}
3683static void *_p_wxKeyEventTo_p_wxObject(void *x) {
3684 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
3685}
3686static void *_p_wxWindowTo_p_wxObject(void *x) {
3687 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
3688}
3689static void *_p_wxMenuTo_p_wxObject(void *x) {
3690 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
3691}
3692static void *_p_wxMenuBarTo_p_wxObject(void *x) {
3693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
3694}
3695static void *_p_wxPyProcessTo_p_wxObject(void *x) {
3696 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
3697}
3698static void *_p_wxFileSystemTo_p_wxObject(void *x) {
3699 return (void *)((wxObject *) ((wxFileSystem *) x));
3700}
3701static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
3702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
3703}
3704static void *_p_wxMenuEventTo_p_wxObject(void *x) {
3705 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
3706}
3707static void *_p_wxPyAppTo_p_wxObject(void *x) {
3708 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
3709}
3710static void *_p_wxCloseEventTo_p_wxObject(void *x) {
3711 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
3712}
3713static void *_p_wxMouseEventTo_p_wxObject(void *x) {
3714 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
3715}
3716static void *_p_wxEraseEventTo_p_wxObject(void *x) {
3717 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
3718}
3719static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
3720 return (void *)((wxObject *) ((wxBusyInfo *) x));
3721}
3722static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
3723 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
3724}
3725static void *_p_wxCommandEventTo_p_wxObject(void *x) {
3726 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
3727}
3728static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
3729 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
3730}
3731static void *_p_wxFocusEventTo_p_wxObject(void *x) {
3732 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
3733}
3734static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
3735 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
3736}
3737static void *_p_wxProcessEventTo_p_wxObject(void *x) {
3738 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
3739}
3740static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
3741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
3742}
3743static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
3744 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
3745}
3746static void *_p_wxValidatorTo_p_wxObject(void *x) {
3747 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
3748}
3749static void *_p_wxPyTimerTo_p_wxObject(void *x) {
3750 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
3751}
3752static void *_p_wxControlTo_p_wxWindow(void *x) {
3753 return (void *)((wxWindow *) ((wxControl *) x));
3754}
3755static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
3756 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
3757}
3758static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
3759 return (void *)((wxWindow *) ((wxMenuBar *) x));
3760}
3761static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x) {
3762 return (void *)((wxWindow *) (wxControl *) ((wxCalendarCtrl *) x));
3763}
3764static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
3765 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
3766}
3767static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
3768 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
3769}
3770static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
3771 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
3772}
53aa7709
RD
3773static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
3774 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
3775}
d14a1e28
RD
3776static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
3777 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
3778}
3779static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
3780 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
3781}
3782static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
3783 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
3784}
3785static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x) {
53aa7709 3786 return (void *)((wxCommandEvent *) (wxDateEvent *) ((wxCalendarEvent *) x));
d14a1e28
RD
3787}
3788static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
3789 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
3790}
3791static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
3792 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
3793}
53aa7709
RD
3794static void *_p_wxCalendarEventTo_p_wxDateEvent(void *x) {
3795 return (void *)((wxDateEvent *) ((wxCalendarEvent *) x));
3796}
d14a1e28
RD
3797static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
3798 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
3799}
3800static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
3801 return (void *)((wxEvtHandler *) ((wxWindow *) x));
3802}
3803static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
3804 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
3805}
3806static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
3807 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
3808}
3809static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
3810 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
3811}
3812static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
3813 return (void *)((wxEvtHandler *) ((wxValidator *) x));
3814}
3815static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
3816 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
3817}
3818static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
3819 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
3820}
3821static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
3822 return (void *)((wxEvtHandler *) ((wxMenu *) x));
3823}
3824static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
3825 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
3826}
3827static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x) {
3828 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCalendarCtrl *) x));
3829}
3830static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
3831 return (void *)((wxControl *) ((wxControlWithItems *) x));
3832}
3833static void *_p_wxCalendarCtrlTo_p_wxControl(void *x) {
3834 return (void *)((wxControl *) ((wxCalendarCtrl *) x));
3835}
3836static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
3837 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
3838}
3839static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
3840 return (void *)((wxEvent *) ((wxMenuEvent *) x));
3841}
3842static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
3843 return (void *)((wxEvent *) ((wxCloseEvent *) x));
3844}
3845static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
3846 return (void *)((wxEvent *) ((wxMouseEvent *) x));
3847}
3848static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
3849 return (void *)((wxEvent *) ((wxEraseEvent *) x));
3850}
3851static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
3852 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
3853}
3854static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
3855 return (void *)((wxEvent *) ((wxTimerEvent *) x));
3856}
3857static void *_p_wxCalendarEventTo_p_wxEvent(void *x) {
53aa7709 3858 return (void *)((wxEvent *) (wxCommandEvent *)(wxDateEvent *) ((wxCalendarEvent *) x));
d14a1e28
RD
3859}
3860static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
3861 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
3862}
3863static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
3864 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
3865}
3866static void *_p_wxPyEventTo_p_wxEvent(void *x) {
3867 return (void *)((wxEvent *) ((wxPyEvent *) x));
3868}
3869static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
3870 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
3871}
3872static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
3873 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
3874}
3875static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
3876 return (void *)((wxEvent *) ((wxIdleEvent *) x));
3877}
3878static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
3879 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
3880}
3881static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
3882 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
3883}
3884static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
3885 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
3886}
3887static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
3888 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
3889}
3890static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
3891 return (void *)((wxEvent *) ((wxActivateEvent *) x));
3892}
3893static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
3894 return (void *)((wxEvent *) ((wxSizeEvent *) x));
3895}
3896static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
3897 return (void *)((wxEvent *) ((wxMoveEvent *) x));
3898}
53aa7709
RD
3899static void *_p_wxDateEventTo_p_wxEvent(void *x) {
3900 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
3901}
d14a1e28
RD
3902static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
3903 return (void *)((wxEvent *) ((wxPaintEvent *) x));
3904}
3905static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
3906 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
3907}
3908static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
3909 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
3910}
3911static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
3912 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
3913}
3914static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
3915 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
3916}
3917static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
3918 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
3919}
3920static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
3921 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
3922}
3923static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
3924 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
3925}
3926static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
3927 return (void *)((wxEvent *) ((wxFocusEvent *) x));
3928}
3929static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
3930 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
3931}
3932static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
3933 return (void *)((wxEvent *) ((wxProcessEvent *) x));
3934}
3935static void *_p_wxShowEventTo_p_wxEvent(void *x) {
3936 return (void *)((wxEvent *) ((wxShowEvent *) x));
3937}
3938static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
3939 return (void *)((wxEvent *) ((wxCommandEvent *) x));
3940}
3941static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
3942 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
3943}
3944static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
3945 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
3946}
3947static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
3948 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
3949}
3950static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
3951 return (void *)((wxEvent *) ((wxKeyEvent *) x));
3952}
3953static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
3954 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
3955}
53aa7709 3956static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
3957static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3958static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 3959static swig_type_info _swigt__p_wxCalendarDateAttr[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0, 0, 0, 0},{"_p_wxCalendarDateAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
3960static swig_type_info _swigt__p_wxCalendarEvent[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0, 0, 0, 0},{"_p_wxCalendarEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3961static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 3962static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 3963static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
3964static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3965static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3966static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3967static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3968static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 3969static swig_type_info _swigt__p_wxDateEvent[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxDateEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f
RD
3970static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3971static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
3972static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3973static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f
RD
3974static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3975static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3976static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 3977static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
3978static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3979static swig_type_info _swigt__p_wxCalendarCtrl[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0, 0, 0, 0},{"_p_wxCalendarCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3980static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d14a1e28
RD
3981
3982static swig_type_info *swig_types_initial[] = {
f20a2e1f 3983_swigt__p_wxObject,
36ed4f51
RD
3984_swigt__p_unsigned_char,
3985_swigt__p_wxColour,
f20a2e1f 3986_swigt__p_wxCalendarDateAttr,
36ed4f51
RD
3987_swigt__p_wxCalendarEvent,
3988_swigt__p_wxVisualAttributes,
f20a2e1f 3989_swigt__p_wxWindow,
d14a1e28 3990_swigt__p_wxCommandEvent,
36ed4f51
RD
3991_swigt__p_unsigned_long,
3992_swigt__p_unsigned_int,
3993_swigt__unsigned_int,
3994_swigt__p_form_ops_t,
3995_swigt__p_wxDuplexMode,
53aa7709 3996_swigt__p_wxDateEvent,
f20a2e1f
RD
3997_swigt__p_char,
3998_swigt__p_wxEvtHandler,
36ed4f51
RD
3999_swigt__std__ptrdiff_t,
4000_swigt__ptrdiff_t,
f20a2e1f
RD
4001_swigt__p_wxFont,
4002_swigt__p_wxDateTime,
4003_swigt__p_wxControl,
f20a2e1f 4004_swigt__p_wxEvent,
36ed4f51
RD
4005_swigt__p_wxPaperSize,
4006_swigt__p_wxCalendarCtrl,
4007_swigt__p_int,
d14a1e28
RD
40080
4009};
4010
4011
4012/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
4013
4014static swig_const_info swig_const_table[] = {
c370783e 4015{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
4016
4017#ifdef __cplusplus
4018}
4019#endif
4020
36ed4f51
RD
4021
4022#ifdef __cplusplus
4023extern "C" {
4024#endif
4025
4026 /* Python-specific SWIG API */
4027#define SWIG_newvarlink() SWIG_Python_newvarlink()
4028#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
4029#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
4030
4031 /* -----------------------------------------------------------------------------
4032 * global variable support code.
4033 * ----------------------------------------------------------------------------- */
4034
4035 typedef struct swig_globalvar {
4036 char *name; /* Name of global variable */
4037 PyObject *(*get_attr)(); /* Return the current value */
4038 int (*set_attr)(PyObject *); /* Set the value */
4039 struct swig_globalvar *next;
4040 } swig_globalvar;
4041
4042 typedef struct swig_varlinkobject {
4043 PyObject_HEAD
4044 swig_globalvar *vars;
4045 } swig_varlinkobject;
4046
4047 static PyObject *
4048 swig_varlink_repr(swig_varlinkobject *v) {
4049 v = v;
4050 return PyString_FromString("<Swig global variables>");
4051 }
4052
4053 static int
4054 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
4055 swig_globalvar *var;
4056 flags = flags;
4057 fprintf(fp,"Swig global variables { ");
4058 for (var = v->vars; var; var=var->next) {
4059 fprintf(fp,"%s", var->name);
4060 if (var->next) fprintf(fp,", ");
4061 }
4062 fprintf(fp," }\n");
4063 return 0;
4064 }
4065
4066 static PyObject *
4067 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
4068 swig_globalvar *var = v->vars;
4069 while (var) {
4070 if (strcmp(var->name,n) == 0) {
4071 return (*var->get_attr)();
4072 }
4073 var = var->next;
4074 }
4075 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
4076 return NULL;
4077 }
4078
4079 static int
4080 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
4081 swig_globalvar *var = v->vars;
4082 while (var) {
4083 if (strcmp(var->name,n) == 0) {
4084 return (*var->set_attr)(p);
4085 }
4086 var = var->next;
4087 }
4088 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
4089 return 1;
4090 }
4091
4092 static PyTypeObject varlinktype = {
4093 PyObject_HEAD_INIT(0)
4094 0, /* Number of items in variable part (ob_size) */
4095 (char *)"swigvarlink", /* Type name (tp_name) */
4096 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
4097 0, /* Itemsize (tp_itemsize) */
4098 0, /* Deallocator (tp_dealloc) */
4099 (printfunc) swig_varlink_print, /* Print (tp_print) */
4100 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
4101 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
4102 0, /* tp_compare */
4103 (reprfunc) swig_varlink_repr, /* tp_repr */
4104 0, /* tp_as_number */
4105 0, /* tp_as_sequence */
4106 0, /* tp_as_mapping */
4107 0, /* tp_hash */
4108 0, /* tp_call */
4109 0, /* tp_str */
4110 0, /* tp_getattro */
4111 0, /* tp_setattro */
4112 0, /* tp_as_buffer */
4113 0, /* tp_flags */
4114 0, /* tp_doc */
4115#if PY_VERSION_HEX >= 0x02000000
4116 0, /* tp_traverse */
4117 0, /* tp_clear */
4118#endif
4119#if PY_VERSION_HEX >= 0x02010000
4120 0, /* tp_richcompare */
4121 0, /* tp_weaklistoffset */
4122#endif
4123#if PY_VERSION_HEX >= 0x02020000
4124 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
4125#endif
4126#if PY_VERSION_HEX >= 0x02030000
4127 0, /* tp_del */
4128#endif
4129#ifdef COUNT_ALLOCS
4130 0,0,0,0 /* tp_alloc -> tp_next */
4131#endif
4132 };
4133
4134 /* Create a variable linking object for use later */
4135 static PyObject *
4136 SWIG_Python_newvarlink(void) {
4137 swig_varlinkobject *result = 0;
4138 result = PyMem_NEW(swig_varlinkobject,1);
4139 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
4140 result->ob_type = &varlinktype;
4141 result->vars = 0;
4142 result->ob_refcnt = 0;
4143 Py_XINCREF((PyObject *) result);
4144 return ((PyObject*) result);
4145 }
4146
4147 static void
4148 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
4149 swig_varlinkobject *v;
4150 swig_globalvar *gv;
4151 v= (swig_varlinkobject *) p;
4152 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
4153 gv->name = (char *) malloc(strlen(name)+1);
4154 strcpy(gv->name,name);
4155 gv->get_attr = get_attr;
4156 gv->set_attr = set_attr;
4157 gv->next = v->vars;
4158 v->vars = gv;
4159 }
4160
4161 /* -----------------------------------------------------------------------------
4162 * constants/methods manipulation
4163 * ----------------------------------------------------------------------------- */
4164
4165 /* Install Constants */
4166 static void
4167 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
4168 PyObject *obj = 0;
4169 size_t i;
4170 for (i = 0; constants[i].type; i++) {
4171 switch(constants[i].type) {
4172 case SWIG_PY_INT:
4173 obj = PyInt_FromLong(constants[i].lvalue);
4174 break;
4175 case SWIG_PY_FLOAT:
4176 obj = PyFloat_FromDouble(constants[i].dvalue);
4177 break;
4178 case SWIG_PY_STRING:
4179 if (constants[i].pvalue) {
4180 obj = PyString_FromString((char *) constants[i].pvalue);
4181 } else {
4182 Py_INCREF(Py_None);
4183 obj = Py_None;
4184 }
4185 break;
4186 case SWIG_PY_POINTER:
4187 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
4188 break;
4189 case SWIG_PY_BINARY:
4190 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
4191 break;
4192 default:
4193 obj = 0;
4194 break;
4195 }
4196 if (obj) {
4197 PyDict_SetItemString(d,constants[i].name,obj);
4198 Py_DECREF(obj);
4199 }
4200 }
4201 }
4202
4203 /* -----------------------------------------------------------------------------*/
4204 /* Fix SwigMethods to carry the callback ptrs when needed */
4205 /* -----------------------------------------------------------------------------*/
4206
4207 static void
4208 SWIG_Python_FixMethods(PyMethodDef *methods,
4209 swig_const_info *const_table,
4210 swig_type_info **types,
4211 swig_type_info **types_initial) {
4212 size_t i;
4213 for (i = 0; methods[i].ml_name; ++i) {
4214 char *c = methods[i].ml_doc;
4215 if (c && (c = strstr(c, "swig_ptr: "))) {
4216 int j;
4217 swig_const_info *ci = 0;
4218 char *name = c + 10;
4219 for (j = 0; const_table[j].type; j++) {
4220 if (strncmp(const_table[j].name, name,
4221 strlen(const_table[j].name)) == 0) {
4222 ci = &(const_table[j]);
4223 break;
4224 }
4225 }
4226 if (ci) {
4227 size_t shift = (ci->ptype) - types;
4228 swig_type_info *ty = types_initial[shift];
4229 size_t ldoc = (c - methods[i].ml_doc);
4230 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
4231 char *ndoc = (char*)malloc(ldoc + lptr + 10);
4232 char *buff = ndoc;
4233 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
4234 strncpy(buff, methods[i].ml_doc, ldoc);
4235 buff += ldoc;
4236 strncpy(buff, "swig_ptr: ", 10);
4237 buff += 10;
4238 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
4239 methods[i].ml_doc = ndoc;
4240 }
4241 }
4242 }
4243 }
4244
4245 /* -----------------------------------------------------------------------------*
4246 * Initialize type list
4247 * -----------------------------------------------------------------------------*/
4248
4249#if PY_MAJOR_VERSION < 2
4250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
4251 is copied out of Python/modsupport.c in python version 2.3.4 */
4252 static int
4253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
4254 {
4255 PyObject *dict;
4256 if (!PyModule_Check(m)) {
4257 PyErr_SetString(PyExc_TypeError,
4258 "PyModule_AddObject() needs module as first arg");
4259 return -1;
4260 }
4261 if (!o) {
4262 PyErr_SetString(PyExc_TypeError,
4263 "PyModule_AddObject() needs non-NULL value");
4264 return -1;
4265 }
4266
4267 dict = PyModule_GetDict(m);
4268 if (dict == NULL) {
4269 /* Internal error -- modules must have a dict! */
4270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
4271 PyModule_GetName(m));
4272 return -1;
4273 }
4274 if (PyDict_SetItemString(dict, name, o))
4275 return -1;
4276 Py_DECREF(o);
4277 return 0;
4278 }
4279#endif
4280
4281 static swig_type_info **
4282 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
4283 static PyMethodDef swig_empty_runtime_method_table[] = {
4284 {
4285 NULL, NULL, 0, NULL
4286 }
4287 };/* Sentinel */
4288
4289 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
4290 swig_empty_runtime_method_table);
4291 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
4292 if (pointer && module) {
4293 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
4294 }
4295 return type_list_handle;
4296 }
4297
4298 static swig_type_info **
4299 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
4300 swig_type_info **type_pointer;
4301
4302 /* first check if module already created */
4303 type_pointer = SWIG_Python_GetTypeListHandle();
4304 if (type_pointer) {
4305 return type_pointer;
4306 } else {
4307 /* create a new module and variable */
4308 return SWIG_Python_SetTypeListHandle(type_list_handle);
4309 }
4310 }
4311
4312#ifdef __cplusplus
4313}
4314#endif
4315
4316/* -----------------------------------------------------------------------------*
4317 * Partial Init method
4318 * -----------------------------------------------------------------------------*/
4319
4320#ifdef SWIG_LINK_RUNTIME
4321#ifdef __cplusplus
4322extern "C"
4323#endif
4324SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
4325#endif
4326
d14a1e28
RD
4327#ifdef __cplusplus
4328extern "C"
4329#endif
4330SWIGEXPORT(void) SWIG_init(void) {
4331 static PyObject *SWIG_globals = 0;
4332 static int typeinit = 0;
4333 PyObject *m, *d;
4334 int i;
4335 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
4336
4337 /* Fix SwigMethods to carry the callback ptrs when needed */
4338 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
4339
d14a1e28
RD
4340 m = Py_InitModule((char *) SWIG_name, SwigMethods);
4341 d = PyModule_GetDict(m);
4342
4343 if (!typeinit) {
36ed4f51
RD
4344#ifdef SWIG_LINK_RUNTIME
4345 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
4346#else
4347# ifndef SWIG_STATIC_RUNTIME
4348 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
4349# endif
4350#endif
d14a1e28
RD
4351 for (i = 0; swig_types_initial[i]; i++) {
4352 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
4353 }
4354 typeinit = 1;
4355 }
4356 SWIG_InstallConstants(d,swig_const_table);
4357
36ed4f51
RD
4358 {
4359 PyDict_SetItemString(d,"CAL_SUNDAY_FIRST", SWIG_From_int((int)(wxCAL_SUNDAY_FIRST)));
4360 }
4361 {
4362 PyDict_SetItemString(d,"CAL_MONDAY_FIRST", SWIG_From_int((int)(wxCAL_MONDAY_FIRST)));
4363 }
4364 {
4365 PyDict_SetItemString(d,"CAL_SHOW_HOLIDAYS", SWIG_From_int((int)(wxCAL_SHOW_HOLIDAYS)));
4366 }
4367 {
4368 PyDict_SetItemString(d,"CAL_NO_YEAR_CHANGE", SWIG_From_int((int)(wxCAL_NO_YEAR_CHANGE)));
4369 }
4370 {
4371 PyDict_SetItemString(d,"CAL_NO_MONTH_CHANGE", SWIG_From_int((int)(wxCAL_NO_MONTH_CHANGE)));
4372 }
4373 {
4374 PyDict_SetItemString(d,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_From_int((int)(wxCAL_SEQUENTIAL_MONTH_SELECTION)));
4375 }
4376 {
4377 PyDict_SetItemString(d,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_From_int((int)(wxCAL_SHOW_SURROUNDING_WEEKS)));
4378 }
4379 {
4380 PyDict_SetItemString(d,"CAL_HITTEST_NOWHERE", SWIG_From_int((int)(wxCAL_HITTEST_NOWHERE)));
4381 }
4382 {
4383 PyDict_SetItemString(d,"CAL_HITTEST_HEADER", SWIG_From_int((int)(wxCAL_HITTEST_HEADER)));
4384 }
4385 {
4386 PyDict_SetItemString(d,"CAL_HITTEST_DAY", SWIG_From_int((int)(wxCAL_HITTEST_DAY)));
4387 }
4388 {
4389 PyDict_SetItemString(d,"CAL_HITTEST_INCMONTH", SWIG_From_int((int)(wxCAL_HITTEST_INCMONTH)));
4390 }
4391 {
4392 PyDict_SetItemString(d,"CAL_HITTEST_DECMONTH", SWIG_From_int((int)(wxCAL_HITTEST_DECMONTH)));
4393 }
4394 {
4395 PyDict_SetItemString(d,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_From_int((int)(wxCAL_HITTEST_SURROUNDING_WEEK)));
4396 }
4397 {
4398 PyDict_SetItemString(d,"CAL_BORDER_NONE", SWIG_From_int((int)(wxCAL_BORDER_NONE)));
4399 }
4400 {
4401 PyDict_SetItemString(d,"CAL_BORDER_SQUARE", SWIG_From_int((int)(wxCAL_BORDER_SQUARE)));
4402 }
4403 {
4404 PyDict_SetItemString(d,"CAL_BORDER_ROUND", SWIG_From_int((int)(wxCAL_BORDER_ROUND)));
4405 }
d14a1e28
RD
4406 PyDict_SetItemString(d, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED));
4407 PyDict_SetItemString(d, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED));
4408 PyDict_SetItemString(d, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED));
4409 PyDict_SetItemString(d, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED));
4410 PyDict_SetItemString(d, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED));
4411 PyDict_SetItemString(d, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED));
cbd72d4f
RD
4412 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
4413 SWIG_addvarlink(SWIG_globals,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get, _wrap_CalendarNameStr_set);
d14a1e28
RD
4414
4415
4416}
4417