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 bool blocked
= 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(blocked
);
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
;
697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
705 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
707 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
709 PyObject
* obj0
= 0 ;
711 (char *) "self", NULL
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
719 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
721 wxPyEndAllowThreads(__tstate
);
722 if (PyErr_Occurred()) SWIG_fail
;
725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
733 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
735 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
737 PyObject
* obj0
= 0 ;
739 (char *) "self", NULL
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
747 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
749 wxPyEndAllowThreads(__tstate
);
750 if (PyErr_Occurred()) SWIG_fail
;
753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
761 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
763 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
765 PyObject
* obj0
= 0 ;
767 (char *) "self", NULL
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
775 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
777 wxPyEndAllowThreads(__tstate
);
778 if (PyErr_Occurred()) SWIG_fail
;
781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
789 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
791 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
793 PyObject
* obj0
= 0 ;
795 (char *) "self", NULL
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
803 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
805 wxPyEndAllowThreads(__tstate
);
806 if (PyErr_Occurred()) SWIG_fail
;
809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
817 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
819 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
821 PyObject
* obj0
= 0 ;
823 (char *) "self", NULL
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
831 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
833 wxPyEndAllowThreads(__tstate
);
834 if (PyErr_Occurred()) SWIG_fail
;
837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
845 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
847 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
849 PyObject
* obj0
= 0 ;
851 (char *) "self", NULL
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
859 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
861 wxPyEndAllowThreads(__tstate
);
862 if (PyErr_Occurred()) SWIG_fail
;
865 wxColour
* resultptr
;
866 resultptr
= new wxColour((wxColour
&) result
);
867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
875 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
877 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
879 PyObject
* obj0
= 0 ;
881 (char *) "self", NULL
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
889 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
891 wxPyEndAllowThreads(__tstate
);
892 if (PyErr_Occurred()) SWIG_fail
;
895 wxColour
* resultptr
;
896 resultptr
= new wxColour((wxColour
&) result
);
897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
905 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
907 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
909 PyObject
* obj0
= 0 ;
911 (char *) "self", NULL
914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
919 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
921 wxPyEndAllowThreads(__tstate
);
922 if (PyErr_Occurred()) SWIG_fail
;
925 wxColour
* resultptr
;
926 resultptr
= new wxColour((wxColour
&) result
);
927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
935 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
937 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
939 PyObject
* obj0
= 0 ;
941 (char *) "self", NULL
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) SWIG_fail
;
956 resultptr
= new wxFont((wxFont
&) result
);
957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
965 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
967 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
969 PyObject
* obj0
= 0 ;
971 (char *) "self", NULL
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
981 wxPyEndAllowThreads(__tstate
);
982 if (PyErr_Occurred()) SWIG_fail
;
984 resultobj
= SWIG_FromInt((int)result
);
991 static PyObject
* CalendarDateAttr_swigregister(PyObject
*, PyObject
*args
) {
993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
994 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
996 return Py_BuildValue((char *)"");
998 static PyObject
*_wrap_new_CalendarEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1000 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1002 wxCalendarEvent
*result
;
1003 PyObject
* obj0
= 0 ;
1004 PyObject
* obj1
= 0 ;
1006 (char *) "cal",(char *) "type", NULL
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1012 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
1013 if (PyErr_Occurred()) SWIG_fail
;
1015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1016 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
1018 wxPyEndAllowThreads(__tstate
);
1019 if (PyErr_Occurred()) SWIG_fail
;
1021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarEvent
, 1);
1028 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
*resultobj
;
1030 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1032 PyObject
* obj0
= 0 ;
1034 (char *) "self", NULL
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
1038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1042 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
1044 wxPyEndAllowThreads(__tstate
);
1045 if (PyErr_Occurred()) SWIG_fail
;
1048 wxDateTime
* resultptr
;
1049 resultptr
= new wxDateTime((wxDateTime
&) result
);
1050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
1058 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
*resultobj
;
1060 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1061 wxDateTime
*arg2
= 0 ;
1062 PyObject
* obj0
= 0 ;
1063 PyObject
* obj1
= 0 ;
1065 (char *) "self",(char *) "date", NULL
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1075 PyErr_SetString(PyExc_TypeError
,"null reference");
1079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1080 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1082 wxPyEndAllowThreads(__tstate
);
1083 if (PyErr_Occurred()) SWIG_fail
;
1085 Py_INCREF(Py_None
); resultobj
= Py_None
;
1092 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
*resultobj
;
1094 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1096 PyObject
* obj0
= 0 ;
1097 PyObject
* obj1
= 0 ;
1099 (char *) "self",(char *) "wd", NULL
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
1103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1105 arg2
= (wxDateTime::WeekDay
const) SWIG_AsInt(obj1
);
1106 if (PyErr_Occurred()) SWIG_fail
;
1108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1109 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1111 wxPyEndAllowThreads(__tstate
);
1112 if (PyErr_Occurred()) SWIG_fail
;
1114 Py_INCREF(Py_None
); resultobj
= Py_None
;
1121 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
*resultobj
;
1123 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1125 PyObject
* obj0
= 0 ;
1127 (char *) "self", NULL
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1137 wxPyEndAllowThreads(__tstate
);
1138 if (PyErr_Occurred()) SWIG_fail
;
1140 resultobj
= SWIG_FromInt((int)result
);
1147 static PyObject
* CalendarEvent_swigregister(PyObject
*, PyObject
*args
) {
1149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1150 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1152 return Py_BuildValue((char *)"");
1154 static int _wrap_CalendarNameStr_set(PyObject
*) {
1155 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1160 static PyObject
*_wrap_CalendarNameStr_get() {
1165 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1167 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1174 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
*resultobj
;
1176 wxWindow
*arg1
= (wxWindow
*) 0 ;
1178 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1179 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1180 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1181 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1182 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1183 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1184 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1185 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1186 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1187 wxCalendarCtrl
*result
;
1190 bool temp7
= False
;
1191 PyObject
* obj0
= 0 ;
1192 PyObject
* obj1
= 0 ;
1193 PyObject
* obj2
= 0 ;
1194 PyObject
* obj3
= 0 ;
1195 PyObject
* obj4
= 0 ;
1196 PyObject
* obj5
= 0 ;
1197 PyObject
* obj6
= 0 ;
1199 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1205 arg2
= (int) SWIG_AsInt(obj1
);
1206 if (PyErr_Occurred()) SWIG_fail
;
1208 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1209 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1212 PyErr_SetString(PyExc_TypeError
,"null reference");
1219 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1225 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1229 arg6
= (long) SWIG_AsLong(obj5
);
1230 if (PyErr_Occurred()) SWIG_fail
;
1234 arg7
= wxString_in_helper(obj6
);
1235 if (arg7
== NULL
) SWIG_fail
;
1240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1241 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1243 wxPyEndAllowThreads(__tstate
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1261 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
*resultobj
;
1263 wxCalendarCtrl
*result
;
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1271 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1273 wxPyEndAllowThreads(__tstate
);
1274 if (PyErr_Occurred()) SWIG_fail
;
1276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1283 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
*resultobj
;
1285 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1286 wxWindow
*arg2
= (wxWindow
*) 0 ;
1288 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1289 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1290 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1291 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1292 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1293 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1294 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1295 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1296 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1300 bool temp8
= False
;
1301 PyObject
* obj0
= 0 ;
1302 PyObject
* obj1
= 0 ;
1303 PyObject
* obj2
= 0 ;
1304 PyObject
* obj3
= 0 ;
1305 PyObject
* obj4
= 0 ;
1306 PyObject
* obj5
= 0 ;
1307 PyObject
* obj6
= 0 ;
1308 PyObject
* obj7
= 0 ;
1310 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1318 arg3
= (int) SWIG_AsInt(obj2
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1321 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
1322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1325 PyErr_SetString(PyExc_TypeError
,"null reference");
1332 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1338 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1342 arg7
= (long) SWIG_AsLong(obj6
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1347 arg8
= wxString_in_helper(obj7
);
1348 if (arg8
== NULL
) SWIG_fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1376 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
*resultobj
;
1378 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1379 wxDateTime
*arg2
= 0 ;
1380 PyObject
* obj0
= 0 ;
1381 PyObject
* obj1
= 0 ;
1383 (char *) "self",(char *) "date", NULL
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1393 PyErr_SetString(PyExc_TypeError
,"null reference");
1397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1398 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1400 wxPyEndAllowThreads(__tstate
);
1401 if (PyErr_Occurred()) SWIG_fail
;
1403 Py_INCREF(Py_None
); resultobj
= Py_None
;
1410 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
*resultobj
;
1412 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1414 PyObject
* obj0
= 0 ;
1416 (char *) "self", NULL
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1426 result
= (wxDateTime
*) &_result_ref
;
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1439 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1442 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1443 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1445 PyObject
* obj0
= 0 ;
1446 PyObject
* obj1
= 0 ;
1448 (char *) "self",(char *) "date", NULL
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1459 PyErr_SetString(PyExc_TypeError
,"null reference");
1464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1465 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1467 wxPyEndAllowThreads(__tstate
);
1468 if (PyErr_Occurred()) SWIG_fail
;
1471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1479 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1482 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1483 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1485 PyObject
* obj0
= 0 ;
1486 PyObject
* obj1
= 0 ;
1488 (char *) "self",(char *) "date", NULL
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1499 PyErr_SetString(PyExc_TypeError
,"null reference");
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1519 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
*resultobj
;
1521 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1523 PyObject
* obj0
= 0 ;
1525 (char *) "self", NULL
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1535 result
= (wxDateTime
*) &_result_ref
;
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1548 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1554 (char *) "self", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1564 result
= (wxDateTime
*) &_result_ref
;
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1577 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
*resultobj
;
1579 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1580 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1581 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1582 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1583 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1585 PyObject
* obj0
= 0 ;
1586 PyObject
* obj1
= 0 ;
1587 PyObject
* obj2
= 0 ;
1589 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1600 PyErr_SetString(PyExc_TypeError
,"null reference");
1605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1609 PyErr_SetString(PyExc_TypeError
,"null reference");
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1617 wxPyEndAllowThreads(__tstate
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1629 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
*resultobj
;
1631 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1632 bool arg2
= (bool) True
;
1633 PyObject
* obj0
= 0 ;
1634 PyObject
* obj1
= 0 ;
1636 (char *) "self",(char *) "enable", NULL
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1643 arg2
= (bool) SWIG_AsBool(obj1
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 (arg1
)->EnableYearChange(arg2
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 Py_INCREF(Py_None
); resultobj
= Py_None
;
1660 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
*resultobj
;
1662 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1663 bool arg2
= (bool) True
;
1664 PyObject
* obj0
= 0 ;
1665 PyObject
* obj1
= 0 ;
1667 (char *) "self",(char *) "enable", NULL
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1674 arg2
= (bool) SWIG_AsBool(obj1
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 (arg1
)->EnableMonthChange(arg2
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 Py_INCREF(Py_None
); resultobj
= Py_None
;
1691 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1694 bool arg2
= (bool) True
;
1695 PyObject
* obj0
= 0 ;
1696 PyObject
* obj1
= 0 ;
1698 (char *) "self",(char *) "display", NULL
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1705 arg2
= (bool) SWIG_AsBool(obj1
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 (arg1
)->EnableHolidayDisplay(arg2
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 Py_INCREF(Py_None
); resultobj
= Py_None
;
1722 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1725 wxColour
*arg2
= 0 ;
1726 wxColour
*arg3
= 0 ;
1729 PyObject
* obj0
= 0 ;
1730 PyObject
* obj1
= 0 ;
1731 PyObject
* obj2
= 0 ;
1733 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1745 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 Py_INCREF(Py_None
); resultobj
= Py_None
;
1761 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1765 PyObject
* obj0
= 0 ;
1767 (char *) "self", NULL
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) SWIG_fail
;
1781 wxColour
* resultptr
;
1782 resultptr
= new wxColour((wxColour
&) result
);
1783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1791 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
*resultobj
;
1793 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1795 PyObject
* obj0
= 0 ;
1797 (char *) "self", NULL
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1811 wxColour
* resultptr
;
1812 resultptr
= new wxColour((wxColour
&) result
);
1813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1821 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
*resultobj
;
1823 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1824 wxColour
*arg2
= 0 ;
1825 wxColour
*arg3
= 0 ;
1828 PyObject
* obj0
= 0 ;
1829 PyObject
* obj1
= 0 ;
1830 PyObject
* obj2
= 0 ;
1832 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1840 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1844 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1864 PyObject
* obj0
= 0 ;
1866 (char *) "self", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1880 wxColour
* resultptr
;
1881 resultptr
= new wxColour((wxColour
&) result
);
1882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1890 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1894 PyObject
* obj0
= 0 ;
1896 (char *) "self", NULL
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1904 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1906 wxPyEndAllowThreads(__tstate
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1910 wxColour
* resultptr
;
1911 resultptr
= new wxColour((wxColour
&) result
);
1912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1920 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1923 wxColour
*arg2
= 0 ;
1924 wxColour
*arg3
= 0 ;
1927 PyObject
* obj0
= 0 ;
1928 PyObject
* obj1
= 0 ;
1929 PyObject
* obj2
= 0 ;
1931 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1939 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1943 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 Py_INCREF(Py_None
); resultobj
= Py_None
;
1959 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1965 (char *) "self", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1979 wxColour
* resultptr
;
1980 resultptr
= new wxColour((wxColour
&) result
);
1981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1989 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1993 PyObject
* obj0
= 0 ;
1995 (char *) "self", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2009 wxColour
* resultptr
;
2010 resultptr
= new wxColour((wxColour
&) result
);
2011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2019 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
*resultobj
;
2021 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2023 wxCalendarDateAttr
*result
;
2024 PyObject
* obj0
= 0 ;
2025 PyObject
* obj1
= 0 ;
2027 (char *) "self",(char *) "day", NULL
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2033 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 0);
2049 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2053 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
2054 PyObject
* obj0
= 0 ;
2055 PyObject
* obj1
= 0 ;
2056 PyObject
* obj2
= 0 ;
2058 (char *) "self",(char *) "day",(char *) "attr", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2064 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2065 if (PyErr_Occurred()) SWIG_fail
;
2066 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCalendarDateAttr
,
2067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 (arg1
)->SetAttr(arg2
,arg3
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2075 Py_INCREF(Py_None
); resultobj
= Py_None
;
2082 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
*resultobj
;
2084 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2086 PyObject
* obj0
= 0 ;
2087 PyObject
* obj1
= 0 ;
2089 (char *) "self",(char *) "day", NULL
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
2093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2095 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2096 if (PyErr_Occurred()) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 (arg1
)->SetHoliday(arg2
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 Py_INCREF(Py_None
); resultobj
= Py_None
;
2111 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2115 PyObject
* obj0
= 0 ;
2116 PyObject
* obj1
= 0 ;
2118 (char *) "self",(char *) "day", NULL
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2124 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 (arg1
)->ResetAttr(arg2
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 Py_INCREF(Py_None
); resultobj
= Py_None
;
2140 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2142 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2149 (char *) "self",(char *) "pos", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 result
= (PyObject
*)wxCalendarCtrl_HitTest(arg1
,(wxPoint
const &)*arg2
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2173 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2175 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2177 PyObject
* obj0
= 0 ;
2179 (char *) "self", NULL
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2193 resultobj
= wxPyMake_wxObject(result
);
2201 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2203 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2207 (char *) "self", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2221 resultobj
= wxPyMake_wxObject(result
);
2229 static PyObject
* CalendarCtrl_swigregister(PyObject
*, PyObject
*args
) {
2231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2232 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2234 return Py_BuildValue((char *)"");
2236 static PyMethodDef SwigMethods
[] = {
2237 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2238 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2239 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2240 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2241 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2242 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2243 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2244 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2245 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2246 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2247 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2248 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2249 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2250 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2251 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2252 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2253 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2254 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2255 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
, NULL
},
2256 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2257 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2258 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2259 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2260 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2261 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
, NULL
},
2262 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2263 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2264 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2265 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2266 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2267 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2268 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2269 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2270 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2271 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2272 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2273 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2274 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2275 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2276 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2277 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2278 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2279 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2280 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2281 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2282 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2283 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2284 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2285 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2286 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2287 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2288 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2289 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2290 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2291 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
, NULL
},
2292 { NULL
, NULL
, 0, NULL
}
2296 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2298 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2299 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2301 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2304 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2305 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2307 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2308 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2310 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2313 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2314 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2316 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2317 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2319 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2320 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2322 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2323 return (void *)((wxObject
*) ((wxSizer
*) x
));
2325 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2326 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2328 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2329 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2331 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2334 static void *_p_wxEventTo_p_wxObject(void *x
) {
2335 return (void *)((wxObject
*) ((wxEvent
*) x
));
2337 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2338 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2340 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2341 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2343 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2344 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2346 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2347 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2349 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2350 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2352 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2353 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2355 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2356 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2358 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2359 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2361 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2362 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2364 static void *_p_wxControlTo_p_wxObject(void *x
) {
2365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2367 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2368 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2370 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2371 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2373 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2376 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2377 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2379 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2380 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2382 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2383 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2385 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2386 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2388 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2391 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2392 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2394 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2395 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2397 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2398 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2400 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2401 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2403 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2406 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2407 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2409 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2410 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2412 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2413 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2415 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2416 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2418 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2419 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2421 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2422 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2424 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2425 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2427 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2428 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2430 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2431 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2433 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2434 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2436 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2439 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2442 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2443 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2445 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2446 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2448 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2449 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2451 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2454 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2455 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2457 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2460 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2461 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2463 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2464 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2466 static void *_p_wxImageTo_p_wxObject(void *x
) {
2467 return (void *)((wxObject
*) ((wxImage
*) x
));
2469 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2470 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2472 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2473 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2475 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2476 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2478 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2479 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2481 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2482 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2484 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2485 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2487 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2488 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2490 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2491 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2493 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2496 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2497 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2499 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2500 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2502 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2505 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2506 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2508 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2509 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2511 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2512 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2514 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2515 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2517 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2518 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2520 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2521 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2523 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2526 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2527 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2529 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2530 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2532 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2533 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2535 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2538 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2539 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2541 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2544 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2547 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2548 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2550 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2551 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2553 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2554 return (void *)((wxWindow
*) ((wxControl
*) x
));
2556 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2557 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2559 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2560 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2562 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2563 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2565 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2566 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2568 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2569 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2571 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2572 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2574 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2575 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2577 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2578 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2580 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2581 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2583 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2584 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2586 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2587 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2589 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2590 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2592 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2593 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2595 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2596 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2598 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2601 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2602 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2604 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2605 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2607 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2608 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2610 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2611 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2613 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2614 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2616 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2617 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2619 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2620 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2622 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2625 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2626 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2628 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2629 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2631 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2632 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2634 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2635 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2637 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2638 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2640 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2641 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2643 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2644 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2646 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2647 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2649 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2650 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2652 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2653 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2655 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2656 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2658 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2659 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2661 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2662 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2664 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2665 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2667 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2668 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2670 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2671 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2673 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2676 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2677 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2679 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2680 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2682 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2683 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2685 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2686 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2688 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2689 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2691 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2692 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2694 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2695 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2697 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2698 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2700 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2703 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2704 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2706 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2707 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2709 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2710 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2712 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2713 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2715 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2716 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2718 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2719 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2721 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2724 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2725 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2727 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2728 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2730 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2731 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2733 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2734 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2736 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2739 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2740 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2742 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2743 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2745 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2746 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2748 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}};
2749 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}};
2750 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}};
2751 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}};
2752 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}};
2753 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}};
2754 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}};
2755 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}};
2756 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}};
2757 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}};
2758 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}};
2759 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}};
2760 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}};
2762 static swig_type_info
*swig_types_initial
[] = {
2763 _swigt__p_wxControl
,
2764 _swigt__p_wxDateTime
,
2769 _swigt__p_wxEvtHandler
,
2771 _swigt__p_wxCalendarDateAttr
,
2773 _swigt__p_wxCalendarEvent
,
2774 _swigt__p_wxCommandEvent
,
2775 _swigt__p_wxCalendarCtrl
,
2780 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2782 static swig_const_info swig_const_table
[] = {
2783 {0, 0, 0, 0.0, 0, 0}};
2792 SWIGEXPORT(void) SWIG_init(void) {
2793 static PyObject
*SWIG_globals
= 0;
2794 static int typeinit
= 0;
2797 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2798 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2799 d
= PyModule_GetDict(m
);
2802 for (i
= 0; swig_types_initial
[i
]; i
++) {
2803 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2807 SWIG_InstallConstants(d
,swig_const_table
);
2809 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_FromInt((int)wxCAL_SUNDAY_FIRST
));
2810 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_FromInt((int)wxCAL_MONDAY_FIRST
));
2811 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_FromInt((int)wxCAL_SHOW_HOLIDAYS
));
2812 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_FromInt((int)wxCAL_NO_YEAR_CHANGE
));
2813 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_FromInt((int)wxCAL_NO_MONTH_CHANGE
));
2814 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2815 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS
));
2816 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_FromInt((int)wxCAL_HITTEST_NOWHERE
));
2817 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_FromInt((int)wxCAL_HITTEST_HEADER
));
2818 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_FromInt((int)wxCAL_HITTEST_DAY
));
2819 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_FromInt((int)wxCAL_HITTEST_INCMONTH
));
2820 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_FromInt((int)wxCAL_HITTEST_DECMONTH
));
2821 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK
));
2822 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_FromInt((int)wxCAL_BORDER_NONE
));
2823 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_FromInt((int)wxCAL_BORDER_SQUARE
));
2824 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_FromInt((int)wxCAL_BORDER_ROUND
));
2825 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2826 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2827 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2828 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2829 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2830 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2831 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2832 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);