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);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxControl swig_types[0]
210 #define SWIGTYPE_p_wxDateTime swig_types[1]
211 #define SWIGTYPE_p_wxWindow swig_types[2]
212 #define SWIGTYPE_p_wxFont swig_types[3]
213 #define SWIGTYPE_p_wxEvent swig_types[4]
214 #define SWIGTYPE_p_wxObject swig_types[5]
215 #define SWIGTYPE_p_wxEvtHandler swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[8]
218 #define SWIGTYPE_p_wxColour swig_types[9]
219 #define SWIGTYPE_p_wxCalendarEvent swig_types[10]
220 #define SWIGTYPE_p_wxCommandEvent swig_types[11]
221 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
222 static swig_type_info
*swig_types
[14];
224 /* -------- TYPES TABLE (END) -------- */
227 /*-----------------------------------------------
228 @(target):= _calendar.so
229 ------------------------------------------------*/
230 #define SWIG_init init_calendar
232 #define SWIG_name "_calendar"
234 /* Auxiliar swig macros */
237 #define SWIGSTATICINLINE(a) static inline a
238 #define SWIGSTATIC(a) static a
239 #define swig_new_array(type, size) (new type[(size)])
240 #define swig_delete_array(cptr) delete[] cptr
241 #define swig_const_cast(type,a) const_cast<type>(a)
242 #define swig_static_cast(type,a) static_cast<type>(a)
243 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
245 #ifdef HAVE_NUMERIC_CAST
246 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
248 #define swig_numeric_cast(type,a) static_cast<type>(a)
253 #define SWIGSTATICINLINE(a) static a
254 #define SWIGSTATIC(a) static a
255 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
256 #define swig_delete_array(cptr) free((char*)cptr)
257 #define swig_const_cast(type,a) (type)(a)
258 #define swig_static_cast(type,a) (type)(a)
259 #define swig_reinterpret_cast(type,a) (type)(a)
260 #define swig_numeric_cast(type,a) (type)(a)
262 #endif /* __cplusplus */
265 #define SWIG_FromSignedChar PyInt_FromLong
266 #define SWIG_FromUnsignedChar PyInt_FromLong
267 #define SWIG_FromShort PyInt_FromLong
268 #define SWIG_FromUnsignedShort PyInt_FromLong
269 #define SWIG_FromInt PyInt_FromLong
270 #define SWIG_FromLong PyInt_FromLong
271 #define SWIG_FromFloat PyFloat_FromDouble
272 #define SWIG_FromDouble PyFloat_FromDouble
273 #define SWIG_FromFloat PyFloat_FromDouble
274 #define SWIG_FromDouble PyFloat_FromDouble
277 #include "wx/wxPython/wxPython.h"
278 #include "wx/wxPython/pyclasses.h"
280 #include <wx/calctrl.h>
286 SWIGSTATICINLINE(long)
287 SWIG_CheckLongInRange(long value
, const char* type
,
288 long min_value
, long max_value
)
290 if (!PyErr_Occurred()) {
291 if (value
< min_value
) {
293 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
294 value
, type
, min_value
);
296 PyErr_SetObject(PyExc_OverflowError
, err
);
298 } else if (value
> max_value
) {
300 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
301 value
, type
, max_value
);
302 PyErr_SetObject(PyExc_OverflowError
, err
);
310 SWIGSTATICINLINE(long)
311 SWIG_AsLong(PyObject
* obj
)
313 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
317 #if INT_MAX != LONG_MAX
318 SWIGSTATICINLINE(int)
319 SWIG_AsInt(PyObject
*obj
)
321 return swig_numeric_cast(int,
322 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
323 "int", INT_MIN
, INT_MAX
));
326 #define SWIG_AsInt SWIG_AsLong
330 SWIGSTATICINLINE(int)
331 SWIG_CheckInt(PyObject
* obj
)
334 if (PyErr_Occurred()) {
343 SWIGSTATICINLINE(bool)
344 SWIG_AsBool(PyObject
*obj
)
346 return PyObject_IsTrue(obj
) ? true : false;
350 SWIGSTATICINLINE(int)
351 SWIG_CheckBool(PyObject
* obj
)
354 if (PyErr_Occurred()) {
362 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
364 SWIGSTATICINLINE(int)
365 SWIG_CheckLong(PyObject
* obj
)
368 if (PyErr_Occurred()) {
377 SWIGSTATICINLINE(unsigned long)
378 SWIG_AsUnsignedLong(PyObject
* obj
)
380 if (PyLong_Check(obj
)) {
381 return PyLong_AsUnsignedLong(obj
);
383 long i
= PyInt_AsLong(obj
);
384 if ( !PyErr_Occurred() && (i
< 0)) {
385 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
392 SWIGSTATICINLINE(int)
393 SWIG_CheckUnsignedLong(PyObject
* obj
)
395 SWIG_AsUnsignedLong(obj
);
396 if (PyErr_Occurred()) {
404 PyObject
*wxCalendarCtrl_HitTest(wxCalendarCtrl
*self
,wxPoint
const &pos
){
405 wxDateTime
* date
= new wxDateTime
;
406 wxDateTime::WeekDay wd
;
407 wxCalendarHitTestResult result
= self
->HitTest(pos
, date
, &wd
);
408 wxPyBeginBlockThreads();
409 PyObject
* tup
= PyTuple_New(3);
410 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(result
));
411 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(date
, wxT("wxDateTime"), 1));
412 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(wd
));
413 wxPyEndBlockThreads();
419 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
421 wxColour
const &arg1_defvalue
= wxNullColour
;
422 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
423 wxColour
const &arg2_defvalue
= wxNullColour
;
424 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
425 wxColour
const &arg3_defvalue
= wxNullColour
;
426 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
427 wxFont
const &arg4_defvalue
= wxNullFont
;
428 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
429 int arg5
= (int) wxCAL_BORDER_NONE
;
430 wxCalendarDateAttr
*result
;
434 PyObject
* obj0
= 0 ;
435 PyObject
* obj1
= 0 ;
436 PyObject
* obj2
= 0 ;
437 PyObject
* obj3
= 0 ;
438 PyObject
* obj4
= 0 ;
440 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
447 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
459 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
463 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
467 PyErr_SetString(PyExc_TypeError
,"null reference");
472 arg5
= (wxCalendarDateBorder
) SWIG_AsInt(obj4
);
473 if (PyErr_Occurred()) SWIG_fail
;
476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
477 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
479 wxPyEndAllowThreads(__tstate
);
480 if (PyErr_Occurred()) SWIG_fail
;
482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 1);
489 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
491 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
494 PyObject
* obj0
= 0 ;
495 PyObject
* obj1
= 0 ;
497 (char *) "self",(char *) "colText", NULL
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
505 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
509 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
511 wxPyEndAllowThreads(__tstate
);
512 if (PyErr_Occurred()) SWIG_fail
;
514 Py_INCREF(Py_None
); resultobj
= Py_None
;
521 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
523 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
526 PyObject
* obj0
= 0 ;
527 PyObject
* obj1
= 0 ;
529 (char *) "self",(char *) "colBack", NULL
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
541 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) SWIG_fail
;
546 Py_INCREF(Py_None
); resultobj
= Py_None
;
553 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
555 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
558 PyObject
* obj0
= 0 ;
559 PyObject
* obj1
= 0 ;
561 (char *) "self",(char *) "col", NULL
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
569 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
573 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
575 wxPyEndAllowThreads(__tstate
);
576 if (PyErr_Occurred()) SWIG_fail
;
578 Py_INCREF(Py_None
); resultobj
= Py_None
;
585 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
587 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
589 PyObject
* obj0
= 0 ;
590 PyObject
* obj1
= 0 ;
592 (char *) "self",(char *) "font", NULL
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
602 PyErr_SetString(PyExc_TypeError
,"null reference");
606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
607 (arg1
)->SetFont((wxFont
const &)*arg2
);
609 wxPyEndAllowThreads(__tstate
);
610 if (PyErr_Occurred()) SWIG_fail
;
612 Py_INCREF(Py_None
); resultobj
= Py_None
;
619 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
621 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
623 PyObject
* obj0
= 0 ;
624 PyObject
* obj1
= 0 ;
626 (char *) "self",(char *) "border", NULL
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
632 arg2
= (wxCalendarDateBorder
) SWIG_AsInt(obj1
);
633 if (PyErr_Occurred()) SWIG_fail
;
635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
636 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
638 wxPyEndAllowThreads(__tstate
);
639 if (PyErr_Occurred()) SWIG_fail
;
641 Py_INCREF(Py_None
); resultobj
= Py_None
;
648 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
650 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
652 PyObject
* obj0
= 0 ;
653 PyObject
* obj1
= 0 ;
655 (char *) "self",(char *) "holiday", NULL
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
661 arg2
= (bool) SWIG_AsBool(obj1
);
662 if (PyErr_Occurred()) SWIG_fail
;
664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
665 (arg1
)->SetHoliday(arg2
);
667 wxPyEndAllowThreads(__tstate
);
668 if (PyErr_Occurred()) SWIG_fail
;
670 Py_INCREF(Py_None
); resultobj
= Py_None
;
677 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
679 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
681 PyObject
* obj0
= 0 ;
683 (char *) "self", NULL
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
691 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
693 wxPyEndAllowThreads(__tstate
);
694 if (PyErr_Occurred()) SWIG_fail
;
696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
703 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
705 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
707 PyObject
* obj0
= 0 ;
709 (char *) "self", NULL
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
717 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
719 wxPyEndAllowThreads(__tstate
);
720 if (PyErr_Occurred()) SWIG_fail
;
722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
729 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
731 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
733 PyObject
* obj0
= 0 ;
735 (char *) "self", NULL
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
743 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
745 wxPyEndAllowThreads(__tstate
);
746 if (PyErr_Occurred()) SWIG_fail
;
748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
755 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
757 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
759 PyObject
* obj0
= 0 ;
761 (char *) "self", NULL
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
769 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
771 wxPyEndAllowThreads(__tstate
);
772 if (PyErr_Occurred()) SWIG_fail
;
774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
781 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*, 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_HasBorder",kwnames
,&obj0
)) goto fail
;
791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) SWIG_fail
;
800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
807 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
809 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
811 PyObject
* obj0
= 0 ;
813 (char *) "self", NULL
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) SWIG_fail
;
826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
833 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
835 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
837 PyObject
* obj0
= 0 ;
839 (char *) "self", NULL
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
847 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
849 wxPyEndAllowThreads(__tstate
);
850 if (PyErr_Occurred()) SWIG_fail
;
853 wxColour
* resultptr
;
854 resultptr
= new wxColour((wxColour
&) result
);
855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
863 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
865 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
867 PyObject
* obj0
= 0 ;
869 (char *) "self", NULL
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
877 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
879 wxPyEndAllowThreads(__tstate
);
880 if (PyErr_Occurred()) SWIG_fail
;
883 wxColour
* resultptr
;
884 resultptr
= new wxColour((wxColour
&) result
);
885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
893 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
895 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
897 PyObject
* obj0
= 0 ;
899 (char *) "self", NULL
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
907 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
909 wxPyEndAllowThreads(__tstate
);
910 if (PyErr_Occurred()) SWIG_fail
;
913 wxColour
* resultptr
;
914 resultptr
= new wxColour((wxColour
&) result
);
915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
923 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
925 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
927 PyObject
* obj0
= 0 ;
929 (char *) "self", NULL
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) SWIG_fail
;
944 resultptr
= new wxFont((wxFont
&) result
);
945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
953 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
955 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
957 PyObject
* obj0
= 0 ;
959 (char *) "self", NULL
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) SWIG_fail
;
972 resultobj
= SWIG_FromInt((int)result
);
979 static PyObject
* CalendarDateAttr_swigregister(PyObject
*, PyObject
*args
) {
981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
982 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
984 return Py_BuildValue((char *)"");
986 static PyObject
*_wrap_new_CalendarEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
988 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
990 wxCalendarEvent
*result
;
991 PyObject
* obj0
= 0 ;
992 PyObject
* obj1
= 0 ;
994 (char *) "cal",(char *) "type", NULL
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1000 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
1001 if (PyErr_Occurred()) SWIG_fail
;
1003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1004 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
1006 wxPyEndAllowThreads(__tstate
);
1007 if (PyErr_Occurred()) SWIG_fail
;
1009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarEvent
, 1);
1016 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
*resultobj
;
1018 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1020 PyObject
* obj0
= 0 ;
1022 (char *) "self", NULL
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
1026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1030 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
1032 wxPyEndAllowThreads(__tstate
);
1033 if (PyErr_Occurred()) SWIG_fail
;
1036 wxDateTime
* resultptr
;
1037 resultptr
= new wxDateTime((wxDateTime
&) result
);
1038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
1046 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
*resultobj
;
1048 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1049 wxDateTime
*arg2
= 0 ;
1050 PyObject
* obj0
= 0 ;
1051 PyObject
* obj1
= 0 ;
1053 (char *) "self",(char *) "date", NULL
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1063 PyErr_SetString(PyExc_TypeError
,"null reference");
1067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1068 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) SWIG_fail
;
1073 Py_INCREF(Py_None
); resultobj
= Py_None
;
1080 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
*resultobj
;
1082 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1084 PyObject
* obj0
= 0 ;
1085 PyObject
* obj1
= 0 ;
1087 (char *) "self",(char *) "wd", NULL
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
1091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1093 arg2
= (wxDateTime::WeekDay
const) SWIG_AsInt(obj1
);
1094 if (PyErr_Occurred()) SWIG_fail
;
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1102 Py_INCREF(Py_None
); resultobj
= Py_None
;
1109 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
*resultobj
;
1111 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1113 PyObject
* obj0
= 0 ;
1115 (char *) "self", NULL
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1123 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1125 wxPyEndAllowThreads(__tstate
);
1126 if (PyErr_Occurred()) SWIG_fail
;
1128 resultobj
= SWIG_FromInt((int)result
);
1135 static PyObject
* CalendarEvent_swigregister(PyObject
*, PyObject
*args
) {
1137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1138 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1140 return Py_BuildValue((char *)"");
1142 static int _wrap_CalendarNameStr_set(PyObject
*) {
1143 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1148 static PyObject
*_wrap_CalendarNameStr_get() {
1153 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1155 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1162 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
*resultobj
;
1164 wxWindow
*arg1
= (wxWindow
*) 0 ;
1166 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1167 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1172 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1173 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1175 wxCalendarCtrl
*result
;
1178 bool temp7
= False
;
1179 PyObject
* obj0
= 0 ;
1180 PyObject
* obj1
= 0 ;
1181 PyObject
* obj2
= 0 ;
1182 PyObject
* obj3
= 0 ;
1183 PyObject
* obj4
= 0 ;
1184 PyObject
* obj5
= 0 ;
1185 PyObject
* obj6
= 0 ;
1187 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1193 arg2
= (int) SWIG_AsInt(obj1
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1196 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1200 PyErr_SetString(PyExc_TypeError
,"null reference");
1207 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1213 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1217 arg6
= (long) SWIG_AsLong(obj5
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1222 arg7
= wxString_in_helper(obj6
);
1223 if (arg7
== NULL
) SWIG_fail
;
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1249 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
*resultobj
;
1251 wxCalendarCtrl
*result
;
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1271 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
*resultobj
;
1273 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1274 wxWindow
*arg2
= (wxWindow
*) 0 ;
1276 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1277 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1278 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1279 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1280 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1281 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1282 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1283 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1284 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1288 bool temp8
= False
;
1289 PyObject
* obj0
= 0 ;
1290 PyObject
* obj1
= 0 ;
1291 PyObject
* obj2
= 0 ;
1292 PyObject
* obj3
= 0 ;
1293 PyObject
* obj4
= 0 ;
1294 PyObject
* obj5
= 0 ;
1295 PyObject
* obj6
= 0 ;
1296 PyObject
* obj7
= 0 ;
1298 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1306 arg3
= (int) SWIG_AsInt(obj2
);
1307 if (PyErr_Occurred()) SWIG_fail
;
1309 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
1310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1313 PyErr_SetString(PyExc_TypeError
,"null reference");
1320 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1326 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1330 arg7
= (long) SWIG_AsLong(obj6
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1335 arg8
= wxString_in_helper(obj7
);
1336 if (arg8
== NULL
) SWIG_fail
;
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1362 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
*resultobj
;
1364 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1365 wxDateTime
*arg2
= 0 ;
1366 PyObject
* obj0
= 0 ;
1367 PyObject
* obj1
= 0 ;
1369 (char *) "self",(char *) "date", NULL
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1379 PyErr_SetString(PyExc_TypeError
,"null reference");
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) SWIG_fail
;
1389 Py_INCREF(Py_None
); resultobj
= Py_None
;
1396 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
*resultobj
;
1398 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1400 PyObject
* obj0
= 0 ;
1402 (char *) "self", NULL
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1412 result
= (wxDateTime
*) &_result_ref
;
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1425 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
*resultobj
;
1427 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1428 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1429 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1431 PyObject
* obj0
= 0 ;
1432 PyObject
* obj1
= 0 ;
1434 (char *) "self",(char *) "date", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1445 PyErr_SetString(PyExc_TypeError
,"null reference");
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1463 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
*resultobj
;
1465 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1466 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1467 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1469 PyObject
* obj0
= 0 ;
1470 PyObject
* obj1
= 0 ;
1472 (char *) "self",(char *) "date", NULL
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1483 PyErr_SetString(PyExc_TypeError
,"null reference");
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) SWIG_fail
;
1494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1501 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
*resultobj
;
1503 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1505 PyObject
* obj0
= 0 ;
1507 (char *) "self", NULL
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1517 result
= (wxDateTime
*) &_result_ref
;
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1530 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
*resultobj
;
1532 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1534 PyObject
* obj0
= 0 ;
1536 (char *) "self", NULL
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1546 result
= (wxDateTime
*) &_result_ref
;
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1559 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
*resultobj
;
1561 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1562 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1563 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1564 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1565 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1567 PyObject
* obj0
= 0 ;
1568 PyObject
* obj1
= 0 ;
1569 PyObject
* obj2
= 0 ;
1571 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1582 PyErr_SetString(PyExc_TypeError
,"null reference");
1587 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1591 PyErr_SetString(PyExc_TypeError
,"null reference");
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1609 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1611 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1612 bool arg2
= (bool) True
;
1613 PyObject
* obj0
= 0 ;
1614 PyObject
* obj1
= 0 ;
1616 (char *) "self",(char *) "enable", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1623 arg2
= (bool) SWIG_AsBool(obj1
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 (arg1
)->EnableYearChange(arg2
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 Py_INCREF(Py_None
); resultobj
= Py_None
;
1640 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1643 bool arg2
= (bool) True
;
1644 PyObject
* obj0
= 0 ;
1645 PyObject
* obj1
= 0 ;
1647 (char *) "self",(char *) "enable", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1654 arg2
= (bool) SWIG_AsBool(obj1
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 (arg1
)->EnableMonthChange(arg2
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1664 Py_INCREF(Py_None
); resultobj
= Py_None
;
1671 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
*resultobj
;
1673 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1674 bool arg2
= (bool) True
;
1675 PyObject
* obj0
= 0 ;
1676 PyObject
* obj1
= 0 ;
1678 (char *) "self",(char *) "display", NULL
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1685 arg2
= (bool) SWIG_AsBool(obj1
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 (arg1
)->EnableHolidayDisplay(arg2
);
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1695 Py_INCREF(Py_None
); resultobj
= Py_None
;
1702 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1705 wxColour
*arg2
= 0 ;
1706 wxColour
*arg3
= 0 ;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1711 PyObject
* obj2
= 0 ;
1713 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1721 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1725 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 Py_INCREF(Py_None
); resultobj
= Py_None
;
1741 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1745 PyObject
* obj0
= 0 ;
1747 (char *) "self", NULL
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1761 wxColour
* resultptr
;
1762 resultptr
= new wxColour((wxColour
&) result
);
1763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1771 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
*resultobj
;
1773 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1775 PyObject
* obj0
= 0 ;
1777 (char *) "self", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1791 wxColour
* resultptr
;
1792 resultptr
= new wxColour((wxColour
&) result
);
1793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1801 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1804 wxColour
*arg2
= 0 ;
1805 wxColour
*arg3
= 0 ;
1808 PyObject
* obj0
= 0 ;
1809 PyObject
* obj1
= 0 ;
1810 PyObject
* obj2
= 0 ;
1812 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1824 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 Py_INCREF(Py_None
); resultobj
= Py_None
;
1840 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1860 wxColour
* resultptr
;
1861 resultptr
= new wxColour((wxColour
&) result
);
1862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1870 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1874 PyObject
* obj0
= 0 ;
1876 (char *) "self", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) SWIG_fail
;
1890 wxColour
* resultptr
;
1891 resultptr
= new wxColour((wxColour
&) result
);
1892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1900 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
*resultobj
;
1902 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1903 wxColour
*arg2
= 0 ;
1904 wxColour
*arg3
= 0 ;
1907 PyObject
* obj0
= 0 ;
1908 PyObject
* obj1
= 0 ;
1909 PyObject
* obj2
= 0 ;
1911 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1923 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1932 Py_INCREF(Py_None
); resultobj
= Py_None
;
1939 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
*resultobj
;
1941 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1943 PyObject
* obj0
= 0 ;
1945 (char *) "self", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1959 wxColour
* resultptr
;
1960 resultptr
= new wxColour((wxColour
&) result
);
1961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1969 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
*resultobj
;
1971 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1973 PyObject
* obj0
= 0 ;
1975 (char *) "self", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) SWIG_fail
;
1989 wxColour
* resultptr
;
1990 resultptr
= new wxColour((wxColour
&) result
);
1991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1999 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2003 wxCalendarDateAttr
*result
;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2007 (char *) "self",(char *) "day", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 0);
2029 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
*resultobj
;
2031 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2033 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
2034 PyObject
* obj0
= 0 ;
2035 PyObject
* obj1
= 0 ;
2036 PyObject
* obj2
= 0 ;
2038 (char *) "self",(char *) "day",(char *) "attr", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2044 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2046 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCalendarDateAttr
,
2047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 (arg1
)->SetAttr(arg2
,arg3
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 Py_INCREF(Py_None
); resultobj
= Py_None
;
2062 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2066 PyObject
* obj0
= 0 ;
2067 PyObject
* obj1
= 0 ;
2069 (char *) "self",(char *) "day", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2075 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 (arg1
)->SetHoliday(arg2
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2084 Py_INCREF(Py_None
); resultobj
= Py_None
;
2091 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
*resultobj
;
2093 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2095 PyObject
* obj0
= 0 ;
2096 PyObject
* obj1
= 0 ;
2098 (char *) "self",(char *) "day", NULL
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2104 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2105 if (PyErr_Occurred()) SWIG_fail
;
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 (arg1
)->ResetAttr(arg2
);
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2113 Py_INCREF(Py_None
); resultobj
= Py_None
;
2120 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
*resultobj
;
2122 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2126 PyObject
* obj0
= 0 ;
2127 PyObject
* obj1
= 0 ;
2129 (char *) "self",(char *) "pos", NULL
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
2133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 result
= (PyObject
*)wxCalendarCtrl_HitTest(arg1
,(wxPoint
const &)*arg2
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2153 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2159 (char *) "self", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2173 resultobj
= wxPyMake_wxObject(result
);
2181 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2187 (char *) "self", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2201 resultobj
= wxPyMake_wxObject(result
);
2209 static PyObject
* CalendarCtrl_swigregister(PyObject
*, PyObject
*args
) {
2211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2212 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2214 return Py_BuildValue((char *)"");
2216 static PyMethodDef SwigMethods
[] = {
2217 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2218 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2219 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2220 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2221 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2222 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2223 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2224 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2225 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2226 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2227 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2228 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2229 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2230 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2231 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2232 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2233 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2234 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2235 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
, NULL
},
2236 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2237 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2238 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2239 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2240 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2241 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
, NULL
},
2242 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2243 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2244 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2245 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2246 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2247 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2248 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2249 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2250 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2251 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2252 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2253 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2254 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2255 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2256 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2257 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2258 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2259 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2260 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2261 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2262 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2263 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2264 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2265 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2266 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2267 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2268 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2269 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2270 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2271 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
, NULL
},
2272 { NULL
, NULL
, 0, NULL
}
2276 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2278 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2279 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2281 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2284 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2285 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2287 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2288 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2290 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2293 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2294 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2296 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2297 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2299 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2300 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2302 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2303 return (void *)((wxObject
*) ((wxSizer
*) x
));
2305 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2306 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2308 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2309 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2311 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2312 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2314 static void *_p_wxEventTo_p_wxObject(void *x
) {
2315 return (void *)((wxObject
*) ((wxEvent
*) x
));
2317 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2318 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2320 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2321 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2323 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2324 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2326 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2327 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2329 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2330 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2332 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2333 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2335 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2336 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2338 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2339 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2341 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2342 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2344 static void *_p_wxControlTo_p_wxObject(void *x
) {
2345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2347 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2348 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2350 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2351 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2353 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2356 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2357 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2359 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2360 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2362 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2363 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2365 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2366 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2368 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2369 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2371 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2372 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2374 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2375 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2377 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2378 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2380 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2381 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2383 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2384 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2386 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2387 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2389 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2390 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2392 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2393 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2395 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2396 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2398 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2399 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2401 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2402 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2404 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2405 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2407 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2408 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2410 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2411 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2413 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2416 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2419 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2420 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2422 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2423 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2425 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2426 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2428 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2429 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2431 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2432 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2434 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2435 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2437 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2440 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2441 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2443 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2444 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2446 static void *_p_wxImageTo_p_wxObject(void *x
) {
2447 return (void *)((wxObject
*) ((wxImage
*) x
));
2449 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2450 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2452 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2453 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2455 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2456 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2458 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2461 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2462 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2464 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2465 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2467 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2468 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2470 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2471 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2473 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2476 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2477 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2479 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2480 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2482 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2483 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2485 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2486 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2488 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2489 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2491 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2492 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2494 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2495 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2497 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2498 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2500 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2501 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2503 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2504 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2506 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2507 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2509 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2510 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2512 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2513 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2515 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2518 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2519 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2521 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2524 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2527 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2528 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2530 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2531 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2533 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2534 return (void *)((wxWindow
*) ((wxControl
*) x
));
2536 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2537 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2539 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2540 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2542 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2543 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2545 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2546 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2548 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2549 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2551 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2552 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2554 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2555 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2557 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2558 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2560 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2561 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2563 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2564 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2566 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2567 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2569 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2570 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2572 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2573 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2575 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2576 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2578 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2581 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2582 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2584 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2585 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2587 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2588 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2590 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2591 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2593 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2594 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2596 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2597 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2599 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2600 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2602 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2605 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2606 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2608 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2609 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2611 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2612 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2614 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2615 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2617 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2618 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2620 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2621 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2623 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2624 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2626 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2627 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2629 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2630 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2632 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2633 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2635 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2636 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2638 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2639 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2641 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2642 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2644 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2647 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2648 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2650 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2651 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2653 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2654 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2656 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2657 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2659 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2660 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2662 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2663 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2665 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2666 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2668 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2669 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2671 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2672 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2674 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2675 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2677 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2678 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2680 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2683 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2684 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2686 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2687 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2689 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2690 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2692 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2693 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2695 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2696 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2698 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2699 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2701 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2702 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2704 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2705 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2707 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2708 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2710 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2711 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2713 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2714 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2716 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2717 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2719 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2720 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2722 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2723 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2725 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2726 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2728 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2729 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2730 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2731 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2732 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2733 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2734 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2735 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2736 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0, 0, 0, 0},{"_p_wxCalendarDateAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2737 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2738 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0, 0, 0, 0},{"_p_wxCalendarEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2739 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2740 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0, 0, 0, 0},{"_p_wxCalendarCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2742 static swig_type_info
*swig_types_initial
[] = {
2743 _swigt__p_wxControl
,
2744 _swigt__p_wxDateTime
,
2749 _swigt__p_wxEvtHandler
,
2751 _swigt__p_wxCalendarDateAttr
,
2753 _swigt__p_wxCalendarEvent
,
2754 _swigt__p_wxCommandEvent
,
2755 _swigt__p_wxCalendarCtrl
,
2760 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2762 static swig_const_info swig_const_table
[] = {
2763 {0, 0, 0, 0.0, 0, 0}};
2772 SWIGEXPORT(void) SWIG_init(void) {
2773 static PyObject
*SWIG_globals
= 0;
2774 static int typeinit
= 0;
2777 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2778 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2779 d
= PyModule_GetDict(m
);
2782 for (i
= 0; swig_types_initial
[i
]; i
++) {
2783 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2787 SWIG_InstallConstants(d
,swig_const_table
);
2789 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_FromInt((int)wxCAL_SUNDAY_FIRST
));
2790 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_FromInt((int)wxCAL_MONDAY_FIRST
));
2791 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_FromInt((int)wxCAL_SHOW_HOLIDAYS
));
2792 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_FromInt((int)wxCAL_NO_YEAR_CHANGE
));
2793 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_FromInt((int)wxCAL_NO_MONTH_CHANGE
));
2794 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2795 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS
));
2796 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_FromInt((int)wxCAL_HITTEST_NOWHERE
));
2797 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_FromInt((int)wxCAL_HITTEST_HEADER
));
2798 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_FromInt((int)wxCAL_HITTEST_DAY
));
2799 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_FromInt((int)wxCAL_HITTEST_INCMONTH
));
2800 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_FromInt((int)wxCAL_HITTEST_DECMONTH
));
2801 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK
));
2802 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_FromInt((int)wxCAL_BORDER_NONE
));
2803 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_FromInt((int)wxCAL_BORDER_SQUARE
));
2804 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_FromInt((int)wxCAL_BORDER_ROUND
));
2805 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2806 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2807 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2808 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2809 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2810 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2811 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2812 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);