]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/calendar_wrap.cpp
Trim trailing spaces from key names when parsing
[wxWidgets.git] / wxPython / src / msw / calendar_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 3 * Version 1.3.22
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
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
f0983263
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
f0983263
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
83448d71 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
f0983263
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
423f194a 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
98e665d3
RD
209#define SWIGTYPE_p_wxControl swig_types[0]
210#define SWIGTYPE_p_wxDateTime swig_types[1]
211#define SWIGTYPE_p_wxWindow swig_types[2]
212#define SWIGTYPE_p_wxFont swig_types[3]
213#define SWIGTYPE_p_wxEvent swig_types[4]
214#define SWIGTYPE_p_wxObject swig_types[5]
215#define SWIGTYPE_p_wxEvtHandler swig_types[6]
8edf1c75 216#define SWIGTYPE_p_char swig_types[7]
98e665d3
RD
217#define SWIGTYPE_p_wxCalendarDateAttr swig_types[8]
218#define SWIGTYPE_p_wxColour swig_types[9]
219#define SWIGTYPE_p_wxCalendarEvent swig_types[10]
220#define SWIGTYPE_p_wxCommandEvent swig_types[11]
4e760a36 221#define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
98e665d3 222static swig_type_info *swig_types[14];
d14a1e28
RD
223
224/* -------- TYPES TABLE (END) -------- */
225
226
227/*-----------------------------------------------
228 @(target):= _calendar.so
229 ------------------------------------------------*/
230#define SWIG_init init_calendar
231
232#define SWIG_name "_calendar"
233
2f4c0a16 234/* Auxiliar swig macros */
8edf1c75 235
8edf1c75 236#ifdef __cplusplus
2f4c0a16 237#define SWIGSTATICINLINE(a) static inline a
8edf1c75 238#define SWIGSTATIC(a) static a
2f4c0a16
RD
239#define swig_new_array(type, size) (new type[(size)])
240#define swig_delete_array(cptr) delete[] cptr
241#define swig_const_cast(type,a) const_cast<type>(a)
242#define swig_static_cast(type,a) static_cast<type>(a)
243#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 244
8edf1c75 245#ifdef HAVE_NUMERIC_CAST
2f4c0a16 246#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 247#else
2f4c0a16 248#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
249#endif
250
2f4c0a16
RD
251#else /* C case */
252
253#define SWIGSTATICINLINE(a) static a
254#define SWIGSTATIC(a) static a
255#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
256#define swig_delete_array(cptr) free((char*)cptr)
257#define swig_const_cast(type,a) (type)(a)
258#define swig_static_cast(type,a) (type)(a)
259#define swig_reinterpret_cast(type,a) (type)(a)
260#define swig_numeric_cast(type,a) (type)(a)
261
262#endif /* __cplusplus */
8edf1c75
RD
263
264
2f4c0a16
RD
265#define SWIG_FromSignedChar PyInt_FromLong
266#define SWIG_FromUnsignedChar PyInt_FromLong
267#define SWIG_FromShort PyInt_FromLong
268#define SWIG_FromUnsignedShort PyInt_FromLong
269#define SWIG_FromInt PyInt_FromLong
270#define SWIG_FromLong PyInt_FromLong
271#define SWIG_FromFloat PyFloat_FromDouble
272#define SWIG_FromDouble PyFloat_FromDouble
273#define SWIG_FromFloat PyFloat_FromDouble
274#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
275
276
d14a1e28
RD
277#include "wx/wxPython/wxPython.h"
278#include "wx/wxPython/pyclasses.h"
279
280#include <wx/calctrl.h>
281
8edf1c75 282
2f4c0a16
RD
283#include <limits.h>
284
285
286SWIGSTATICINLINE(long)
287SWIG_CheckLongInRange(long value, const char* type,
288 long min_value, long max_value)
289{
290 if (!PyErr_Occurred()) {
291 if (value < min_value) {
292 PyObject *err =
293 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
294 value, type, min_value);
295
296 PyErr_SetObject(PyExc_OverflowError, err);
297 Py_DECREF(err);
298 } else if (value > max_value) {
299 PyObject *err =
300 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
301 value, type, max_value);
302 PyErr_SetObject(PyExc_OverflowError, err);
303 Py_DECREF(err);
304 }
305 }
306 return value;
307}
308
309
310SWIGSTATICINLINE(long)
311SWIG_AsLong(PyObject * obj)
312{
313 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
314}
315
316
317#if INT_MAX != LONG_MAX
318SWIGSTATICINLINE(int)
319SWIG_AsInt(PyObject *obj)
8edf1c75 320{
2f4c0a16
RD
321 return swig_numeric_cast(int,
322 SWIG_CheckLongInRange(SWIG_AsLong(obj),
323 "int", INT_MIN, INT_MAX));
324}
325#else
326#define SWIG_AsInt SWIG_AsLong
327#endif
328
329
330SWIGSTATICINLINE(int)
331SWIG_CheckInt(PyObject* obj)
332{
333 SWIG_AsInt(obj);
334 if (PyErr_Occurred()) {
335 PyErr_Clear();
336 return 0;
337 } else {
338 return 1;
339 }
8edf1c75
RD
340}
341
342
2f4c0a16
RD
343SWIGSTATICINLINE(bool)
344SWIG_AsBool(PyObject *obj)
8edf1c75
RD
345{
346 return PyObject_IsTrue(obj) ? true : false;
347}
348
2f4c0a16
RD
349
350SWIGSTATICINLINE(int)
351SWIG_CheckBool(PyObject* obj)
352{
353 SWIG_AsBool(obj);
354 if (PyErr_Occurred()) {
355 PyErr_Clear();
356 return 0;
357 } else {
358 return 1;
359 }
360}
361
d03fd34d 362 static const wxString wxPyCalendarNameStr(wxCalendarNameStr);
8edf1c75 363
2f4c0a16
RD
364SWIGSTATICINLINE(int)
365SWIG_CheckLong(PyObject* obj)
8edf1c75 366{
2f4c0a16
RD
367 SWIG_AsLong(obj);
368 if (PyErr_Occurred()) {
369 PyErr_Clear();
370 return 0;
371 } else {
372 return 1;
373 }
374}
375
376
377SWIGSTATICINLINE(unsigned long)
378SWIG_AsUnsignedLong(PyObject * obj)
379{
380 if (PyLong_Check(obj)) {
381 return PyLong_AsUnsignedLong(obj);
382 } else {
383 long i = PyInt_AsLong(obj);
384 if ( !PyErr_Occurred() && (i < 0)) {
385 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
386 }
387 return i;
388 }
389}
390
391
392SWIGSTATICINLINE(int)
393SWIG_CheckUnsignedLong(PyObject* obj)
394{
395 SWIG_AsUnsignedLong(obj);
396 if (PyErr_Occurred()) {
397 PyErr_Clear();
398 return 0;
399 } else {
400 return 1;
401 }
8edf1c75
RD
402}
403
98e665d3
RD
404PyObject *wxCalendarCtrl_HitTest(wxCalendarCtrl *self,wxPoint const &pos){
405 wxDateTime* date = new wxDateTime;
406 wxDateTime::WeekDay wd;
407 wxCalendarHitTestResult result = self->HitTest(pos, date, &wd);
408 wxPyBeginBlockThreads();
409 PyObject* tup = PyTuple_New(3);
410 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(result));
411 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(date, wxT("wxDateTime"), 1));
412 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(wd));
413 wxPyEndBlockThreads();
414 return tup;
415 }
d14a1e28
RD
416#ifdef __cplusplus
417extern "C" {
418#endif
419static PyObject *_wrap_new_CalendarDateAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
420 PyObject *resultobj;
98e665d3
RD
421 wxColour const &arg1_defvalue = wxNullColour ;
422 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d14a1e28
RD
423 wxColour const &arg2_defvalue = wxNullColour ;
424 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
425 wxColour const &arg3_defvalue = wxNullColour ;
426 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
427 wxFont const &arg4_defvalue = wxNullFont ;
428 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
429 int arg5 = (int) wxCAL_BORDER_NONE ;
430 wxCalendarDateAttr *result;
431 wxColour temp1 ;
432 wxColour temp2 ;
433 wxColour temp3 ;
434 PyObject * obj0 = 0 ;
435 PyObject * obj1 = 0 ;
436 PyObject * obj2 = 0 ;
437 PyObject * obj3 = 0 ;
8edf1c75 438 PyObject * obj4 = 0 ;
d14a1e28
RD
439 char *kwnames[] = {
440 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
441 };
442
98e665d3
RD
443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_CalendarDateAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
444 if (obj0) {
445 {
446 arg1 = &temp1;
447 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
448 }
d14a1e28
RD
449 }
450 if (obj1) {
451 {
452 arg2 = &temp2;
453 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
454 }
455 }
456 if (obj2) {
457 {
458 arg3 = &temp3;
459 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
460 }
461 }
462 if (obj3) {
2f4c0a16
RD
463 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
464 SWIG_POINTER_EXCEPTION | 0)) == -1)
465 SWIG_fail;
d14a1e28 466 if (arg4 == NULL) {
2f4c0a16
RD
467 PyErr_SetString(PyExc_TypeError,"null reference");
468 SWIG_fail;
d14a1e28
RD
469 }
470 }
8edf1c75 471 if (obj4) {
2f4c0a16
RD
472 arg5 = (wxCalendarDateBorder) SWIG_AsInt(obj4);
473 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 474 }
d14a1e28
RD
475 {
476 PyThreadState* __tstate = wxPyBeginAllowThreads();
477 result = (wxCalendarDateAttr *)new wxCalendarDateAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxColour const &)*arg3,(wxFont const &)*arg4,(wxCalendarDateBorder )arg5);
478
479 wxPyEndAllowThreads(__tstate);
480 if (PyErr_Occurred()) SWIG_fail;
481 }
2f4c0a16 482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarDateAttr, 1);
d14a1e28
RD
483 return resultobj;
484 fail:
485 return NULL;
486}
487
488
d14a1e28
RD
489static PyObject *_wrap_CalendarDateAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
490 PyObject *resultobj;
491 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
492 wxColour *arg2 = 0 ;
493 wxColour temp2 ;
494 PyObject * obj0 = 0 ;
495 PyObject * obj1 = 0 ;
496 char *kwnames[] = {
497 (char *) "self",(char *) "colText", NULL
498 };
499
500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
503 {
504 arg2 = &temp2;
505 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
506 }
507 {
508 PyThreadState* __tstate = wxPyBeginAllowThreads();
509 (arg1)->SetTextColour((wxColour const &)*arg2);
510
511 wxPyEndAllowThreads(__tstate);
512 if (PyErr_Occurred()) SWIG_fail;
513 }
514 Py_INCREF(Py_None); resultobj = Py_None;
515 return resultobj;
516 fail:
517 return NULL;
518}
519
520
521static PyObject *_wrap_CalendarDateAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
522 PyObject *resultobj;
523 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
524 wxColour *arg2 = 0 ;
525 wxColour temp2 ;
526 PyObject * obj0 = 0 ;
527 PyObject * obj1 = 0 ;
528 char *kwnames[] = {
529 (char *) "self",(char *) "colBack", NULL
530 };
531
532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
535 {
536 arg2 = &temp2;
537 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
538 }
539 {
540 PyThreadState* __tstate = wxPyBeginAllowThreads();
541 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
542
543 wxPyEndAllowThreads(__tstate);
544 if (PyErr_Occurred()) SWIG_fail;
545 }
546 Py_INCREF(Py_None); resultobj = Py_None;
547 return resultobj;
548 fail:
549 return NULL;
550}
551
552
553static PyObject *_wrap_CalendarDateAttr_SetBorderColour(PyObject *self, PyObject *args, PyObject *kwargs) {
554 PyObject *resultobj;
555 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
556 wxColour *arg2 = 0 ;
557 wxColour temp2 ;
558 PyObject * obj0 = 0 ;
559 PyObject * obj1 = 0 ;
560 char *kwnames[] = {
561 (char *) "self",(char *) "col", NULL
562 };
563
564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
567 {
568 arg2 = &temp2;
569 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
570 }
571 {
572 PyThreadState* __tstate = wxPyBeginAllowThreads();
573 (arg1)->SetBorderColour((wxColour const &)*arg2);
574
575 wxPyEndAllowThreads(__tstate);
576 if (PyErr_Occurred()) SWIG_fail;
577 }
578 Py_INCREF(Py_None); resultobj = Py_None;
579 return resultobj;
580 fail:
581 return NULL;
582}
583
584
585static PyObject *_wrap_CalendarDateAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
586 PyObject *resultobj;
587 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
588 wxFont *arg2 = 0 ;
589 PyObject * obj0 = 0 ;
590 PyObject * obj1 = 0 ;
591 char *kwnames[] = {
592 (char *) "self",(char *) "font", NULL
593 };
594
595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
599 SWIG_POINTER_EXCEPTION | 0)) == -1)
600 SWIG_fail;
d14a1e28 601 if (arg2 == NULL) {
2f4c0a16
RD
602 PyErr_SetString(PyExc_TypeError,"null reference");
603 SWIG_fail;
d14a1e28
RD
604 }
605 {
606 PyThreadState* __tstate = wxPyBeginAllowThreads();
607 (arg1)->SetFont((wxFont const &)*arg2);
608
609 wxPyEndAllowThreads(__tstate);
610 if (PyErr_Occurred()) SWIG_fail;
611 }
612 Py_INCREF(Py_None); resultobj = Py_None;
613 return resultobj;
614 fail:
615 return NULL;
616}
617
618
619static PyObject *_wrap_CalendarDateAttr_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
620 PyObject *resultobj;
621 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
622 int arg2 ;
623 PyObject * obj0 = 0 ;
8edf1c75 624 PyObject * obj1 = 0 ;
d14a1e28
RD
625 char *kwnames[] = {
626 (char *) "self",(char *) "border", NULL
627 };
628
8edf1c75 629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetBorder",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
632 arg2 = (wxCalendarDateBorder) SWIG_AsInt(obj1);
633 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
634 {
635 PyThreadState* __tstate = wxPyBeginAllowThreads();
636 (arg1)->SetBorder((wxCalendarDateBorder )arg2);
637
638 wxPyEndAllowThreads(__tstate);
639 if (PyErr_Occurred()) SWIG_fail;
640 }
641 Py_INCREF(Py_None); resultobj = Py_None;
642 return resultobj;
643 fail:
644 return NULL;
645}
646
647
648static PyObject *_wrap_CalendarDateAttr_SetHoliday(PyObject *self, PyObject *args, PyObject *kwargs) {
649 PyObject *resultobj;
650 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
651 bool arg2 ;
652 PyObject * obj0 = 0 ;
653 PyObject * obj1 = 0 ;
654 char *kwnames[] = {
655 (char *) "self",(char *) "holiday", NULL
656 };
657
658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
661 arg2 = (bool) SWIG_AsBool(obj1);
662 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
663 {
664 PyThreadState* __tstate = wxPyBeginAllowThreads();
665 (arg1)->SetHoliday(arg2);
666
667 wxPyEndAllowThreads(__tstate);
668 if (PyErr_Occurred()) SWIG_fail;
669 }
670 Py_INCREF(Py_None); resultobj = Py_None;
671 return resultobj;
672 fail:
673 return NULL;
674}
675
676
677static PyObject *_wrap_CalendarDateAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
678 PyObject *resultobj;
679 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
680 bool result;
681 PyObject * obj0 = 0 ;
682 char *kwnames[] = {
683 (char *) "self", NULL
684 };
685
686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
689 {
690 PyThreadState* __tstate = wxPyBeginAllowThreads();
691 result = (bool)((wxCalendarDateAttr const *)arg1)->HasTextColour();
692
693 wxPyEndAllowThreads(__tstate);
694 if (PyErr_Occurred()) SWIG_fail;
695 }
4e760a36 696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
697 return resultobj;
698 fail:
699 return NULL;
700}
701
702
703static PyObject *_wrap_CalendarDateAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
704 PyObject *resultobj;
705 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
706 bool result;
707 PyObject * obj0 = 0 ;
708 char *kwnames[] = {
709 (char *) "self", NULL
710 };
711
712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
715 {
716 PyThreadState* __tstate = wxPyBeginAllowThreads();
717 result = (bool)((wxCalendarDateAttr const *)arg1)->HasBackgroundColour();
718
719 wxPyEndAllowThreads(__tstate);
720 if (PyErr_Occurred()) SWIG_fail;
721 }
4e760a36 722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
723 return resultobj;
724 fail:
725 return NULL;
726}
727
728
729static PyObject *_wrap_CalendarDateAttr_HasBorderColour(PyObject *self, PyObject *args, PyObject *kwargs) {
730 PyObject *resultobj;
731 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
732 bool result;
733 PyObject * obj0 = 0 ;
734 char *kwnames[] = {
735 (char *) "self", NULL
736 };
737
738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
741 {
742 PyThreadState* __tstate = wxPyBeginAllowThreads();
743 result = (bool)((wxCalendarDateAttr const *)arg1)->HasBorderColour();
744
745 wxPyEndAllowThreads(__tstate);
746 if (PyErr_Occurred()) SWIG_fail;
747 }
4e760a36 748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
749 return resultobj;
750 fail:
751 return NULL;
752}
753
754
755static PyObject *_wrap_CalendarDateAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
756 PyObject *resultobj;
757 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
758 bool result;
759 PyObject * obj0 = 0 ;
760 char *kwnames[] = {
761 (char *) "self", NULL
762 };
763
764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
767 {
768 PyThreadState* __tstate = wxPyBeginAllowThreads();
769 result = (bool)((wxCalendarDateAttr const *)arg1)->HasFont();
770
771 wxPyEndAllowThreads(__tstate);
772 if (PyErr_Occurred()) SWIG_fail;
773 }
4e760a36 774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
775 return resultobj;
776 fail:
777 return NULL;
778}
779
780
781static PyObject *_wrap_CalendarDateAttr_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
782 PyObject *resultobj;
783 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
784 bool result;
785 PyObject * obj0 = 0 ;
786 char *kwnames[] = {
787 (char *) "self", NULL
788 };
789
790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_HasBorder",kwnames,&obj0)) goto fail;
2f4c0a16
RD
791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
793 {
794 PyThreadState* __tstate = wxPyBeginAllowThreads();
795 result = (bool)((wxCalendarDateAttr const *)arg1)->HasBorder();
796
797 wxPyEndAllowThreads(__tstate);
798 if (PyErr_Occurred()) SWIG_fail;
799 }
4e760a36 800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
801 return resultobj;
802 fail:
803 return NULL;
804}
805
806
807static PyObject *_wrap_CalendarDateAttr_IsHoliday(PyObject *self, PyObject *args, PyObject *kwargs) {
808 PyObject *resultobj;
809 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
810 bool result;
811 PyObject * obj0 = 0 ;
812 char *kwnames[] = {
813 (char *) "self", NULL
814 };
815
816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_IsHoliday",kwnames,&obj0)) goto fail;
2f4c0a16
RD
817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
819 {
820 PyThreadState* __tstate = wxPyBeginAllowThreads();
821 result = (bool)((wxCalendarDateAttr const *)arg1)->IsHoliday();
822
823 wxPyEndAllowThreads(__tstate);
824 if (PyErr_Occurred()) SWIG_fail;
825 }
4e760a36 826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
827 return resultobj;
828 fail:
829 return NULL;
830}
831
832
833static PyObject *_wrap_CalendarDateAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
834 PyObject *resultobj;
835 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
836 wxColour result;
837 PyObject * obj0 = 0 ;
838 char *kwnames[] = {
839 (char *) "self", NULL
840 };
841
842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
845 {
846 PyThreadState* __tstate = wxPyBeginAllowThreads();
847 result = ((wxCalendarDateAttr const *)arg1)->GetTextColour();
848
849 wxPyEndAllowThreads(__tstate);
850 if (PyErr_Occurred()) SWIG_fail;
851 }
852 {
853 wxColour * resultptr;
854 resultptr = new wxColour((wxColour &) result);
2f4c0a16 855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
856 }
857 return resultobj;
858 fail:
859 return NULL;
860}
861
862
863static PyObject *_wrap_CalendarDateAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
864 PyObject *resultobj;
865 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
866 wxColour result;
867 PyObject * obj0 = 0 ;
868 char *kwnames[] = {
869 (char *) "self", NULL
870 };
871
872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
875 {
876 PyThreadState* __tstate = wxPyBeginAllowThreads();
877 result = ((wxCalendarDateAttr const *)arg1)->GetBackgroundColour();
878
879 wxPyEndAllowThreads(__tstate);
880 if (PyErr_Occurred()) SWIG_fail;
881 }
882 {
883 wxColour * resultptr;
884 resultptr = new wxColour((wxColour &) result);
2f4c0a16 885 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
886 }
887 return resultobj;
888 fail:
889 return NULL;
890}
891
892
893static PyObject *_wrap_CalendarDateAttr_GetBorderColour(PyObject *self, PyObject *args, PyObject *kwargs) {
894 PyObject *resultobj;
895 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
896 wxColour result;
897 PyObject * obj0 = 0 ;
898 char *kwnames[] = {
899 (char *) "self", NULL
900 };
901
902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
905 {
906 PyThreadState* __tstate = wxPyBeginAllowThreads();
907 result = ((wxCalendarDateAttr const *)arg1)->GetBorderColour();
908
909 wxPyEndAllowThreads(__tstate);
910 if (PyErr_Occurred()) SWIG_fail;
911 }
912 {
913 wxColour * resultptr;
914 resultptr = new wxColour((wxColour &) result);
2f4c0a16 915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
916 }
917 return resultobj;
918 fail:
919 return NULL;
920}
921
922
923static PyObject *_wrap_CalendarDateAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
924 PyObject *resultobj;
925 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
926 wxFont result;
927 PyObject * obj0 = 0 ;
928 char *kwnames[] = {
929 (char *) "self", NULL
930 };
931
932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
935 {
936 PyThreadState* __tstate = wxPyBeginAllowThreads();
937 result = ((wxCalendarDateAttr const *)arg1)->GetFont();
938
939 wxPyEndAllowThreads(__tstate);
940 if (PyErr_Occurred()) SWIG_fail;
941 }
942 {
943 wxFont * resultptr;
944 resultptr = new wxFont((wxFont &) result);
2f4c0a16 945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
946 }
947 return resultobj;
948 fail:
949 return NULL;
950}
951
952
953static PyObject *_wrap_CalendarDateAttr_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
954 PyObject *resultobj;
955 wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
956 int result;
957 PyObject * obj0 = 0 ;
958 char *kwnames[] = {
959 (char *) "self", NULL
960 };
961
962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarDateAttr_GetBorder",kwnames,&obj0)) goto fail;
2f4c0a16
RD
963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarDateAttr,
964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
965 {
966 PyThreadState* __tstate = wxPyBeginAllowThreads();
967 result = (int)((wxCalendarDateAttr const *)arg1)->GetBorder();
968
969 wxPyEndAllowThreads(__tstate);
970 if (PyErr_Occurred()) SWIG_fail;
971 }
2f4c0a16 972 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
973 return resultobj;
974 fail:
975 return NULL;
976}
977
978
979static PyObject * CalendarDateAttr_swigregister(PyObject *self, PyObject *args) {
980 PyObject *obj;
981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
982 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr, obj);
983 Py_INCREF(obj);
984 return Py_BuildValue((char *)"");
985}
986static PyObject *_wrap_new_CalendarEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
987 PyObject *resultobj;
988 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
989 wxEventType arg2 ;
990 wxCalendarEvent *result;
991 PyObject * obj0 = 0 ;
8edf1c75 992 PyObject * obj1 = 0 ;
d14a1e28
RD
993 char *kwnames[] = {
994 (char *) "cal",(char *) "type", NULL
995 };
996
8edf1c75 997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_CalendarEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1000 arg2 = (wxEventType) SWIG_AsInt(obj1);
1001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1002 {
1003 PyThreadState* __tstate = wxPyBeginAllowThreads();
1004 result = (wxCalendarEvent *)new wxCalendarEvent(arg1,arg2);
1005
1006 wxPyEndAllowThreads(__tstate);
1007 if (PyErr_Occurred()) SWIG_fail;
1008 }
2f4c0a16 1009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarEvent, 1);
d14a1e28
RD
1010 return resultobj;
1011 fail:
1012 return NULL;
1013}
1014
1015
1016static PyObject *_wrap_CalendarEvent_GetDate(PyObject *self, PyObject *args, PyObject *kwargs) {
1017 PyObject *resultobj;
1018 wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ;
58203fa6 1019 wxDateTime result;
d14a1e28
RD
1020 PyObject * obj0 = 0 ;
1021 char *kwnames[] = {
1022 (char *) "self", NULL
1023 };
1024
1025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarEvent_GetDate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarEvent,
1027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1028 {
1029 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 1030 result = ((wxCalendarEvent const *)arg1)->GetDate();
d14a1e28
RD
1031
1032 wxPyEndAllowThreads(__tstate);
1033 if (PyErr_Occurred()) SWIG_fail;
1034 }
58203fa6
RD
1035 {
1036 wxDateTime * resultptr;
1037 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 1038 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
58203fa6 1039 }
d14a1e28
RD
1040 return resultobj;
1041 fail:
1042 return NULL;
1043}
1044
1045
9fd4be55
RD
1046static PyObject *_wrap_CalendarEvent_SetDate(PyObject *self, PyObject *args, PyObject *kwargs) {
1047 PyObject *resultobj;
1048 wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ;
1049 wxDateTime *arg2 = 0 ;
1050 PyObject * obj0 = 0 ;
1051 PyObject * obj1 = 0 ;
1052 char *kwnames[] = {
1053 (char *) "self",(char *) "date", NULL
1054 };
1055
1056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarEvent_SetDate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarEvent,
1058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
1060 SWIG_POINTER_EXCEPTION | 0)) == -1)
1061 SWIG_fail;
9fd4be55 1062 if (arg2 == NULL) {
2f4c0a16
RD
1063 PyErr_SetString(PyExc_TypeError,"null reference");
1064 SWIG_fail;
9fd4be55
RD
1065 }
1066 {
1067 PyThreadState* __tstate = wxPyBeginAllowThreads();
1068 (arg1)->SetDate((wxDateTime const &)*arg2);
1069
1070 wxPyEndAllowThreads(__tstate);
1071 if (PyErr_Occurred()) SWIG_fail;
1072 }
1073 Py_INCREF(Py_None); resultobj = Py_None;
1074 return resultobj;
1075 fail:
1076 return NULL;
1077}
1078
1079
1080static PyObject *_wrap_CalendarEvent_SetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
1081 PyObject *resultobj;
1082 wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ;
1083 int arg2 ;
1084 PyObject * obj0 = 0 ;
8edf1c75 1085 PyObject * obj1 = 0 ;
9fd4be55
RD
1086 char *kwnames[] = {
1087 (char *) "self",(char *) "wd", NULL
1088 };
1089
8edf1c75 1090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarEvent_SetWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarEvent,
1092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1093 arg2 = (wxDateTime::WeekDay const) SWIG_AsInt(obj1);
1094 if (PyErr_Occurred()) SWIG_fail;
9fd4be55
RD
1095 {
1096 PyThreadState* __tstate = wxPyBeginAllowThreads();
1097 (arg1)->SetWeekDay((wxDateTime::WeekDay )arg2);
1098
1099 wxPyEndAllowThreads(__tstate);
1100 if (PyErr_Occurred()) SWIG_fail;
1101 }
1102 Py_INCREF(Py_None); resultobj = Py_None;
1103 return resultobj;
1104 fail:
1105 return NULL;
1106}
1107
1108
d14a1e28
RD
1109static PyObject *_wrap_CalendarEvent_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
1110 PyObject *resultobj;
1111 wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ;
1112 int result;
1113 PyObject * obj0 = 0 ;
1114 char *kwnames[] = {
1115 (char *) "self", NULL
1116 };
1117
1118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarEvent_GetWeekDay",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarEvent,
1120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1121 {
1122 PyThreadState* __tstate = wxPyBeginAllowThreads();
1123 result = (int)((wxCalendarEvent const *)arg1)->GetWeekDay();
1124
1125 wxPyEndAllowThreads(__tstate);
1126 if (PyErr_Occurred()) SWIG_fail;
1127 }
2f4c0a16 1128 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1129 return resultobj;
1130 fail:
1131 return NULL;
1132}
1133
1134
1135static PyObject * CalendarEvent_swigregister(PyObject *self, PyObject *args) {
1136 PyObject *obj;
1137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1138 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent, obj);
1139 Py_INCREF(obj);
1140 return Py_BuildValue((char *)"");
1141}
2f4c0a16 1142static int _wrap_CalendarNameStr_set(PyObject *_val) {
d03fd34d
RD
1143 PyErr_SetString(PyExc_TypeError,"Variable CalendarNameStr is read-only.");
1144 return 1;
1145}
1146
1147
1148static PyObject *_wrap_CalendarNameStr_get() {
1149 PyObject *pyobj;
1150
1151 {
1152#if wxUSE_UNICODE
1153 pyobj = PyUnicode_FromWideChar((&wxPyCalendarNameStr)->c_str(), (&wxPyCalendarNameStr)->Len());
1154#else
1155 pyobj = PyString_FromStringAndSize((&wxPyCalendarNameStr)->c_str(), (&wxPyCalendarNameStr)->Len());
1156#endif
1157 }
1158 return pyobj;
1159}
1160
1161
d14a1e28
RD
1162static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject *resultobj;
1164 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1165 int arg2 ;
d14a1e28
RD
1166 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
1167 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
1168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1170 wxSize const &arg5_defvalue = wxDefaultSize ;
1171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1172 long arg6 = (long) wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS ;
1173 wxString const &arg7_defvalue = wxPyCalendarNameStr ;
1174 wxString *arg7 = (wxString *) &arg7_defvalue ;
1175 wxCalendarCtrl *result;
1176 wxPoint temp4 ;
1177 wxSize temp5 ;
423f194a 1178 bool temp7 = False ;
d14a1e28 1179 PyObject * obj0 = 0 ;
8edf1c75 1180 PyObject * obj1 = 0 ;
d14a1e28
RD
1181 PyObject * obj2 = 0 ;
1182 PyObject * obj3 = 0 ;
1183 PyObject * obj4 = 0 ;
8edf1c75 1184 PyObject * obj5 = 0 ;
d14a1e28
RD
1185 PyObject * obj6 = 0 ;
1186 char *kwnames[] = {
1187 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1188 };
1189
8edf1c75 1190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_CalendarCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
1191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1193 arg2 = (int) SWIG_AsInt(obj1);
1194 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1195 if (obj2) {
2f4c0a16
RD
1196 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
1197 SWIG_POINTER_EXCEPTION | 0)) == -1)
1198 SWIG_fail;
d14a1e28 1199 if (arg3 == NULL) {
2f4c0a16
RD
1200 PyErr_SetString(PyExc_TypeError,"null reference");
1201 SWIG_fail;
d14a1e28
RD
1202 }
1203 }
1204 if (obj3) {
1205 {
1206 arg4 = &temp4;
1207 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1208 }
1209 }
1210 if (obj4) {
1211 {
1212 arg5 = &temp5;
1213 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1214 }
1215 }
8edf1c75 1216 if (obj5) {
2f4c0a16
RD
1217 arg6 = (long) SWIG_AsLong(obj5);
1218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1219 }
d14a1e28
RD
1220 if (obj6) {
1221 {
1222 arg7 = wxString_in_helper(obj6);
1223 if (arg7 == NULL) SWIG_fail;
423f194a 1224 temp7 = True;
d14a1e28
RD
1225 }
1226 }
1227 {
1228 PyThreadState* __tstate = wxPyBeginAllowThreads();
1229 result = (wxCalendarCtrl *)new wxCalendarCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1230
1231 wxPyEndAllowThreads(__tstate);
1232 if (PyErr_Occurred()) SWIG_fail;
1233 }
2f4c0a16 1234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarCtrl, 1);
d14a1e28
RD
1235 {
1236 if (temp7)
1237 delete arg7;
1238 }
1239 return resultobj;
1240 fail:
1241 {
1242 if (temp7)
1243 delete arg7;
1244 }
1245 return NULL;
1246}
1247
1248
1249static PyObject *_wrap_new_PreCalendarCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1250 PyObject *resultobj;
1251 wxCalendarCtrl *result;
1252 char *kwnames[] = {
1253 NULL
1254 };
1255
1256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCalendarCtrl",kwnames)) goto fail;
1257 {
1258 PyThreadState* __tstate = wxPyBeginAllowThreads();
1259 result = (wxCalendarCtrl *)new wxCalendarCtrl();
1260
1261 wxPyEndAllowThreads(__tstate);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
2f4c0a16 1264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarCtrl, 1);
d14a1e28
RD
1265 return resultobj;
1266 fail:
1267 return NULL;
1268}
1269
1270
1271static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject *resultobj;
1273 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1274 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1275 int arg3 ;
d14a1e28
RD
1276 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
1277 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
1278 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1279 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1280 wxSize const &arg6_defvalue = wxDefaultSize ;
1281 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1282 long arg7 = (long) wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS ;
1283 wxString const &arg8_defvalue = wxPyCalendarNameStr ;
1284 wxString *arg8 = (wxString *) &arg8_defvalue ;
1285 bool result;
1286 wxPoint temp5 ;
1287 wxSize temp6 ;
423f194a 1288 bool temp8 = False ;
d14a1e28
RD
1289 PyObject * obj0 = 0 ;
1290 PyObject * obj1 = 0 ;
8edf1c75 1291 PyObject * obj2 = 0 ;
d14a1e28
RD
1292 PyObject * obj3 = 0 ;
1293 PyObject * obj4 = 0 ;
1294 PyObject * obj5 = 0 ;
8edf1c75 1295 PyObject * obj6 = 0 ;
d14a1e28
RD
1296 PyObject * obj7 = 0 ;
1297 char *kwnames[] = {
1298 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1299 };
1300
8edf1c75 1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
1302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1306 arg3 = (int) SWIG_AsInt(obj2);
1307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1308 if (obj3) {
2f4c0a16
RD
1309 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
1310 SWIG_POINTER_EXCEPTION | 0)) == -1)
1311 SWIG_fail;
d14a1e28 1312 if (arg4 == NULL) {
2f4c0a16
RD
1313 PyErr_SetString(PyExc_TypeError,"null reference");
1314 SWIG_fail;
d14a1e28
RD
1315 }
1316 }
1317 if (obj4) {
1318 {
1319 arg5 = &temp5;
1320 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1321 }
1322 }
1323 if (obj5) {
1324 {
1325 arg6 = &temp6;
1326 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1327 }
1328 }
8edf1c75 1329 if (obj6) {
2f4c0a16
RD
1330 arg7 = (long) SWIG_AsLong(obj6);
1331 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1332 }
d14a1e28
RD
1333 if (obj7) {
1334 {
1335 arg8 = wxString_in_helper(obj7);
1336 if (arg8 == NULL) SWIG_fail;
423f194a 1337 temp8 = True;
d14a1e28
RD
1338 }
1339 }
1340 {
1341 PyThreadState* __tstate = wxPyBeginAllowThreads();
1342 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
1343
1344 wxPyEndAllowThreads(__tstate);
1345 if (PyErr_Occurred()) SWIG_fail;
1346 }
4e760a36 1347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1348 {
1349 if (temp8)
1350 delete arg8;
1351 }
1352 return resultobj;
1353 fail:
1354 {
1355 if (temp8)
1356 delete arg8;
1357 }
1358 return NULL;
1359}
1360
1361
1362static PyObject *_wrap_CalendarCtrl_SetDate(PyObject *self, PyObject *args, PyObject *kwargs) {
1363 PyObject *resultobj;
1364 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1365 wxDateTime *arg2 = 0 ;
1366 PyObject * obj0 = 0 ;
1367 PyObject * obj1 = 0 ;
1368 char *kwnames[] = {
1369 (char *) "self",(char *) "date", NULL
1370 };
1371
1372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_SetDate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
1376 SWIG_POINTER_EXCEPTION | 0)) == -1)
1377 SWIG_fail;
d14a1e28 1378 if (arg2 == NULL) {
2f4c0a16
RD
1379 PyErr_SetString(PyExc_TypeError,"null reference");
1380 SWIG_fail;
d14a1e28
RD
1381 }
1382 {
1383 PyThreadState* __tstate = wxPyBeginAllowThreads();
1384 (arg1)->SetDate((wxDateTime const &)*arg2);
1385
1386 wxPyEndAllowThreads(__tstate);
1387 if (PyErr_Occurred()) SWIG_fail;
1388 }
1389 Py_INCREF(Py_None); resultobj = Py_None;
1390 return resultobj;
1391 fail:
1392 return NULL;
1393}
1394
1395
1396static PyObject *_wrap_CalendarCtrl_GetDate(PyObject *self, PyObject *args, PyObject *kwargs) {
1397 PyObject *resultobj;
1398 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1399 wxDateTime *result;
1400 PyObject * obj0 = 0 ;
1401 char *kwnames[] = {
1402 (char *) "self", NULL
1403 };
1404
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetDate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1408 {
1409 PyThreadState* __tstate = wxPyBeginAllowThreads();
1410 {
1411 wxDateTime const &_result_ref = ((wxCalendarCtrl const *)arg1)->GetDate();
1412 result = (wxDateTime *) &_result_ref;
1413 }
1414
1415 wxPyEndAllowThreads(__tstate);
1416 if (PyErr_Occurred()) SWIG_fail;
1417 }
2f4c0a16 1418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
1419 return resultobj;
1420 fail:
1421 return NULL;
1422}
1423
1424
1425static PyObject *_wrap_CalendarCtrl_SetLowerDateLimit(PyObject *self, PyObject *args, PyObject *kwargs) {
1426 PyObject *resultobj;
1427 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1428 wxDateTime const &arg2_defvalue = wxDefaultDateTime ;
1429 wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ;
1430 bool result;
1431 PyObject * obj0 = 0 ;
1432 PyObject * obj1 = 0 ;
1433 char *kwnames[] = {
1434 (char *) "self",(char *) "date", NULL
1435 };
1436
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 1440 if (obj1) {
2f4c0a16
RD
1441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
1442 SWIG_POINTER_EXCEPTION | 0)) == -1)
1443 SWIG_fail;
d14a1e28 1444 if (arg2 == NULL) {
2f4c0a16
RD
1445 PyErr_SetString(PyExc_TypeError,"null reference");
1446 SWIG_fail;
d14a1e28
RD
1447 }
1448 }
1449 {
1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
1451 result = (bool)(arg1)->SetLowerDateLimit((wxDateTime const &)*arg2);
1452
1453 wxPyEndAllowThreads(__tstate);
1454 if (PyErr_Occurred()) SWIG_fail;
1455 }
4e760a36 1456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1457 return resultobj;
1458 fail:
1459 return NULL;
1460}
1461
1462
98e665d3 1463static PyObject *_wrap_CalendarCtrl_SetUpperDateLimit(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1464 PyObject *resultobj;
1465 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
98e665d3
RD
1466 wxDateTime const &arg2_defvalue = wxDefaultDateTime ;
1467 wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ;
1468 bool result;
d14a1e28 1469 PyObject * obj0 = 0 ;
98e665d3 1470 PyObject * obj1 = 0 ;
d14a1e28 1471 char *kwnames[] = {
98e665d3 1472 (char *) "self",(char *) "date", NULL
d14a1e28
RD
1473 };
1474
98e665d3 1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
98e665d3 1478 if (obj1) {
2f4c0a16
RD
1479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
1480 SWIG_POINTER_EXCEPTION | 0)) == -1)
1481 SWIG_fail;
98e665d3 1482 if (arg2 == NULL) {
2f4c0a16
RD
1483 PyErr_SetString(PyExc_TypeError,"null reference");
1484 SWIG_fail;
98e665d3
RD
1485 }
1486 }
d14a1e28
RD
1487 {
1488 PyThreadState* __tstate = wxPyBeginAllowThreads();
98e665d3 1489 result = (bool)(arg1)->SetUpperDateLimit((wxDateTime const &)*arg2);
d14a1e28
RD
1490
1491 wxPyEndAllowThreads(__tstate);
1492 if (PyErr_Occurred()) SWIG_fail;
1493 }
98e665d3 1494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1495 return resultobj;
1496 fail:
1497 return NULL;
1498}
1499
1500
98e665d3 1501static PyObject *_wrap_CalendarCtrl_GetLowerDateLimit(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1502 PyObject *resultobj;
1503 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
98e665d3 1504 wxDateTime *result;
d14a1e28 1505 PyObject * obj0 = 0 ;
d14a1e28 1506 char *kwnames[] = {
98e665d3 1507 (char *) "self", NULL
d14a1e28
RD
1508 };
1509
98e665d3 1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1513 {
1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
98e665d3
RD
1515 {
1516 wxDateTime const &_result_ref = ((wxCalendarCtrl const *)arg1)->GetLowerDateLimit();
1517 result = (wxDateTime *) &_result_ref;
1518 }
d14a1e28
RD
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) SWIG_fail;
1522 }
2f4c0a16 1523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
1524 return resultobj;
1525 fail:
1526 return NULL;
1527}
1528
1529
1530static PyObject *_wrap_CalendarCtrl_GetUpperDateLimit(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject *resultobj;
1532 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1533 wxDateTime *result;
1534 PyObject * obj0 = 0 ;
1535 char *kwnames[] = {
1536 (char *) "self", NULL
1537 };
1538
1539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1542 {
1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
1544 {
1545 wxDateTime const &_result_ref = ((wxCalendarCtrl const *)arg1)->GetUpperDateLimit();
1546 result = (wxDateTime *) &_result_ref;
1547 }
1548
1549 wxPyEndAllowThreads(__tstate);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
2f4c0a16 1552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
1553 return resultobj;
1554 fail:
1555 return NULL;
1556}
1557
1558
1559static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *self, PyObject *args, PyObject *kwargs) {
1560 PyObject *resultobj;
1561 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1562 wxDateTime const &arg2_defvalue = wxDefaultDateTime ;
1563 wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ;
1564 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
1565 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
1566 bool result;
1567 PyObject * obj0 = 0 ;
1568 PyObject * obj1 = 0 ;
1569 PyObject * obj2 = 0 ;
1570 char *kwnames[] = {
1571 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1572 };
1573
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 1577 if (obj1) {
2f4c0a16
RD
1578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
1579 SWIG_POINTER_EXCEPTION | 0)) == -1)
1580 SWIG_fail;
d14a1e28 1581 if (arg2 == NULL) {
2f4c0a16
RD
1582 PyErr_SetString(PyExc_TypeError,"null reference");
1583 SWIG_fail;
d14a1e28
RD
1584 }
1585 }
1586 if (obj2) {
2f4c0a16
RD
1587 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
1588 SWIG_POINTER_EXCEPTION | 0)) == -1)
1589 SWIG_fail;
d14a1e28 1590 if (arg3 == NULL) {
2f4c0a16
RD
1591 PyErr_SetString(PyExc_TypeError,"null reference");
1592 SWIG_fail;
d14a1e28
RD
1593 }
1594 }
1595 {
1596 PyThreadState* __tstate = wxPyBeginAllowThreads();
1597 result = (bool)(arg1)->SetDateRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
1598
1599 wxPyEndAllowThreads(__tstate);
1600 if (PyErr_Occurred()) SWIG_fail;
1601 }
4e760a36 1602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1603 return resultobj;
1604 fail:
1605 return NULL;
1606}
1607
1608
1609static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject *resultobj;
1611 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
423f194a 1612 bool arg2 = (bool) True ;
d14a1e28
RD
1613 PyObject * obj0 = 0 ;
1614 PyObject * obj1 = 0 ;
1615 char *kwnames[] = {
1616 (char *) "self",(char *) "enable", NULL
1617 };
1618
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 1622 if (obj1) {
2f4c0a16
RD
1623 arg2 = (bool) SWIG_AsBool(obj1);
1624 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1625 }
1626 {
1627 PyThreadState* __tstate = wxPyBeginAllowThreads();
1628 (arg1)->EnableYearChange(arg2);
1629
1630 wxPyEndAllowThreads(__tstate);
1631 if (PyErr_Occurred()) SWIG_fail;
1632 }
1633 Py_INCREF(Py_None); resultobj = Py_None;
1634 return resultobj;
1635 fail:
1636 return NULL;
1637}
1638
1639
1640static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *self, PyObject *args, PyObject *kwargs) {
1641 PyObject *resultobj;
1642 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
423f194a 1643 bool arg2 = (bool) True ;
d14a1e28
RD
1644 PyObject * obj0 = 0 ;
1645 PyObject * obj1 = 0 ;
1646 char *kwnames[] = {
1647 (char *) "self",(char *) "enable", NULL
1648 };
1649
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 1653 if (obj1) {
2f4c0a16
RD
1654 arg2 = (bool) SWIG_AsBool(obj1);
1655 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1656 }
1657 {
1658 PyThreadState* __tstate = wxPyBeginAllowThreads();
1659 (arg1)->EnableMonthChange(arg2);
1660
1661 wxPyEndAllowThreads(__tstate);
1662 if (PyErr_Occurred()) SWIG_fail;
1663 }
1664 Py_INCREF(Py_None); resultobj = Py_None;
1665 return resultobj;
1666 fail:
1667 return NULL;
1668}
1669
1670
1671static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
1672 PyObject *resultobj;
1673 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
423f194a 1674 bool arg2 = (bool) True ;
d14a1e28
RD
1675 PyObject * obj0 = 0 ;
1676 PyObject * obj1 = 0 ;
1677 char *kwnames[] = {
1678 (char *) "self",(char *) "display", NULL
1679 };
1680
1681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 1684 if (obj1) {
2f4c0a16
RD
1685 arg2 = (bool) SWIG_AsBool(obj1);
1686 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1687 }
1688 {
1689 PyThreadState* __tstate = wxPyBeginAllowThreads();
1690 (arg1)->EnableHolidayDisplay(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
1702static PyObject *_wrap_CalendarCtrl_SetHeaderColours(PyObject *self, PyObject *args, PyObject *kwargs) {
1703 PyObject *resultobj;
1704 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1705 wxColour *arg2 = 0 ;
1706 wxColour *arg3 = 0 ;
1707 wxColour temp2 ;
1708 wxColour temp3 ;
1709 PyObject * obj0 = 0 ;
1710 PyObject * obj1 = 0 ;
1711 PyObject * obj2 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1719 {
1720 arg2 = &temp2;
1721 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1722 }
1723 {
1724 arg3 = &temp3;
1725 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1726 }
1727 {
1728 PyThreadState* __tstate = wxPyBeginAllowThreads();
1729 (arg1)->SetHeaderColours((wxColour const &)*arg2,(wxColour const &)*arg3);
1730
1731 wxPyEndAllowThreads(__tstate);
1732 if (PyErr_Occurred()) SWIG_fail;
1733 }
1734 Py_INCREF(Py_None); resultobj = Py_None;
1735 return resultobj;
1736 fail:
1737 return NULL;
1738}
1739
1740
1741static PyObject *_wrap_CalendarCtrl_GetHeaderColourFg(PyObject *self, PyObject *args, PyObject *kwargs) {
1742 PyObject *resultobj;
1743 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1744 wxColour result;
1745 PyObject * obj0 = 0 ;
1746 char *kwnames[] = {
1747 (char *) "self", NULL
1748 };
1749
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1753 {
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 result = ((wxCalendarCtrl const *)arg1)->GetHeaderColourFg();
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 {
1761 wxColour * resultptr;
1762 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1764 }
1765 return resultobj;
1766 fail:
1767 return NULL;
1768}
1769
1770
1771static PyObject *_wrap_CalendarCtrl_GetHeaderColourBg(PyObject *self, PyObject *args, PyObject *kwargs) {
1772 PyObject *resultobj;
1773 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1774 wxColour result;
1775 PyObject * obj0 = 0 ;
1776 char *kwnames[] = {
1777 (char *) "self", NULL
1778 };
1779
1780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 result = ((wxCalendarCtrl const *)arg1)->GetHeaderColourBg();
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 {
1791 wxColour * resultptr;
1792 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1793 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1794 }
1795 return resultobj;
1796 fail:
1797 return NULL;
1798}
1799
1800
1801static PyObject *_wrap_CalendarCtrl_SetHighlightColours(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject *resultobj;
1803 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1804 wxColour *arg2 = 0 ;
1805 wxColour *arg3 = 0 ;
1806 wxColour temp2 ;
1807 wxColour temp3 ;
1808 PyObject * obj0 = 0 ;
1809 PyObject * obj1 = 0 ;
1810 PyObject * obj2 = 0 ;
1811 char *kwnames[] = {
1812 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1813 };
1814
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1818 {
1819 arg2 = &temp2;
1820 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1821 }
1822 {
1823 arg3 = &temp3;
1824 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1825 }
1826 {
1827 PyThreadState* __tstate = wxPyBeginAllowThreads();
1828 (arg1)->SetHighlightColours((wxColour const &)*arg2,(wxColour const &)*arg3);
1829
1830 wxPyEndAllowThreads(__tstate);
1831 if (PyErr_Occurred()) SWIG_fail;
1832 }
1833 Py_INCREF(Py_None); resultobj = Py_None;
1834 return resultobj;
1835 fail:
1836 return NULL;
1837}
1838
1839
1840static PyObject *_wrap_CalendarCtrl_GetHighlightColourFg(PyObject *self, PyObject *args, PyObject *kwargs) {
1841 PyObject *resultobj;
1842 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1843 wxColour result;
1844 PyObject * obj0 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1852 {
1853 PyThreadState* __tstate = wxPyBeginAllowThreads();
1854 result = ((wxCalendarCtrl const *)arg1)->GetHighlightColourFg();
1855
1856 wxPyEndAllowThreads(__tstate);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 }
1859 {
1860 wxColour * resultptr;
1861 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1863 }
1864 return resultobj;
1865 fail:
1866 return NULL;
1867}
1868
1869
1870static PyObject *_wrap_CalendarCtrl_GetHighlightColourBg(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1873 wxColour result;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1882 {
1883 PyThreadState* __tstate = wxPyBeginAllowThreads();
1884 result = ((wxCalendarCtrl const *)arg1)->GetHighlightColourBg();
1885
1886 wxPyEndAllowThreads(__tstate);
1887 if (PyErr_Occurred()) SWIG_fail;
1888 }
1889 {
1890 wxColour * resultptr;
1891 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1892 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1893 }
1894 return resultobj;
1895 fail:
1896 return NULL;
1897}
1898
1899
1900static PyObject *_wrap_CalendarCtrl_SetHolidayColours(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject *resultobj;
1902 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1903 wxColour *arg2 = 0 ;
1904 wxColour *arg3 = 0 ;
1905 wxColour temp2 ;
1906 wxColour temp3 ;
1907 PyObject * obj0 = 0 ;
1908 PyObject * obj1 = 0 ;
1909 PyObject * obj2 = 0 ;
1910 char *kwnames[] = {
1911 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1912 };
1913
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1917 {
1918 arg2 = &temp2;
1919 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1920 }
1921 {
1922 arg3 = &temp3;
1923 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1924 }
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 (arg1)->SetHolidayColours((wxColour const &)*arg2,(wxColour const &)*arg3);
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) SWIG_fail;
1931 }
1932 Py_INCREF(Py_None); resultobj = Py_None;
1933 return resultobj;
1934 fail:
1935 return NULL;
1936}
1937
1938
1939static PyObject *_wrap_CalendarCtrl_GetHolidayColourFg(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject *resultobj;
1941 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1942 wxColour result;
1943 PyObject * obj0 = 0 ;
1944 char *kwnames[] = {
1945 (char *) "self", NULL
1946 };
1947
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 result = ((wxCalendarCtrl const *)arg1)->GetHolidayColourFg();
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 {
1959 wxColour * resultptr;
1960 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1962 }
1963 return resultobj;
1964 fail:
1965 return NULL;
1966}
1967
1968
1969static PyObject *_wrap_CalendarCtrl_GetHolidayColourBg(PyObject *self, PyObject *args, PyObject *kwargs) {
1970 PyObject *resultobj;
1971 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
1972 wxColour result;
1973 PyObject * obj0 = 0 ;
1974 char *kwnames[] = {
1975 (char *) "self", NULL
1976 };
1977
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
1980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1981 {
1982 PyThreadState* __tstate = wxPyBeginAllowThreads();
1983 result = ((wxCalendarCtrl const *)arg1)->GetHolidayColourBg();
1984
1985 wxPyEndAllowThreads(__tstate);
1986 if (PyErr_Occurred()) SWIG_fail;
1987 }
1988 {
1989 wxColour * resultptr;
1990 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1992 }
1993 return resultobj;
1994 fail:
1995 return NULL;
1996}
1997
1998
1999static PyObject *_wrap_CalendarCtrl_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2002 size_t arg2 ;
2003 wxCalendarDateAttr *result;
2004 PyObject * obj0 = 0 ;
2005 PyObject * obj1 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self",(char *) "day", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_GetAttr",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
2012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2013 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
2014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2015 {
2016 PyThreadState* __tstate = wxPyBeginAllowThreads();
2017 result = (wxCalendarDateAttr *)((wxCalendarCtrl const *)arg1)->GetAttr(arg2);
2018
2019 wxPyEndAllowThreads(__tstate);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
2f4c0a16 2022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalendarDateAttr, 0);
d14a1e28
RD
2023 return resultobj;
2024 fail:
2025 return NULL;
2026}
2027
2028
2029static PyObject *_wrap_CalendarCtrl_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2030 PyObject *resultobj;
2031 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2032 size_t arg2 ;
2033 wxCalendarDateAttr *arg3 = (wxCalendarDateAttr *) 0 ;
2034 PyObject * obj0 = 0 ;
2035 PyObject * obj1 = 0 ;
2036 PyObject * obj2 = 0 ;
2037 char *kwnames[] = {
2038 (char *) "self",(char *) "day",(char *) "attr", NULL
2039 };
2040
2041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CalendarCtrl_SetAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
2043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2044 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCalendarDateAttr,
2047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2048 {
2049 PyThreadState* __tstate = wxPyBeginAllowThreads();
2050 (arg1)->SetAttr(arg2,arg3);
2051
2052 wxPyEndAllowThreads(__tstate);
2053 if (PyErr_Occurred()) SWIG_fail;
2054 }
2055 Py_INCREF(Py_None); resultobj = Py_None;
2056 return resultobj;
2057 fail:
2058 return NULL;
2059}
2060
2061
2062static PyObject *_wrap_CalendarCtrl_SetHoliday(PyObject *self, PyObject *args, PyObject *kwargs) {
2063 PyObject *resultobj;
2064 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2065 size_t arg2 ;
2066 PyObject * obj0 = 0 ;
2067 PyObject * obj1 = 0 ;
2068 char *kwnames[] = {
2069 (char *) "self",(char *) "day", NULL
2070 };
2071
2072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_SetHoliday",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
2074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2075 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
2076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2077 {
2078 PyThreadState* __tstate = wxPyBeginAllowThreads();
2079 (arg1)->SetHoliday(arg2);
2080
2081 wxPyEndAllowThreads(__tstate);
2082 if (PyErr_Occurred()) SWIG_fail;
2083 }
2084 Py_INCREF(Py_None); resultobj = Py_None;
2085 return resultobj;
2086 fail:
2087 return NULL;
2088}
2089
2090
2091static PyObject *_wrap_CalendarCtrl_ResetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2092 PyObject *resultobj;
2093 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2094 size_t arg2 ;
2095 PyObject * obj0 = 0 ;
2096 PyObject * obj1 = 0 ;
2097 char *kwnames[] = {
2098 (char *) "self",(char *) "day", NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_ResetAttr",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
2103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2104 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
2105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2106 {
2107 PyThreadState* __tstate = wxPyBeginAllowThreads();
2108 (arg1)->ResetAttr(arg2);
2109
2110 wxPyEndAllowThreads(__tstate);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 }
2113 Py_INCREF(Py_None); resultobj = Py_None;
2114 return resultobj;
2115 fail:
2116 return NULL;
2117}
2118
2119
2120static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2121 PyObject *resultobj;
2122 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2123 wxPoint *arg2 = 0 ;
98e665d3 2124 PyObject *result;
d14a1e28
RD
2125 wxPoint temp2 ;
2126 PyObject * obj0 = 0 ;
2127 PyObject * obj1 = 0 ;
d14a1e28 2128 char *kwnames[] = {
98e665d3 2129 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
2130 };
2131
98e665d3 2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalendarCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
2134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2135 {
2136 arg2 = &temp2;
2137 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2138 }
d14a1e28
RD
2139 {
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
98e665d3 2141 result = (PyObject *)wxCalendarCtrl_HitTest(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 }
98e665d3 2146 resultobj = result;
d14a1e28
RD
2147 return resultobj;
2148 fail:
2149 return NULL;
2150}
2151
2152
9fd4be55
RD
2153static PyObject *_wrap_CalendarCtrl_GetMonthControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject *resultobj;
2155 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2156 wxControl *result;
2157 PyObject * obj0 = 0 ;
2158 char *kwnames[] = {
2159 (char *) "self", NULL
2160 };
2161
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetMonthControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
2164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
2165 {
2166 PyThreadState* __tstate = wxPyBeginAllowThreads();
2167 result = (wxControl *)((wxCalendarCtrl const *)arg1)->GetMonthControl();
2168
2169 wxPyEndAllowThreads(__tstate);
2170 if (PyErr_Occurred()) SWIG_fail;
2171 }
2172 {
2173 resultobj = wxPyMake_wxObject(result);
2174 }
2175 return resultobj;
2176 fail:
2177 return NULL;
2178}
2179
2180
2181static PyObject *_wrap_CalendarCtrl_GetYearControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2182 PyObject *resultobj;
2183 wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
2184 wxControl *result;
2185 PyObject * obj0 = 0 ;
2186 char *kwnames[] = {
2187 (char *) "self", NULL
2188 };
2189
2190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalendarCtrl_GetYearControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalendarCtrl,
2192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
2193 {
2194 PyThreadState* __tstate = wxPyBeginAllowThreads();
2195 result = (wxControl *)((wxCalendarCtrl const *)arg1)->GetYearControl();
2196
2197 wxPyEndAllowThreads(__tstate);
2198 if (PyErr_Occurred()) SWIG_fail;
2199 }
2200 {
2201 resultobj = wxPyMake_wxObject(result);
2202 }
2203 return resultobj;
2204 fail:
2205 return NULL;
2206}
2207
2208
d14a1e28
RD
2209static PyObject * CalendarCtrl_swigregister(PyObject *self, PyObject *args) {
2210 PyObject *obj;
2211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2212 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl, obj);
2213 Py_INCREF(obj);
2214 return Py_BuildValue((char *)"");
2215}
2216static PyMethodDef SwigMethods[] = {
2217 { (char *)"new_CalendarDateAttr", (PyCFunction) _wrap_new_CalendarDateAttr, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
2218 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction) _wrap_CalendarDateAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
2219 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction) _wrap_CalendarDateAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
2220 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction) _wrap_CalendarDateAttr_SetBorderColour, METH_VARARGS | METH_KEYWORDS },
2221 { (char *)"CalendarDateAttr_SetFont", (PyCFunction) _wrap_CalendarDateAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
2222 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction) _wrap_CalendarDateAttr_SetBorder, METH_VARARGS | METH_KEYWORDS },
2223 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction) _wrap_CalendarDateAttr_SetHoliday, METH_VARARGS | METH_KEYWORDS },
2224 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction) _wrap_CalendarDateAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
2225 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction) _wrap_CalendarDateAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
2226 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction) _wrap_CalendarDateAttr_HasBorderColour, METH_VARARGS | METH_KEYWORDS },
2227 { (char *)"CalendarDateAttr_HasFont", (PyCFunction) _wrap_CalendarDateAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
2228 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction) _wrap_CalendarDateAttr_HasBorder, METH_VARARGS | METH_KEYWORDS },
2229 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction) _wrap_CalendarDateAttr_IsHoliday, METH_VARARGS | METH_KEYWORDS },
2230 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction) _wrap_CalendarDateAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
2231 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction) _wrap_CalendarDateAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
2232 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction) _wrap_CalendarDateAttr_GetBorderColour, METH_VARARGS | METH_KEYWORDS },
2233 { (char *)"CalendarDateAttr_GetFont", (PyCFunction) _wrap_CalendarDateAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
2234 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction) _wrap_CalendarDateAttr_GetBorder, METH_VARARGS | METH_KEYWORDS },
2235 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister, METH_VARARGS },
2236 { (char *)"new_CalendarEvent", (PyCFunction) _wrap_new_CalendarEvent, METH_VARARGS | METH_KEYWORDS },
2237 { (char *)"CalendarEvent_GetDate", (PyCFunction) _wrap_CalendarEvent_GetDate, METH_VARARGS | METH_KEYWORDS },
9fd4be55
RD
2238 { (char *)"CalendarEvent_SetDate", (PyCFunction) _wrap_CalendarEvent_SetDate, METH_VARARGS | METH_KEYWORDS },
2239 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction) _wrap_CalendarEvent_SetWeekDay, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
2240 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction) _wrap_CalendarEvent_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
2241 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister, METH_VARARGS },
2242 { (char *)"new_CalendarCtrl", (PyCFunction) _wrap_new_CalendarCtrl, METH_VARARGS | METH_KEYWORDS },
2243 { (char *)"new_PreCalendarCtrl", (PyCFunction) _wrap_new_PreCalendarCtrl, METH_VARARGS | METH_KEYWORDS },
2244 { (char *)"CalendarCtrl_Create", (PyCFunction) _wrap_CalendarCtrl_Create, METH_VARARGS | METH_KEYWORDS },
2245 { (char *)"CalendarCtrl_SetDate", (PyCFunction) _wrap_CalendarCtrl_SetDate, METH_VARARGS | METH_KEYWORDS },
2246 { (char *)"CalendarCtrl_GetDate", (PyCFunction) _wrap_CalendarCtrl_GetDate, METH_VARARGS | METH_KEYWORDS },
2247 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction) _wrap_CalendarCtrl_SetLowerDateLimit, METH_VARARGS | METH_KEYWORDS },
d14a1e28 2248 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction) _wrap_CalendarCtrl_SetUpperDateLimit, METH_VARARGS | METH_KEYWORDS },
98e665d3 2249 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction) _wrap_CalendarCtrl_GetLowerDateLimit, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
2250 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction) _wrap_CalendarCtrl_GetUpperDateLimit, METH_VARARGS | METH_KEYWORDS },
2251 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction) _wrap_CalendarCtrl_SetDateRange, METH_VARARGS | METH_KEYWORDS },
2252 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction) _wrap_CalendarCtrl_EnableYearChange, METH_VARARGS | METH_KEYWORDS },
2253 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction) _wrap_CalendarCtrl_EnableMonthChange, METH_VARARGS | METH_KEYWORDS },
2254 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction) _wrap_CalendarCtrl_EnableHolidayDisplay, METH_VARARGS | METH_KEYWORDS },
2255 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction) _wrap_CalendarCtrl_SetHeaderColours, METH_VARARGS | METH_KEYWORDS },
2256 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction) _wrap_CalendarCtrl_GetHeaderColourFg, METH_VARARGS | METH_KEYWORDS },
2257 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction) _wrap_CalendarCtrl_GetHeaderColourBg, METH_VARARGS | METH_KEYWORDS },
2258 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction) _wrap_CalendarCtrl_SetHighlightColours, METH_VARARGS | METH_KEYWORDS },
2259 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction) _wrap_CalendarCtrl_GetHighlightColourFg, METH_VARARGS | METH_KEYWORDS },
2260 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction) _wrap_CalendarCtrl_GetHighlightColourBg, METH_VARARGS | METH_KEYWORDS },
2261 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction) _wrap_CalendarCtrl_SetHolidayColours, METH_VARARGS | METH_KEYWORDS },
2262 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction) _wrap_CalendarCtrl_GetHolidayColourFg, METH_VARARGS | METH_KEYWORDS },
2263 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction) _wrap_CalendarCtrl_GetHolidayColourBg, METH_VARARGS | METH_KEYWORDS },
2264 { (char *)"CalendarCtrl_GetAttr", (PyCFunction) _wrap_CalendarCtrl_GetAttr, METH_VARARGS | METH_KEYWORDS },
2265 { (char *)"CalendarCtrl_SetAttr", (PyCFunction) _wrap_CalendarCtrl_SetAttr, METH_VARARGS | METH_KEYWORDS },
2266 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction) _wrap_CalendarCtrl_SetHoliday, METH_VARARGS | METH_KEYWORDS },
2267 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction) _wrap_CalendarCtrl_ResetAttr, METH_VARARGS | METH_KEYWORDS },
2268 { (char *)"CalendarCtrl_HitTest", (PyCFunction) _wrap_CalendarCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
9fd4be55
RD
2269 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction) _wrap_CalendarCtrl_GetMonthControl, METH_VARARGS | METH_KEYWORDS },
2270 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction) _wrap_CalendarCtrl_GetYearControl, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
2271 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister, METH_VARARGS },
2272 { NULL, NULL }
2273};
2274
2275
2276/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2277
2278static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
2279 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
2280}
2281static void *_p_wxCalendarCtrlTo_p_wxObject(void *x) {
2282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCalendarCtrl *) x));
2283}
2284static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
2285 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
2286}
2287static void *_p_wxSizerItemTo_p_wxObject(void *x) {
2288 return (void *)((wxObject *) ((wxSizerItem *) x));
2289}
2290static void *_p_wxScrollEventTo_p_wxObject(void *x) {
2291 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
2292}
2293static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
2294 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
2295}
2296static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
2297 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
2298}
2299static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
2300 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
2301}
2302static void *_p_wxSizerTo_p_wxObject(void *x) {
2303 return (void *)((wxObject *) ((wxSizer *) x));
2304}
2305static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
2306 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
2307}
2308static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
2309 return (void *)((wxObject *) ((wxFileHistory *) x));
2310}
2311static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
2312 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
2313}
2314static void *_p_wxEventTo_p_wxObject(void *x) {
2315 return (void *)((wxObject *) ((wxEvent *) x));
2316}
2317static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
2318 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
2319}
2320static void *_p_wxGridSizerTo_p_wxObject(void *x) {
2321 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
2322}
2323static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
2324 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
2325}
2326static void *_p_wxPaintEventTo_p_wxObject(void *x) {
2327 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
2328}
2329static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
2330 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
2331}
2332static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
2333 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
2334}
2335static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
2336 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
2337}
2338static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
2339 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
2340}
2341static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
2342 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
2343}
2344static void *_p_wxControlTo_p_wxObject(void *x) {
2345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
2346}
2347static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
2348 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
2349}
2350static void *_p_wxTimerEventTo_p_wxObject(void *x) {
2351 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
2352}
2353static void *_p_wxCalendarEventTo_p_wxObject(void *x) {
2354 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCalendarEvent *) x));
2355}
2356static void *_p_wxFSFileTo_p_wxObject(void *x) {
2357 return (void *)((wxObject *) ((wxFSFile *) x));
2358}
2359static void *_p_wxClipboardTo_p_wxObject(void *x) {
2360 return (void *)((wxObject *) ((wxClipboard *) x));
2361}
2362static void *_p_wxPySizerTo_p_wxObject(void *x) {
2363 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
2364}
2365static void *_p_wxPyEventTo_p_wxObject(void *x) {
2366 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
2367}
2368static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
2369 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
2370}
2371static void *_p_wxShowEventTo_p_wxObject(void *x) {
2372 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
2373}
2374static void *_p_wxToolTipTo_p_wxObject(void *x) {
2375 return (void *)((wxObject *) ((wxToolTip *) x));
2376}
2377static void *_p_wxMenuItemTo_p_wxObject(void *x) {
2378 return (void *)((wxObject *) ((wxMenuItem *) x));
2379}
2380static void *_p_wxIdleEventTo_p_wxObject(void *x) {
2381 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
2382}
2383static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
2384 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
2385}
2386static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
2387 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
2388}
2389static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
2390 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
2391}
2392static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
2393 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
2394}
2395static void *_p_wxSizeEventTo_p_wxObject(void *x) {
2396 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
2397}
2398static void *_p_wxMoveEventTo_p_wxObject(void *x) {
2399 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
2400}
2401static void *_p_wxActivateEventTo_p_wxObject(void *x) {
2402 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
2403}
2404static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
2405 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
2406}
2407static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
2408 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
2409}
2410static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
2411 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
2412}
2413static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
2414 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
2415}
2416static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
2417 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
2418}
2419static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
2420 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
2421}
2422static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
2423 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
2424}
2425static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
2426 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
2427}
2428static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
2429 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
2430}
2431static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
2432 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
2433}
2434static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
2435 return (void *)((wxObject *) ((wxImageHandler *) x));
2436}
2437static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
2438 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
2439}
2440static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
2441 return (void *)((wxObject *) ((wxEvtHandler *) x));
2442}
41f1cec7
RD
2443static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
2444 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
2445}
d14a1e28
RD
2446static void *_p_wxImageTo_p_wxObject(void *x) {
2447 return (void *)((wxObject *) ((wxImage *) x));
2448}
2449static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
2450 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
2451}
2452static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
2453 return (void *)((wxObject *) ((wxSystemOptions *) x));
2454}
2455static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
2456 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
2457}
2458static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
2459 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
2460}
2461static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
2462 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
2463}
2464static void *_p_wxKeyEventTo_p_wxObject(void *x) {
2465 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
2466}
2467static void *_p_wxWindowTo_p_wxObject(void *x) {
2468 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
2469}
2470static void *_p_wxMenuTo_p_wxObject(void *x) {
2471 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
2472}
2473static void *_p_wxMenuBarTo_p_wxObject(void *x) {
2474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
2475}
2476static void *_p_wxPyProcessTo_p_wxObject(void *x) {
2477 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
2478}
2479static void *_p_wxFileSystemTo_p_wxObject(void *x) {
2480 return (void *)((wxObject *) ((wxFileSystem *) x));
2481}
2482static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
2483 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
2484}
2485static void *_p_wxMenuEventTo_p_wxObject(void *x) {
2486 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
2487}
2488static void *_p_wxPyAppTo_p_wxObject(void *x) {
2489 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
2490}
2491static void *_p_wxCloseEventTo_p_wxObject(void *x) {
2492 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
2493}
2494static void *_p_wxMouseEventTo_p_wxObject(void *x) {
2495 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
2496}
2497static void *_p_wxEraseEventTo_p_wxObject(void *x) {
2498 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
2499}
2500static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
2501 return (void *)((wxObject *) ((wxBusyInfo *) x));
2502}
2503static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
2504 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
2505}
2506static void *_p_wxCommandEventTo_p_wxObject(void *x) {
2507 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
2508}
2509static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
2510 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
2511}
2512static void *_p_wxFocusEventTo_p_wxObject(void *x) {
2513 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
2514}
2515static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
2516 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
2517}
2518static void *_p_wxProcessEventTo_p_wxObject(void *x) {
2519 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
2520}
2521static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
2522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
2523}
2524static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
2525 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
2526}
2527static void *_p_wxValidatorTo_p_wxObject(void *x) {
2528 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
2529}
2530static void *_p_wxPyTimerTo_p_wxObject(void *x) {
2531 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
2532}
2533static void *_p_wxControlTo_p_wxWindow(void *x) {
2534 return (void *)((wxWindow *) ((wxControl *) x));
2535}
2536static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
2537 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
2538}
2539static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
2540 return (void *)((wxWindow *) ((wxMenuBar *) x));
2541}
2542static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x) {
2543 return (void *)((wxWindow *) (wxControl *) ((wxCalendarCtrl *) x));
2544}
2545static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
2546 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
2547}
2548static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
2549 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
2550}
2551static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
2552 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
2553}
2554static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
2555 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
2556}
2557static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
2558 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
2559}
2560static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
2561 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
2562}
2563static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x) {
2564 return (void *)((wxCommandEvent *) ((wxCalendarEvent *) x));
2565}
2566static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
2567 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
2568}
2569static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
2570 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
2571}
2572static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
2573 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
2574}
2575static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
2576 return (void *)((wxEvtHandler *) ((wxWindow *) x));
2577}
2578static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
2579 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
2580}
2581static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
2582 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
2583}
2584static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
2585 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
2586}
2587static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
2588 return (void *)((wxEvtHandler *) ((wxValidator *) x));
2589}
2590static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
2591 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
2592}
2593static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
2594 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
2595}
2596static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
2597 return (void *)((wxEvtHandler *) ((wxMenu *) x));
2598}
2599static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
2600 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
2601}
2602static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x) {
2603 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCalendarCtrl *) x));
2604}
2605static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
2606 return (void *)((wxControl *) ((wxControlWithItems *) x));
2607}
2608static void *_p_wxCalendarCtrlTo_p_wxControl(void *x) {
2609 return (void *)((wxControl *) ((wxCalendarCtrl *) x));
2610}
2611static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
2612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
2613}
2614static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
2615 return (void *)((wxEvent *) ((wxMenuEvent *) x));
2616}
2617static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
2618 return (void *)((wxEvent *) ((wxCloseEvent *) x));
2619}
2620static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
2621 return (void *)((wxEvent *) ((wxMouseEvent *) x));
2622}
2623static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
2624 return (void *)((wxEvent *) ((wxEraseEvent *) x));
2625}
2626static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
2627 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
2628}
2629static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
2630 return (void *)((wxEvent *) ((wxTimerEvent *) x));
2631}
2632static void *_p_wxCalendarEventTo_p_wxEvent(void *x) {
2633 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCalendarEvent *) x));
2634}
2635static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
2636 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
2637}
2638static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
2639 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
2640}
2641static void *_p_wxPyEventTo_p_wxEvent(void *x) {
2642 return (void *)((wxEvent *) ((wxPyEvent *) x));
2643}
2644static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
2645 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
2646}
2647static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
2648 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
2649}
2650static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
2651 return (void *)((wxEvent *) ((wxIdleEvent *) x));
2652}
2653static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
2654 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
2655}
2656static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
2657 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
2658}
2659static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
2660 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
2661}
2662static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
2663 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
2664}
2665static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
2666 return (void *)((wxEvent *) ((wxActivateEvent *) x));
2667}
2668static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
2669 return (void *)((wxEvent *) ((wxSizeEvent *) x));
2670}
2671static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
2672 return (void *)((wxEvent *) ((wxMoveEvent *) x));
2673}
2674static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
2675 return (void *)((wxEvent *) ((wxPaintEvent *) x));
2676}
2677static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
2678 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
2679}
2680static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
2681 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
2682}
2683static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
2684 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
2685}
2686static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
2687 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
2688}
2689static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
2690 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
2691}
2692static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
2693 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
2694}
2695static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
2696 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
2697}
2698static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
2699 return (void *)((wxEvent *) ((wxFocusEvent *) x));
2700}
2701static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
2702 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
2703}
2704static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
2705 return (void *)((wxEvent *) ((wxProcessEvent *) x));
2706}
2707static void *_p_wxShowEventTo_p_wxEvent(void *x) {
2708 return (void *)((wxEvent *) ((wxShowEvent *) x));
2709}
2710static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
2711 return (void *)((wxEvent *) ((wxCommandEvent *) x));
2712}
2713static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
2714 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
2715}
2716static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
2717 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
2718}
2719static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
2720 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
2721}
2722static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
2723 return (void *)((wxEvent *) ((wxKeyEvent *) x));
2724}
2725static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
2726 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
2727}
2f4c0a16
RD
2728static 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}};
2729static 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}};
2730static 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}};
2731static 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}};
2732static 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_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}};
2733static 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_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_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_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_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_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}};
2734static 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}};
2735static 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}};
2736static 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}};
2737static 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}};
2738static 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}};
2739static 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_wxUpdateUIEvent", _p_wxUpdateUIEventTo_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_wxCalendarEvent", _p_wxCalendarEventTo_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}};
2740static 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}};
d14a1e28
RD
2741
2742static swig_type_info *swig_types_initial[] = {
98e665d3
RD
2743_swigt__p_wxControl,
2744_swigt__p_wxDateTime,
2745_swigt__p_wxWindow,
2746_swigt__p_wxFont,
2747_swigt__p_wxEvent,
d14a1e28 2748_swigt__p_wxObject,
98e665d3
RD
2749_swigt__p_wxEvtHandler,
2750_swigt__p_char,
d14a1e28 2751_swigt__p_wxCalendarDateAttr,
98e665d3
RD
2752_swigt__p_wxColour,
2753_swigt__p_wxCalendarEvent,
d14a1e28 2754_swigt__p_wxCommandEvent,
d14a1e28 2755_swigt__p_wxCalendarCtrl,
d14a1e28
RD
27560
2757};
2758
2759
2760/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2761
2762static swig_const_info swig_const_table[] = {
d14a1e28
RD
2763{0}};
2764
2765#ifdef __cplusplus
2766}
2767#endif
2768
2769#ifdef __cplusplus
2770extern "C"
2771#endif
2772SWIGEXPORT(void) SWIG_init(void) {
2773 static PyObject *SWIG_globals = 0;
2774 static int typeinit = 0;
2775 PyObject *m, *d;
2776 int i;
2777 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
2778 m = Py_InitModule((char *) SWIG_name, SwigMethods);
2779 d = PyModule_GetDict(m);
2780
2781 if (!typeinit) {
2782 for (i = 0; swig_types_initial[i]; i++) {
2783 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
2784 }
2785 typeinit = 1;
2786 }
2787 SWIG_InstallConstants(d,swig_const_table);
2788
2f4c0a16
RD
2789 PyDict_SetItemString(d,"CAL_SUNDAY_FIRST", SWIG_FromInt((int)wxCAL_SUNDAY_FIRST));
2790 PyDict_SetItemString(d,"CAL_MONDAY_FIRST", SWIG_FromInt((int)wxCAL_MONDAY_FIRST));
2791 PyDict_SetItemString(d,"CAL_SHOW_HOLIDAYS", SWIG_FromInt((int)wxCAL_SHOW_HOLIDAYS));
2792 PyDict_SetItemString(d,"CAL_NO_YEAR_CHANGE", SWIG_FromInt((int)wxCAL_NO_YEAR_CHANGE));
2793 PyDict_SetItemString(d,"CAL_NO_MONTH_CHANGE", SWIG_FromInt((int)wxCAL_NO_MONTH_CHANGE));
2794 PyDict_SetItemString(d,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION));
2795 PyDict_SetItemString(d,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS));
2796 PyDict_SetItemString(d,"CAL_HITTEST_NOWHERE", SWIG_FromInt((int)wxCAL_HITTEST_NOWHERE));
2797 PyDict_SetItemString(d,"CAL_HITTEST_HEADER", SWIG_FromInt((int)wxCAL_HITTEST_HEADER));
2798 PyDict_SetItemString(d,"CAL_HITTEST_DAY", SWIG_FromInt((int)wxCAL_HITTEST_DAY));
2799 PyDict_SetItemString(d,"CAL_HITTEST_INCMONTH", SWIG_FromInt((int)wxCAL_HITTEST_INCMONTH));
2800 PyDict_SetItemString(d,"CAL_HITTEST_DECMONTH", SWIG_FromInt((int)wxCAL_HITTEST_DECMONTH));
2801 PyDict_SetItemString(d,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK));
2802 PyDict_SetItemString(d,"CAL_BORDER_NONE", SWIG_FromInt((int)wxCAL_BORDER_NONE));
2803 PyDict_SetItemString(d,"CAL_BORDER_SQUARE", SWIG_FromInt((int)wxCAL_BORDER_SQUARE));
2804 PyDict_SetItemString(d,"CAL_BORDER_ROUND", SWIG_FromInt((int)wxCAL_BORDER_ROUND));
d14a1e28
RD
2805 PyDict_SetItemString(d, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED));
2806 PyDict_SetItemString(d, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED));
2807 PyDict_SetItemString(d, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED));
2808 PyDict_SetItemString(d, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED));
2809 PyDict_SetItemString(d, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED));
2810 PyDict_SetItemString(d, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED));
d03fd34d
RD
2811 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
2812 SWIG_addvarlink(SWIG_globals,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get, _wrap_CalendarNameStr_set);
d14a1e28
RD
2813
2814
2815}
2816