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