1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
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
52 /***********************************************************************
53 * common.swg for wxPython
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
60 ************************************************************************/
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
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
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);
128 /***********************************************************************
129 * pyrun.swg for wxPython
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
136 ************************************************************************/
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
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
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)
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)
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
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
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];
228 /* -------- TYPES TABLE (END) -------- */
231 /*-----------------------------------------------
232 @(target):= _calendar.so
233 ------------------------------------------------*/
234 #define SWIG_init init_calendar
236 #define SWIG_name "_calendar"
238 #include "wx/wxPython/wxPython.h"
239 #include "wx/wxPython/pyclasses.h"
241 #include <wx/calctrl.h>
244 DECLARE_DEF_STRING(CalendarNameStr
);
249 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
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
;
263 PyObject
* obj0
= 0 ;
264 PyObject
* obj1
= 0 ;
265 PyObject
* obj2
= 0 ;
266 PyObject
* obj3
= 0 ;
268 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOi:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
274 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
285 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
289 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) SWIG_fail
;
301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
308 static PyObject
*_wrap_new_CalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 wxColour
const &arg2_defvalue
= wxNullColour
;
312 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
313 wxCalendarDateAttr
*result
;
315 PyObject
* obj1
= 0 ;
317 (char *) "border",(char *) "colBorder", NULL
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|O:new_CalendarDateAttrBorder",kwnames
,&arg1
,&obj1
)) goto fail
;
324 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
329 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxCalendarDateBorder
)arg1
,(wxColour
const &)*arg2
);
331 wxPyEndAllowThreads(__tstate
);
332 if (PyErr_Occurred()) SWIG_fail
;
334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
341 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
346 PyObject
* obj0
= 0 ;
347 PyObject
* obj1
= 0 ;
349 (char *) "self",(char *) "colText", NULL
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
;
356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
360 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
362 wxPyEndAllowThreads(__tstate
);
363 if (PyErr_Occurred()) SWIG_fail
;
365 Py_INCREF(Py_None
); resultobj
= Py_None
;
372 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
374 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
377 PyObject
* obj0
= 0 ;
378 PyObject
* obj1
= 0 ;
380 (char *) "self",(char *) "colBack", NULL
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
;
387 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
391 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
393 wxPyEndAllowThreads(__tstate
);
394 if (PyErr_Occurred()) SWIG_fail
;
396 Py_INCREF(Py_None
); resultobj
= Py_None
;
403 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
405 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
408 PyObject
* obj0
= 0 ;
409 PyObject
* obj1
= 0 ;
411 (char *) "self",(char *) "col", NULL
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
;
418 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
422 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
424 wxPyEndAllowThreads(__tstate
);
425 if (PyErr_Occurred()) SWIG_fail
;
427 Py_INCREF(Py_None
); resultobj
= Py_None
;
434 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
438 PyObject
* obj0
= 0 ;
439 PyObject
* obj1
= 0 ;
441 (char *) "self",(char *) "font", NULL
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
;
448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
452 (arg1
)->SetFont((wxFont
const &)*arg2
);
454 wxPyEndAllowThreads(__tstate
);
455 if (PyErr_Occurred()) SWIG_fail
;
457 Py_INCREF(Py_None
); resultobj
= Py_None
;
464 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
468 PyObject
* obj0
= 0 ;
470 (char *) "self",(char *) "border", NULL
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
;
476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
477 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
479 wxPyEndAllowThreads(__tstate
);
480 if (PyErr_Occurred()) SWIG_fail
;
482 Py_INCREF(Py_None
); resultobj
= Py_None
;
489 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
493 PyObject
* obj0
= 0 ;
494 PyObject
* obj1
= 0 ;
496 (char *) "self",(char *) "holiday", NULL
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
;
504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
505 (arg1
)->SetHoliday(arg2
);
507 wxPyEndAllowThreads(__tstate
);
508 if (PyErr_Occurred()) SWIG_fail
;
510 Py_INCREF(Py_None
); resultobj
= Py_None
;
517 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
521 PyObject
* obj0
= 0 ;
523 (char *) "self", NULL
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
;
529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
530 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
532 wxPyEndAllowThreads(__tstate
);
533 if (PyErr_Occurred()) SWIG_fail
;
535 resultobj
= PyInt_FromLong((long)result
);
542 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
546 PyObject
* obj0
= 0 ;
548 (char *) "self", NULL
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
;
554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
555 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
557 wxPyEndAllowThreads(__tstate
);
558 if (PyErr_Occurred()) SWIG_fail
;
560 resultobj
= PyInt_FromLong((long)result
);
567 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
571 PyObject
* obj0
= 0 ;
573 (char *) "self", NULL
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
;
579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
580 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
582 wxPyEndAllowThreads(__tstate
);
583 if (PyErr_Occurred()) SWIG_fail
;
585 resultobj
= PyInt_FromLong((long)result
);
592 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
596 PyObject
* obj0
= 0 ;
598 (char *) "self", NULL
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
;
604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
605 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
607 wxPyEndAllowThreads(__tstate
);
608 if (PyErr_Occurred()) SWIG_fail
;
610 resultobj
= PyInt_FromLong((long)result
);
617 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
619 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
621 PyObject
* obj0
= 0 ;
623 (char *) "self", NULL
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
;
629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
630 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
632 wxPyEndAllowThreads(__tstate
);
633 if (PyErr_Occurred()) SWIG_fail
;
635 resultobj
= PyInt_FromLong((long)result
);
642 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
646 PyObject
* obj0
= 0 ;
648 (char *) "self", NULL
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
;
654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
655 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
657 wxPyEndAllowThreads(__tstate
);
658 if (PyErr_Occurred()) SWIG_fail
;
660 resultobj
= PyInt_FromLong((long)result
);
667 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
671 PyObject
* obj0
= 0 ;
673 (char *) "self", NULL
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
;
679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
680 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
682 wxPyEndAllowThreads(__tstate
);
683 if (PyErr_Occurred()) SWIG_fail
;
686 wxColour
* resultptr
;
687 resultptr
= new wxColour((wxColour
&) result
);
688 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
696 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
700 PyObject
* obj0
= 0 ;
702 (char *) "self", NULL
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
;
708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
709 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
711 wxPyEndAllowThreads(__tstate
);
712 if (PyErr_Occurred()) SWIG_fail
;
715 wxColour
* resultptr
;
716 resultptr
= new wxColour((wxColour
&) result
);
717 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
725 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
729 PyObject
* obj0
= 0 ;
731 (char *) "self", NULL
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
;
737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
738 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
740 wxPyEndAllowThreads(__tstate
);
741 if (PyErr_Occurred()) SWIG_fail
;
744 wxColour
* resultptr
;
745 resultptr
= new wxColour((wxColour
&) result
);
746 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
754 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
758 PyObject
* obj0
= 0 ;
760 (char *) "self", NULL
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
;
766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
767 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
769 wxPyEndAllowThreads(__tstate
);
770 if (PyErr_Occurred()) SWIG_fail
;
774 resultptr
= new wxFont((wxFont
&) result
);
775 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
783 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
787 PyObject
* obj0
= 0 ;
789 (char *) "self", NULL
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
;
795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
796 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
798 wxPyEndAllowThreads(__tstate
);
799 if (PyErr_Occurred()) SWIG_fail
;
801 resultobj
= PyInt_FromLong((long)result
);
808 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
811 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
813 return Py_BuildValue((char *)"");
815 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
819 wxCalendarEvent
*result
;
820 PyObject
* obj0
= 0 ;
822 (char *) "cal",(char *) "type", NULL
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
;
828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
829 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
831 wxPyEndAllowThreads(__tstate
);
832 if (PyErr_Occurred()) SWIG_fail
;
834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarEvent
, 1);
841 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
845 PyObject
* obj0
= 0 ;
847 (char *) "self", NULL
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
;
853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
855 wxDateTime
const &_result_ref
= ((wxCalendarEvent
const *)arg1
)->GetDate();
856 result
= (wxDateTime
*) &_result_ref
;
859 wxPyEndAllowThreads(__tstate
);
860 if (PyErr_Occurred()) SWIG_fail
;
862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
869 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
872 wxDateTime
*arg2
= 0 ;
873 PyObject
* obj0
= 0 ;
874 PyObject
* obj1
= 0 ;
876 (char *) "self",(char *) "date", NULL
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
;
883 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
887 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
889 wxPyEndAllowThreads(__tstate
);
890 if (PyErr_Occurred()) SWIG_fail
;
892 Py_INCREF(Py_None
); resultobj
= Py_None
;
899 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
903 PyObject
* obj0
= 0 ;
905 (char *) "self",(char *) "wd", NULL
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
;
911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
912 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
914 wxPyEndAllowThreads(__tstate
);
915 if (PyErr_Occurred()) SWIG_fail
;
917 Py_INCREF(Py_None
); resultobj
= Py_None
;
924 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
928 PyObject
* obj0
= 0 ;
930 (char *) "self", NULL
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
;
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) SWIG_fail
;
942 resultobj
= PyInt_FromLong((long)result
);
949 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
952 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
954 return Py_BuildValue((char *)"");
956 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
958 wxWindow
*arg1
= (wxWindow
*) 0 ;
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
;
973 PyObject
* obj0
= 0 ;
974 PyObject
* obj2
= 0 ;
975 PyObject
* obj3
= 0 ;
976 PyObject
* obj4
= 0 ;
977 PyObject
* obj6
= 0 ;
979 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
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
;
985 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
993 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
999 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1004 arg7
= wxString_in_helper(obj6
);
1005 if (arg7
== NULL
) SWIG_fail
;
1010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1011 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1013 wxPyEndAllowThreads(__tstate
);
1014 if (PyErr_Occurred()) SWIG_fail
;
1016 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1031 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
*resultobj
;
1033 wxCalendarCtrl
*result
;
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) SWIG_fail
;
1046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
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 ;
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
;
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 ;
1078 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
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
;
1085 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1087 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1093 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1099 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1104 arg8
= wxString_in_helper(obj7
);
1105 if (arg8
== NULL
) SWIG_fail
;
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) SWIG_fail
;
1116 resultobj
= PyInt_FromLong((long)result
);
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 ;
1138 (char *) "self",(char *) "date", NULL
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
;
1145 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1151 wxPyEndAllowThreads(__tstate
);
1152 if (PyErr_Occurred()) SWIG_fail
;
1154 Py_INCREF(Py_None
); resultobj
= Py_None
;
1161 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
*resultobj
;
1163 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1165 PyObject
* obj0
= 0 ;
1167 (char *) "self", NULL
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
;
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1175 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1176 result
= (wxDateTime
*) &_result_ref
;
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
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
;
1195 PyObject
* obj0
= 0 ;
1196 PyObject
* obj1
= 0 ;
1198 (char *) "self",(char *) "date", NULL
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
;
1204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1206 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1211 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1213 wxPyEndAllowThreads(__tstate
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1216 resultobj
= PyInt_FromLong((long)result
);
1223 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
*resultobj
;
1225 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1227 PyObject
* obj0
= 0 ;
1229 (char *) "self", NULL
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
;
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1238 result
= (wxDateTime
*) &_result_ref
;
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
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
;
1257 PyObject
* obj0
= 0 ;
1258 PyObject
* obj1
= 0 ;
1260 (char *) "self",(char *) "date", NULL
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
;
1266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1268 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1273 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1275 wxPyEndAllowThreads(__tstate
);
1276 if (PyErr_Occurred()) SWIG_fail
;
1278 resultobj
= PyInt_FromLong((long)result
);
1285 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
*resultobj
;
1287 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1289 PyObject
* obj0
= 0 ;
1291 (char *) "self", NULL
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
;
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1300 result
= (wxDateTime
*) &_result_ref
;
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
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
;
1321 PyObject
* obj0
= 0 ;
1322 PyObject
* obj1
= 0 ;
1323 PyObject
* obj2
= 0 ;
1325 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
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
;
1331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1337 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1339 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1349 resultobj
= PyInt_FromLong((long)result
);
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 ;
1363 (char *) "self",(char *) "enable", NULL
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
;
1369 arg2
= PyInt_AsLong(obj1
) ? true : false;
1370 if (PyErr_Occurred()) SWIG_fail
;
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 (arg1
)->EnableYearChange(arg2
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1379 Py_INCREF(Py_None
); resultobj
= Py_None
;
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 ;
1393 (char *) "self",(char *) "enable", NULL
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
;
1399 arg2
= PyInt_AsLong(obj1
) ? true : false;
1400 if (PyErr_Occurred()) SWIG_fail
;
1403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1404 (arg1
)->EnableMonthChange(arg2
);
1406 wxPyEndAllowThreads(__tstate
);
1407 if (PyErr_Occurred()) SWIG_fail
;
1409 Py_INCREF(Py_None
); resultobj
= Py_None
;
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 ;
1423 (char *) "self",(char *) "display", NULL
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
;
1429 arg2
= PyInt_AsLong(obj1
) ? true : false;
1430 if (PyErr_Occurred()) SWIG_fail
;
1433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 (arg1
)->EnableHolidayDisplay(arg2
);
1436 wxPyEndAllowThreads(__tstate
);
1437 if (PyErr_Occurred()) SWIG_fail
;
1439 Py_INCREF(Py_None
); resultobj
= Py_None
;
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 ;
1453 PyObject
* obj0
= 0 ;
1454 PyObject
* obj1
= 0 ;
1455 PyObject
* obj2
= 0 ;
1457 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
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
;
1464 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1468 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) SWIG_fail
;
1477 Py_INCREF(Py_None
); resultobj
= Py_None
;
1484 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1486 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1488 PyObject
* obj0
= 0 ;
1490 (char *) "self", NULL
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
;
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1503 wxColour
* resultptr
;
1504 resultptr
= new wxColour((wxColour
&) result
);
1505 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1513 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1515 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1517 PyObject
* obj0
= 0 ;
1519 (char *) "self", NULL
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
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1532 wxColour
* resultptr
;
1533 resultptr
= new wxColour((wxColour
&) result
);
1534 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
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 ;
1549 PyObject
* obj0
= 0 ;
1550 PyObject
* obj1
= 0 ;
1551 PyObject
* obj2
= 0 ;
1553 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
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
;
1560 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1564 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) SWIG_fail
;
1573 Py_INCREF(Py_None
); resultobj
= Py_None
;
1580 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
*resultobj
;
1582 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1584 PyObject
* obj0
= 0 ;
1586 (char *) "self", NULL
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
;
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1599 wxColour
* resultptr
;
1600 resultptr
= new wxColour((wxColour
&) result
);
1601 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1609 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1611 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1613 PyObject
* obj0
= 0 ;
1615 (char *) "self", NULL
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
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1628 wxColour
* resultptr
;
1629 resultptr
= new wxColour((wxColour
&) result
);
1630 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
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 ;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1647 PyObject
* obj2
= 0 ;
1649 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
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
;
1656 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1660 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1669 Py_INCREF(Py_None
); resultobj
= Py_None
;
1676 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1678 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1680 PyObject
* obj0
= 0 ;
1682 (char *) "self", NULL
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
;
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1695 wxColour
* resultptr
;
1696 resultptr
= new wxColour((wxColour
&) result
);
1697 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1705 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
*resultobj
;
1707 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1709 PyObject
* obj0
= 0 ;
1711 (char *) "self", NULL
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
;
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1724 wxColour
* resultptr
;
1725 resultptr
= new wxColour((wxColour
&) result
);
1726 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1734 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
*resultobj
;
1736 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1738 wxCalendarDateAttr
*result
;
1739 PyObject
* obj0
= 0 ;
1740 PyObject
* obj1
= 0 ;
1742 (char *) "self",(char *) "day", NULL
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
;
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1763 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1765 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1767 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1768 PyObject
* obj0
= 0 ;
1769 PyObject
* obj1
= 0 ;
1770 PyObject
* obj2
= 0 ;
1772 (char *) "self",(char *) "day",(char *) "attr", NULL
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
;
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 (arg1
)->SetAttr(arg2
,arg3
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1787 Py_INCREF(Py_None
); resultobj
= Py_None
;
1794 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1798 PyObject
* obj0
= 0 ;
1799 PyObject
* obj1
= 0 ;
1801 (char *) "self",(char *) "day", NULL
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
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 (arg1
)->SetHoliday(arg2
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 Py_INCREF(Py_None
); resultobj
= Py_None
;
1822 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
*resultobj
;
1824 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1826 PyObject
* obj0
= 0 ;
1827 PyObject
* obj1
= 0 ;
1829 (char *) "self",(char *) "day", NULL
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
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 (arg1
)->ResetAttr(arg2
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1843 Py_INCREF(Py_None
); resultobj
= Py_None
;
1850 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1852 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1854 wxDateTime
*arg3
= (wxDateTime
*) NULL
;
1855 wxDateTime::WeekDay
*arg4
= (wxDateTime::WeekDay
*) NULL
;
1858 PyObject
* obj0
= 0 ;
1859 PyObject
* obj1
= 0 ;
1860 PyObject
* obj2
= 0 ;
1861 PyObject
* obj3
= 0 ;
1863 (char *) "self",(char *) "pos",(char *) "date",(char *) "wd", NULL
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
;
1870 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1873 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1876 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime__WeekDay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1880 result
= (int)(arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
1882 wxPyEndAllowThreads(__tstate
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1885 resultobj
= PyInt_FromLong((long)result
);
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
;
1897 PyObject
* obj0
= 0 ;
1898 PyObject
* obj1
= 0 ;
1900 (char *) "self",(char *) "enable", NULL
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
;
1906 arg2
= PyInt_AsLong(obj1
) ? true : false;
1907 if (PyErr_Occurred()) SWIG_fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 result
= (bool)(arg1
)->Enable(arg2
);
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 resultobj
= PyInt_FromLong((long)result
);
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
;
1928 PyObject
* obj0
= 0 ;
1929 PyObject
* obj1
= 0 ;
1931 (char *) "self",(char *) "show", NULL
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
;
1937 arg2
= PyInt_AsLong(obj1
) ? true : false;
1938 if (PyErr_Occurred()) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 result
= (bool)(arg1
)->Show(arg2
);
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 resultobj
= PyInt_FromLong((long)result
);
1954 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
*resultobj
;
1956 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1958 PyObject
* obj0
= 0 ;
1960 (char *) "self", NULL
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
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1973 resultobj
= wxPyMake_wxObject(result
);
1981 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1983 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1985 PyObject
* obj0
= 0 ;
1987 (char *) "self", NULL
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
;
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
2000 resultobj
= wxPyMake_wxObject(result
);
2008 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2011 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2013 return Py_BuildValue((char *)"");
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
},
2078 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2080 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2081 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2083 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2086 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2087 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2089 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2090 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2092 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2093 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2095 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2096 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2098 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2099 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2101 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2102 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2104 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2105 return (void *)((wxObject
*) ((wxSizer
*) x
));
2107 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2108 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2110 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2111 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2113 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2116 static void *_p_wxEventTo_p_wxObject(void *x
) {
2117 return (void *)((wxObject
*) ((wxEvent
*) x
));
2119 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2120 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2122 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2123 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2125 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2126 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2128 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2129 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2131 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2132 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2134 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2135 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2137 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2138 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2140 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2141 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2143 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2144 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2146 static void *_p_wxControlTo_p_wxObject(void *x
) {
2147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2149 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2150 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2152 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2153 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2155 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2158 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2159 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2161 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2162 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2164 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2165 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2167 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2168 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2170 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2171 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2173 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2174 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2176 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2177 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2179 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2180 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2182 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2183 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2185 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2186 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2188 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2189 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2191 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2192 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2194 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2195 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2197 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2198 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2200 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2201 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2203 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2204 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2206 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2207 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2209 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2210 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2212 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2213 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2215 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2216 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2218 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2219 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2221 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2222 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2224 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2225 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2227 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2228 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2230 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2231 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2233 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2234 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2236 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2237 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2239 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2240 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2242 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2243 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2245 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2246 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2248 static void *_p_wxImageTo_p_wxObject(void *x
) {
2249 return (void *)((wxObject
*) ((wxImage
*) x
));
2251 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2252 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2254 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2255 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2257 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2258 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2260 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2263 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2264 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2266 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2267 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2269 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2270 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2272 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2273 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2275 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2278 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2279 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2281 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2282 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2284 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2287 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2288 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2290 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2291 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2293 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2294 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2296 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2297 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2299 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2300 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2302 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2303 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2305 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2308 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2309 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2311 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2312 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2314 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2315 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2317 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2320 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2321 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2323 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2326 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2329 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2330 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2332 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2333 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2335 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2336 return (void *)((wxWindow
*) ((wxControl
*) x
));
2338 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2339 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2341 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2342 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2344 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2345 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2347 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2348 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2350 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2351 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2353 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2354 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2356 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2357 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2359 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2360 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2362 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2363 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2365 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2366 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2368 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2369 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2371 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2372 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2374 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2375 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2377 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2378 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2380 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2383 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2384 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2386 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2387 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2389 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2390 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2392 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2393 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2395 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2398 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2399 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2401 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2402 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2404 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2407 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2408 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2410 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2411 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2413 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2416 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2417 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2419 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2420 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2422 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2423 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2425 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2426 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2428 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2429 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2431 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2432 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2434 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2435 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2437 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2438 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2440 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2441 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2443 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2444 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2446 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2447 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2449 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2450 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2452 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2453 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2455 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2456 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2458 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2459 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2461 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2462 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2464 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2465 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2467 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2468 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2470 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2471 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2473 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2474 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2476 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2477 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2479 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2480 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2482 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2483 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2485 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2486 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2488 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2489 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2491 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2492 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2494 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2495 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2497 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2498 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2500 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2501 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2503 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2504 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2506 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2507 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2509 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2510 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2512 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2513 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2515 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2516 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2518 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2519 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2521 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2522 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2524 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2525 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2527 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2528 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
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}};
2545 static swig_type_info
*swig_types_initial
[] = {
2546 _swigt__p_wxDateTime__WeekDay
,
2549 _swigt__p_wxCalendarEvent
,
2550 _swigt__p_wxCalendarDateAttr
,
2552 _swigt__p_wxCommandEvent
,
2554 _swigt__p_wxEvtHandler
,
2556 _swigt__p_wxDateTime
,
2557 _swigt__p_wxControl
,
2558 _swigt__p_wxCalendarCtrl
,
2564 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
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},
2598 SWIGEXPORT(void) SWIG_init(void) {
2599 static PyObject
*SWIG_globals
= 0;
2600 static int typeinit
= 0;
2603 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2604 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2605 d
= PyModule_GetDict(m
);
2608 for (i
= 0; swig_types_initial
[i
]; i
++) {
2609 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2613 SWIG_InstallConstants(d
,swig_const_table
);
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
));