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>
243 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
247 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 wxColour
const &arg2_defvalue
= wxNullColour
;
251 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
252 wxColour
const &arg3_defvalue
= wxNullColour
;
253 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
254 wxFont
const &arg4_defvalue
= wxNullFont
;
255 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
256 int arg5
= (int) wxCAL_BORDER_NONE
;
257 wxCalendarDateAttr
*result
;
261 PyObject
* obj0
= 0 ;
262 PyObject
* obj1
= 0 ;
263 PyObject
* obj2
= 0 ;
264 PyObject
* obj3
= 0 ;
266 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOi:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
272 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
283 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
287 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
294 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
296 wxPyEndAllowThreads(__tstate
);
297 if (PyErr_Occurred()) SWIG_fail
;
299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
306 static PyObject
*_wrap_new_CalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
309 wxColour
const &arg2_defvalue
= wxNullColour
;
310 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
311 wxCalendarDateAttr
*result
;
313 PyObject
* obj1
= 0 ;
315 (char *) "border",(char *) "colBorder", NULL
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|O:new_CalendarDateAttrBorder",kwnames
,&arg1
,&obj1
)) goto fail
;
322 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
327 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxCalendarDateBorder
)arg1
,(wxColour
const &)*arg2
);
329 wxPyEndAllowThreads(__tstate
);
330 if (PyErr_Occurred()) SWIG_fail
;
332 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
339 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
344 PyObject
* obj0
= 0 ;
345 PyObject
* obj1
= 0 ;
347 (char *) "self",(char *) "colText", NULL
350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
354 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
358 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
360 wxPyEndAllowThreads(__tstate
);
361 if (PyErr_Occurred()) SWIG_fail
;
363 Py_INCREF(Py_None
); resultobj
= Py_None
;
370 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
375 PyObject
* obj0
= 0 ;
376 PyObject
* obj1
= 0 ;
378 (char *) "self",(char *) "colBack", NULL
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
385 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
389 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
391 wxPyEndAllowThreads(__tstate
);
392 if (PyErr_Occurred()) SWIG_fail
;
394 Py_INCREF(Py_None
); resultobj
= Py_None
;
401 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
406 PyObject
* obj0
= 0 ;
407 PyObject
* obj1
= 0 ;
409 (char *) "self",(char *) "col", NULL
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
420 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
422 wxPyEndAllowThreads(__tstate
);
423 if (PyErr_Occurred()) SWIG_fail
;
425 Py_INCREF(Py_None
); resultobj
= Py_None
;
432 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
436 PyObject
* obj0
= 0 ;
437 PyObject
* obj1
= 0 ;
439 (char *) "self",(char *) "font", NULL
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
446 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
450 (arg1
)->SetFont((wxFont
const &)*arg2
);
452 wxPyEndAllowThreads(__tstate
);
453 if (PyErr_Occurred()) SWIG_fail
;
455 Py_INCREF(Py_None
); resultobj
= Py_None
;
462 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
466 PyObject
* obj0
= 0 ;
468 (char *) "self",(char *) "border", NULL
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
477 wxPyEndAllowThreads(__tstate
);
478 if (PyErr_Occurred()) SWIG_fail
;
480 Py_INCREF(Py_None
); resultobj
= Py_None
;
487 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
491 PyObject
* obj0
= 0 ;
492 PyObject
* obj1
= 0 ;
494 (char *) "self",(char *) "holiday", NULL
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
499 arg2
= PyInt_AsLong(obj1
) ? true : false;
500 if (PyErr_Occurred()) SWIG_fail
;
502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
503 (arg1
)->SetHoliday(arg2
);
505 wxPyEndAllowThreads(__tstate
);
506 if (PyErr_Occurred()) SWIG_fail
;
508 Py_INCREF(Py_None
); resultobj
= Py_None
;
515 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
519 PyObject
* obj0
= 0 ;
521 (char *) "self", NULL
524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
528 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
530 wxPyEndAllowThreads(__tstate
);
531 if (PyErr_Occurred()) SWIG_fail
;
533 resultobj
= PyInt_FromLong((long)result
);
540 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
544 PyObject
* obj0
= 0 ;
546 (char *) "self", NULL
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
553 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
555 wxPyEndAllowThreads(__tstate
);
556 if (PyErr_Occurred()) SWIG_fail
;
558 resultobj
= PyInt_FromLong((long)result
);
565 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
567 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
569 PyObject
* obj0
= 0 ;
571 (char *) "self", NULL
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
578 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
580 wxPyEndAllowThreads(__tstate
);
581 if (PyErr_Occurred()) SWIG_fail
;
583 resultobj
= PyInt_FromLong((long)result
);
590 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
594 PyObject
* obj0
= 0 ;
596 (char *) "self", NULL
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
603 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
605 wxPyEndAllowThreads(__tstate
);
606 if (PyErr_Occurred()) SWIG_fail
;
608 resultobj
= PyInt_FromLong((long)result
);
615 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
619 PyObject
* obj0
= 0 ;
621 (char *) "self", NULL
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
628 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
630 wxPyEndAllowThreads(__tstate
);
631 if (PyErr_Occurred()) SWIG_fail
;
633 resultobj
= PyInt_FromLong((long)result
);
640 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
642 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
644 PyObject
* obj0
= 0 ;
646 (char *) "self", NULL
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
653 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
655 wxPyEndAllowThreads(__tstate
);
656 if (PyErr_Occurred()) SWIG_fail
;
658 resultobj
= PyInt_FromLong((long)result
);
665 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
667 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
669 PyObject
* obj0
= 0 ;
671 (char *) "self", NULL
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) SWIG_fail
;
684 wxColour
* resultptr
;
685 resultptr
= new wxColour((wxColour
&) result
);
686 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
694 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
696 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
698 PyObject
* obj0
= 0 ;
700 (char *) "self", NULL
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) SWIG_fail
;
713 wxColour
* resultptr
;
714 resultptr
= new wxColour((wxColour
&) result
);
715 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
723 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
727 PyObject
* obj0
= 0 ;
729 (char *) "self", NULL
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) SWIG_fail
;
742 wxColour
* resultptr
;
743 resultptr
= new wxColour((wxColour
&) result
);
744 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
752 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
756 PyObject
* obj0
= 0 ;
758 (char *) "self", NULL
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
765 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
767 wxPyEndAllowThreads(__tstate
);
768 if (PyErr_Occurred()) SWIG_fail
;
772 resultptr
= new wxFont((wxFont
&) result
);
773 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
781 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
785 PyObject
* obj0
= 0 ;
787 (char *) "self", NULL
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) SWIG_fail
;
799 resultobj
= PyInt_FromLong((long)result
);
806 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
809 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
811 return Py_BuildValue((char *)"");
813 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
815 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
817 wxCalendarEvent
*result
;
818 PyObject
* obj0
= 0 ;
820 (char *) "cal",(char *) "type", NULL
823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:new_CalendarEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
827 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
829 wxPyEndAllowThreads(__tstate
);
830 if (PyErr_Occurred()) SWIG_fail
;
832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarEvent
, 1);
839 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
843 PyObject
* obj0
= 0 ;
845 (char *) "self", NULL
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
853 wxDateTime
const &_result_ref
= ((wxCalendarEvent
const *)arg1
)->GetDate();
854 result
= (wxDateTime
*) &_result_ref
;
857 wxPyEndAllowThreads(__tstate
);
858 if (PyErr_Occurred()) SWIG_fail
;
860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
867 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
870 wxDateTime
*arg2
= 0 ;
871 PyObject
* obj0
= 0 ;
872 PyObject
* obj1
= 0 ;
874 (char *) "self",(char *) "date", NULL
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
879 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
881 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) SWIG_fail
;
890 Py_INCREF(Py_None
); resultobj
= Py_None
;
897 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
901 PyObject
* obj0
= 0 ;
903 (char *) "self",(char *) "wd", NULL
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
910 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
912 wxPyEndAllowThreads(__tstate
);
913 if (PyErr_Occurred()) SWIG_fail
;
915 Py_INCREF(Py_None
); resultobj
= Py_None
;
922 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
926 PyObject
* obj0
= 0 ;
928 (char *) "self", NULL
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
935 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
937 wxPyEndAllowThreads(__tstate
);
938 if (PyErr_Occurred()) SWIG_fail
;
940 resultobj
= PyInt_FromLong((long)result
);
947 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
950 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
952 return Py_BuildValue((char *)"");
954 static int _wrap_CalendarNameStr_set(PyObject
*_val
) {
955 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
960 static PyObject
*_wrap_CalendarNameStr_get() {
965 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
967 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
974 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 wxWindow
*arg1
= (wxWindow
*) 0 ;
978 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
979 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
984 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
985 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
987 wxCalendarCtrl
*result
;
991 PyObject
* obj0
= 0 ;
992 PyObject
* obj2
= 0 ;
993 PyObject
* obj3
= 0 ;
994 PyObject
* obj4
= 0 ;
995 PyObject
* obj6
= 0 ;
997 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlO:new_CalendarCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1003 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1005 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1022 arg7
= wxString_in_helper(obj6
);
1023 if (arg7
== NULL
) SWIG_fail
;
1028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1029 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1031 wxPyEndAllowThreads(__tstate
);
1032 if (PyErr_Occurred()) SWIG_fail
;
1034 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1049 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
*resultobj
;
1051 wxCalendarCtrl
*result
;
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) SWIG_fail
;
1064 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1071 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
*resultobj
;
1073 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1074 wxWindow
*arg2
= (wxWindow
*) 0 ;
1076 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1077 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1078 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1079 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1080 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1081 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1082 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1083 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1084 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1088 bool temp8
= False
;
1089 PyObject
* obj0
= 0 ;
1090 PyObject
* obj1
= 0 ;
1091 PyObject
* obj3
= 0 ;
1092 PyObject
* obj4
= 0 ;
1093 PyObject
* obj5
= 0 ;
1094 PyObject
* obj7
= 0 ;
1096 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
1100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1103 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1105 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1111 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1117 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1122 arg8
= wxString_in_helper(obj7
);
1123 if (arg8
== NULL
) SWIG_fail
;
1128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1129 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1131 wxPyEndAllowThreads(__tstate
);
1132 if (PyErr_Occurred()) SWIG_fail
;
1134 resultobj
= PyInt_FromLong((long)result
);
1149 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
*resultobj
;
1151 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1152 wxDateTime
*arg2
= 0 ;
1153 PyObject
* obj0
= 0 ;
1154 PyObject
* obj1
= 0 ;
1156 (char *) "self",(char *) "date", NULL
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1167 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1169 wxPyEndAllowThreads(__tstate
);
1170 if (PyErr_Occurred()) SWIG_fail
;
1172 Py_INCREF(Py_None
); resultobj
= Py_None
;
1179 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
*resultobj
;
1181 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1183 PyObject
* obj0
= 0 ;
1185 (char *) "self", NULL
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1193 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1194 result
= (wxDateTime
*) &_result_ref
;
1197 wxPyEndAllowThreads(__tstate
);
1198 if (PyErr_Occurred()) SWIG_fail
;
1200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1207 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
*resultobj
;
1209 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1210 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1211 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1213 PyObject
* obj0
= 0 ;
1214 PyObject
* obj1
= 0 ;
1216 (char *) "self",(char *) "date", NULL
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1222 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1234 resultobj
= PyInt_FromLong((long)result
);
1241 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
*resultobj
;
1243 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1245 PyObject
* obj0
= 0 ;
1247 (char *) "self", NULL
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1255 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1256 result
= (wxDateTime
*) &_result_ref
;
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1269 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
*resultobj
;
1271 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1272 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1273 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1275 PyObject
* obj0
= 0 ;
1276 PyObject
* obj1
= 0 ;
1278 (char *) "self",(char *) "date", NULL
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1296 resultobj
= PyInt_FromLong((long)result
);
1303 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1305 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1307 PyObject
* obj0
= 0 ;
1309 (char *) "self", NULL
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1317 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1318 result
= (wxDateTime
*) &_result_ref
;
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1331 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
*resultobj
;
1333 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1334 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1335 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1336 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1337 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1339 PyObject
* obj0
= 0 ;
1340 PyObject
* obj1
= 0 ;
1341 PyObject
* obj2
= 0 ;
1343 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1351 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1355 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1357 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1367 resultobj
= PyInt_FromLong((long)result
);
1374 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
*resultobj
;
1376 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1377 bool arg2
= (bool) True
;
1378 PyObject
* obj0
= 0 ;
1379 PyObject
* obj1
= 0 ;
1381 (char *) "self",(char *) "enable", NULL
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1387 arg2
= PyInt_AsLong(obj1
) ? true : false;
1388 if (PyErr_Occurred()) SWIG_fail
;
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 (arg1
)->EnableYearChange(arg2
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1397 Py_INCREF(Py_None
); resultobj
= Py_None
;
1404 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1407 bool arg2
= (bool) True
;
1408 PyObject
* obj0
= 0 ;
1409 PyObject
* obj1
= 0 ;
1411 (char *) "self",(char *) "enable", NULL
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1417 arg2
= PyInt_AsLong(obj1
) ? true : false;
1418 if (PyErr_Occurred()) SWIG_fail
;
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 (arg1
)->EnableMonthChange(arg2
);
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1427 Py_INCREF(Py_None
); resultobj
= Py_None
;
1434 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
*resultobj
;
1436 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1437 bool arg2
= (bool) True
;
1438 PyObject
* obj0
= 0 ;
1439 PyObject
* obj1
= 0 ;
1441 (char *) "self",(char *) "display", NULL
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1447 arg2
= PyInt_AsLong(obj1
) ? true : false;
1448 if (PyErr_Occurred()) SWIG_fail
;
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 (arg1
)->EnableHolidayDisplay(arg2
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1457 Py_INCREF(Py_None
); resultobj
= Py_None
;
1464 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
*resultobj
;
1466 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1467 wxColour
*arg2
= 0 ;
1468 wxColour
*arg3
= 0 ;
1471 PyObject
* obj0
= 0 ;
1472 PyObject
* obj1
= 0 ;
1473 PyObject
* obj2
= 0 ;
1475 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1482 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1486 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1495 Py_INCREF(Py_None
); resultobj
= Py_None
;
1502 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1504 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1506 PyObject
* obj0
= 0 ;
1508 (char *) "self", NULL
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1521 wxColour
* resultptr
;
1522 resultptr
= new wxColour((wxColour
&) result
);
1523 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1531 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
*resultobj
;
1533 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1535 PyObject
* obj0
= 0 ;
1537 (char *) "self", NULL
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1550 wxColour
* resultptr
;
1551 resultptr
= new wxColour((wxColour
&) result
);
1552 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1560 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
*resultobj
;
1562 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1563 wxColour
*arg2
= 0 ;
1564 wxColour
*arg3
= 0 ;
1567 PyObject
* obj0
= 0 ;
1568 PyObject
* obj1
= 0 ;
1569 PyObject
* obj2
= 0 ;
1571 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1582 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) SWIG_fail
;
1591 Py_INCREF(Py_None
); resultobj
= Py_None
;
1598 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
*resultobj
;
1600 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1602 PyObject
* obj0
= 0 ;
1604 (char *) "self", NULL
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1617 wxColour
* resultptr
;
1618 resultptr
= new wxColour((wxColour
&) result
);
1619 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1627 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1633 (char *) "self", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1646 wxColour
* resultptr
;
1647 resultptr
= new wxColour((wxColour
&) result
);
1648 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1656 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1659 wxColour
*arg2
= 0 ;
1660 wxColour
*arg3
= 0 ;
1663 PyObject
* obj0
= 0 ;
1664 PyObject
* obj1
= 0 ;
1665 PyObject
* obj2
= 0 ;
1667 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1674 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1678 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1687 Py_INCREF(Py_None
); resultobj
= Py_None
;
1694 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
*resultobj
;
1696 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1698 PyObject
* obj0
= 0 ;
1700 (char *) "self", NULL
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1707 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1709 wxPyEndAllowThreads(__tstate
);
1710 if (PyErr_Occurred()) SWIG_fail
;
1713 wxColour
* resultptr
;
1714 resultptr
= new wxColour((wxColour
&) result
);
1715 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1723 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
*resultobj
;
1725 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1727 PyObject
* obj0
= 0 ;
1729 (char *) "self", NULL
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1742 wxColour
* resultptr
;
1743 resultptr
= new wxColour((wxColour
&) result
);
1744 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1752 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
*resultobj
;
1754 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1756 wxCalendarDateAttr
*result
;
1757 PyObject
* obj0
= 0 ;
1758 PyObject
* obj1
= 0 ;
1760 (char *) "self",(char *) "day", NULL
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1765 arg2
= (size_t) PyInt_AsLong(obj1
);
1766 if (PyErr_Occurred()) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1781 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1785 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1788 PyObject
* obj2
= 0 ;
1790 (char *) "self",(char *) "day",(char *) "attr", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1795 arg2
= (size_t) PyInt_AsLong(obj1
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1797 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 (arg1
)->SetAttr(arg2
,arg3
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 Py_INCREF(Py_None
); resultobj
= Py_None
;
1812 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
*resultobj
;
1814 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1816 PyObject
* obj0
= 0 ;
1817 PyObject
* obj1
= 0 ;
1819 (char *) "self",(char *) "day", NULL
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
1823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1824 arg2
= (size_t) PyInt_AsLong(obj1
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 (arg1
)->SetHoliday(arg2
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 Py_INCREF(Py_None
); resultobj
= Py_None
;
1840 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1845 PyObject
* obj1
= 0 ;
1847 (char *) "self",(char *) "day", NULL
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1852 arg2
= (size_t) PyInt_AsLong(obj1
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 (arg1
)->ResetAttr(arg2
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1872 wxDateTime
*arg3
= (wxDateTime
*) NULL
;
1873 wxDateTime::WeekDay
*arg4
= (wxDateTime::WeekDay
*) NULL
;
1876 PyObject
* obj0
= 0 ;
1877 PyObject
* obj1
= 0 ;
1878 PyObject
* obj2
= 0 ;
1879 PyObject
* obj3
= 0 ;
1881 (char *) "self",(char *) "pos",(char *) "date",(char *) "wd", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1891 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1894 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime__WeekDay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 result
= (int)(arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 resultobj
= PyInt_FromLong((long)result
);
1910 static PyObject
*_wrap_CalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1913 bool arg2
= (bool) True
;
1915 PyObject
* obj0
= 0 ;
1916 PyObject
* obj1
= 0 ;
1918 (char *) "self",(char *) "enable", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
1922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1924 arg2
= PyInt_AsLong(obj1
) ? true : false;
1925 if (PyErr_Occurred()) SWIG_fail
;
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 result
= (bool)(arg1
)->Enable(arg2
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1934 resultobj
= PyInt_FromLong((long)result
);
1941 static PyObject
*_wrap_CalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
*resultobj
;
1943 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1944 bool arg2
= (bool) True
;
1946 PyObject
* obj0
= 0 ;
1947 PyObject
* obj1
= 0 ;
1949 (char *) "self",(char *) "show", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
1953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1955 arg2
= PyInt_AsLong(obj1
) ? true : false;
1956 if (PyErr_Occurred()) SWIG_fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 result
= (bool)(arg1
)->Show(arg2
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 resultobj
= PyInt_FromLong((long)result
);
1972 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1976 PyObject
* obj0
= 0 ;
1978 (char *) "self", NULL
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
1982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1991 resultobj
= wxPyMake_wxObject(result
);
1999 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2003 PyObject
* obj0
= 0 ;
2005 (char *) "self", NULL
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2018 resultobj
= wxPyMake_wxObject(result
);
2026 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2029 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2031 return Py_BuildValue((char *)"");
2033 static PyMethodDef SwigMethods
[] = {
2034 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2035 { (char *)"new_CalendarDateAttrBorder", (PyCFunction
) _wrap_new_CalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
2036 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2037 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2038 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2039 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2040 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2041 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2042 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2043 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2044 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2045 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2046 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2047 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2048 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2049 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2050 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2051 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2052 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2053 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
2054 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2055 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2056 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2057 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2058 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2059 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
2060 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2061 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2062 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2063 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2064 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2065 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2066 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2067 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2068 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2069 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2070 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2071 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2072 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2073 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2074 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2075 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2076 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2077 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2078 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2079 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2080 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2081 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2082 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2083 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2084 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2085 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2086 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2087 { (char *)"CalendarCtrl_Enable", (PyCFunction
) _wrap_CalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
2088 { (char *)"CalendarCtrl_Show", (PyCFunction
) _wrap_CalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
2089 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
},
2090 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
},
2091 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
2096 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2098 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2099 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2101 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2104 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2105 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2107 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2108 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2110 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2113 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2114 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2116 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2117 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2119 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2120 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2122 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2123 return (void *)((wxObject
*) ((wxSizer
*) x
));
2125 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2126 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2128 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2129 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2131 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2134 static void *_p_wxEventTo_p_wxObject(void *x
) {
2135 return (void *)((wxObject
*) ((wxEvent
*) x
));
2137 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2138 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2140 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2141 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2143 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2144 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2146 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2147 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2149 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2150 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2152 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2153 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2155 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2156 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2158 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2159 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2161 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2162 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2164 static void *_p_wxControlTo_p_wxObject(void *x
) {
2165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2167 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2168 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2170 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2171 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2173 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2176 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2177 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2179 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2180 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2182 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2183 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2185 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2186 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2188 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2191 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2192 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2194 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2195 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2197 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2198 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2200 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2201 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2203 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2204 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2206 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2207 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2209 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2210 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2212 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2213 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2215 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2216 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2218 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2219 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2221 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2222 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2224 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2225 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2227 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2228 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2230 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2231 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2233 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2234 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2236 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2237 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2239 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2240 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2242 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2243 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2245 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2246 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2248 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2249 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2251 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2252 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2254 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2255 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2257 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2258 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2260 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2261 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2263 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2264 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2266 static void *_p_wxImageTo_p_wxObject(void *x
) {
2267 return (void *)((wxObject
*) ((wxImage
*) x
));
2269 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2270 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2272 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2273 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2275 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2276 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2278 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2281 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2282 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2284 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2285 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2287 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2288 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2290 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2291 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2293 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2296 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2297 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2299 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2300 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2302 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2305 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2306 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2308 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2309 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2311 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2312 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2314 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2315 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2317 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2318 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2320 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2321 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2323 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2326 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2327 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2329 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2330 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2332 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2333 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2335 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2338 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2339 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2341 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2344 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2347 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2348 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2350 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2351 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2353 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2354 return (void *)((wxWindow
*) ((wxControl
*) x
));
2356 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2357 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2359 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2360 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2362 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2363 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2365 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2366 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2368 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2369 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2371 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2372 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2374 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2375 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2377 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2378 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2380 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2381 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2383 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2384 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2386 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2387 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2389 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2390 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2392 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2393 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2395 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2396 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2398 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2401 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2402 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2404 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2405 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2407 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2408 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2410 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2411 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2413 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2416 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2417 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2419 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2420 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2422 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2425 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2426 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2428 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2429 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2431 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2432 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2434 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2435 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2437 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2438 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2440 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2441 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2443 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2444 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2446 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2447 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2449 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2450 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2452 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2453 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2455 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2456 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2458 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2461 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2462 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2464 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2465 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2467 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2468 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2470 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2471 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2473 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2474 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2476 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2477 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2479 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2480 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2482 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2483 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2485 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2486 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2488 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2489 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2491 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2492 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2494 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2495 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2497 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2498 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2500 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2501 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2503 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2504 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2506 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2507 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2509 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2510 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2512 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2513 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2515 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2516 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2518 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2519 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2521 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2522 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2524 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2525 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2527 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2528 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2530 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2531 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2533 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2534 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2536 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2537 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2539 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2540 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2542 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2543 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2545 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2546 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2548 static swig_type_info _swigt__p_wxDateTime__WeekDay
[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}};
2549 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
2550 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}};
2551 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}};
2552 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}};
2553 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}};
2554 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}};
2555 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
2556 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}};
2557 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
2558 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
2559 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}};
2560 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0},{"_p_wxCalendarCtrl"},{0}};
2561 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}};
2563 static swig_type_info
*swig_types_initial
[] = {
2564 _swigt__p_wxDateTime__WeekDay
,
2567 _swigt__p_wxCalendarEvent
,
2568 _swigt__p_wxCalendarDateAttr
,
2570 _swigt__p_wxCommandEvent
,
2572 _swigt__p_wxEvtHandler
,
2574 _swigt__p_wxDateTime
,
2575 _swigt__p_wxControl
,
2576 _swigt__p_wxCalendarCtrl
,
2582 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2584 static swig_const_info swig_const_table
[] = {
2585 { SWIG_PY_INT
, (char *)"CAL_SUNDAY_FIRST", (long) wxCAL_SUNDAY_FIRST
, 0, 0, 0},
2586 { SWIG_PY_INT
, (char *)"CAL_MONDAY_FIRST", (long) wxCAL_MONDAY_FIRST
, 0, 0, 0},
2587 { SWIG_PY_INT
, (char *)"CAL_SHOW_HOLIDAYS", (long) wxCAL_SHOW_HOLIDAYS
, 0, 0, 0},
2588 { SWIG_PY_INT
, (char *)"CAL_NO_YEAR_CHANGE", (long) wxCAL_NO_YEAR_CHANGE
, 0, 0, 0},
2589 { SWIG_PY_INT
, (char *)"CAL_NO_MONTH_CHANGE", (long) wxCAL_NO_MONTH_CHANGE
, 0, 0, 0},
2590 { SWIG_PY_INT
, (char *)"CAL_SEQUENTIAL_MONTH_SELECTION", (long) wxCAL_SEQUENTIAL_MONTH_SELECTION
, 0, 0, 0},
2591 { SWIG_PY_INT
, (char *)"CAL_SHOW_SURROUNDING_WEEKS", (long) wxCAL_SHOW_SURROUNDING_WEEKS
, 0, 0, 0},
2592 { SWIG_PY_INT
, (char *)"CAL_HITTEST_NOWHERE", (long) wxCAL_HITTEST_NOWHERE
, 0, 0, 0},
2593 { SWIG_PY_INT
, (char *)"CAL_HITTEST_HEADER", (long) wxCAL_HITTEST_HEADER
, 0, 0, 0},
2594 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DAY", (long) wxCAL_HITTEST_DAY
, 0, 0, 0},
2595 { SWIG_PY_INT
, (char *)"CAL_HITTEST_INCMONTH", (long) wxCAL_HITTEST_INCMONTH
, 0, 0, 0},
2596 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DECMONTH", (long) wxCAL_HITTEST_DECMONTH
, 0, 0, 0},
2597 { SWIG_PY_INT
, (char *)"CAL_HITTEST_SURROUNDING_WEEK", (long) wxCAL_HITTEST_SURROUNDING_WEEK
, 0, 0, 0},
2598 { SWIG_PY_INT
, (char *)"CAL_BORDER_NONE", (long) wxCAL_BORDER_NONE
, 0, 0, 0},
2599 { SWIG_PY_INT
, (char *)"CAL_BORDER_SQUARE", (long) wxCAL_BORDER_SQUARE
, 0, 0, 0},
2600 { SWIG_PY_INT
, (char *)"CAL_BORDER_ROUND", (long) wxCAL_BORDER_ROUND
, 0, 0, 0},
2601 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DOUBLECLICKED", (long) wxEVT_CALENDAR_DOUBLECLICKED
, 0, 0, 0},
2602 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_SEL_CHANGED", (long) wxEVT_CALENDAR_SEL_CHANGED
, 0, 0, 0},
2603 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DAY_CHANGED", (long) wxEVT_CALENDAR_DAY_CHANGED
, 0, 0, 0},
2604 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_MONTH_CHANGED", (long) wxEVT_CALENDAR_MONTH_CHANGED
, 0, 0, 0},
2605 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_YEAR_CHANGED", (long) wxEVT_CALENDAR_YEAR_CHANGED
, 0, 0, 0},
2606 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_WEEKDAY_CLICKED", (long) wxEVT_CALENDAR_WEEKDAY_CLICKED
, 0, 0, 0},
2616 SWIGEXPORT(void) SWIG_init(void) {
2617 static PyObject
*SWIG_globals
= 0;
2618 static int typeinit
= 0;
2621 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2622 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2623 d
= PyModule_GetDict(m
);
2626 for (i
= 0; swig_types_initial
[i
]; i
++) {
2627 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2631 SWIG_InstallConstants(d
,swig_const_table
);
2633 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2634 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2635 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2636 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2637 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2638 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2639 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2640 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);