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_wxColour swig_types[0]
210 #define SWIGTYPE_p_wxObject swig_types[1]
211 #define SWIGTYPE_p_wxVisualAttributes swig_types[2]
212 #define SWIGTYPE_p_wxCalendarEvent swig_types[3]
213 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[4]
214 #define SWIGTYPE_p_wxWindow swig_types[5]
215 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxEvtHandler swig_types[8]
218 #define SWIGTYPE_p_wxFont swig_types[9]
219 #define SWIGTYPE_p_wxDateTime swig_types[10]
220 #define SWIGTYPE_p_wxControl swig_types[11]
221 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 static swig_type_info
*swig_types
[15];
225 /* -------- TYPES TABLE (END) -------- */
228 /*-----------------------------------------------
229 @(target):= _calendar.so
230 ------------------------------------------------*/
231 #define SWIG_init init_calendar
233 #define SWIG_name "_calendar"
235 /* Auxiliar swig macros */
238 #define SWIGSTATICINLINE(a) static inline a
239 #define SWIGSTATIC(a) static a
240 #define swig_new_array(type, size) (new type[(size)])
241 #define swig_delete_array(cptr) delete[] cptr
242 #define swig_const_cast(type,a) const_cast<type>(a)
243 #define swig_static_cast(type,a) static_cast<type>(a)
244 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
246 #ifdef HAVE_NUMERIC_CAST
247 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
249 #define swig_numeric_cast(type,a) static_cast<type>(a)
254 #define SWIGSTATICINLINE(a) static a
255 #define SWIGSTATIC(a) static a
256 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
257 #define swig_delete_array(cptr) free((char*)cptr)
258 #define swig_const_cast(type,a) (type)(a)
259 #define swig_static_cast(type,a) (type)(a)
260 #define swig_reinterpret_cast(type,a) (type)(a)
261 #define swig_numeric_cast(type,a) (type)(a)
263 #endif /* __cplusplus */
266 #define SWIG_FromSignedChar PyInt_FromLong
267 #define SWIG_FromUnsignedChar PyInt_FromLong
268 #define SWIG_FromShort PyInt_FromLong
269 #define SWIG_FromUnsignedShort PyInt_FromLong
270 #define SWIG_FromInt PyInt_FromLong
271 #define SWIG_FromLong PyInt_FromLong
272 #define SWIG_FromFloat PyFloat_FromDouble
273 #define SWIG_FromDouble PyFloat_FromDouble
274 #define SWIG_FromFloat PyFloat_FromDouble
275 #define SWIG_FromDouble PyFloat_FromDouble
278 #include "wx/wxPython/wxPython.h"
279 #include "wx/wxPython/pyclasses.h"
281 #include <wx/calctrl.h>
287 SWIGSTATICINLINE(long)
288 SWIG_CheckLongInRange(long value
, const char* type
,
289 long min_value
, long max_value
)
291 if (!PyErr_Occurred()) {
292 if (value
< min_value
) {
294 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
295 value
, type
, min_value
);
297 PyErr_SetObject(PyExc_OverflowError
, err
);
299 } else if (value
> max_value
) {
301 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
302 value
, type
, max_value
);
303 PyErr_SetObject(PyExc_OverflowError
, err
);
311 SWIGSTATICINLINE(long)
312 SWIG_AsLong(PyObject
* obj
)
314 if (PyNumber_Check(obj
))
315 return PyInt_AsLong(obj
);
317 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
318 obj
->ob_type
->tp_name
);
319 PyErr_SetObject(PyExc_TypeError
, errmsg
);
326 #if INT_MAX != LONG_MAX
327 SWIGSTATICINLINE(int)
328 SWIG_AsInt(PyObject
*obj
)
330 return swig_numeric_cast(int,
331 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
332 "int", INT_MIN
, INT_MAX
));
335 #define SWIG_AsInt SWIG_AsLong
339 SWIGSTATICINLINE(int)
340 SWIG_CheckInt(PyObject
* obj
)
343 if (PyErr_Occurred()) {
352 SWIGSTATICINLINE(bool)
353 SWIG_AsBool(PyObject
*obj
)
355 return PyObject_IsTrue(obj
) ? true : false;
359 SWIGSTATICINLINE(int)
360 SWIG_CheckBool(PyObject
* obj
)
363 if (PyErr_Occurred()) {
371 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
373 SWIGSTATICINLINE(int)
374 SWIG_CheckLong(PyObject
* obj
)
377 if (PyErr_Occurred()) {
386 SWIGSTATICINLINE(unsigned long)
387 SWIG_AsUnsignedLong(PyObject
* obj
)
389 if (PyLong_Check(obj
)) {
390 return PyLong_AsUnsignedLong(obj
);
392 long i
= SWIG_AsLong(obj
);
393 if ( !PyErr_Occurred() && (i
< 0)) {
394 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
401 SWIGSTATICINLINE(int)
402 SWIG_CheckUnsignedLong(PyObject
* obj
)
404 SWIG_AsUnsignedLong(obj
);
405 if (PyErr_Occurred()) {
413 PyObject
*wxCalendarCtrl_HitTest(wxCalendarCtrl
*self
,wxPoint
const &pos
){
414 wxDateTime
* date
= new wxDateTime
;
415 wxDateTime::WeekDay wd
;
416 wxCalendarHitTestResult result
= self
->HitTest(pos
, date
, &wd
);
417 bool blocked
= wxPyBeginBlockThreads();
418 PyObject
* tup
= PyTuple_New(3);
419 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(result
));
420 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(date
, wxT("wxDateTime"), 1));
421 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(wd
));
422 wxPyEndBlockThreads(blocked
);
428 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 wxColour
const &arg1_defvalue
= wxNullColour
;
431 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
432 wxColour
const &arg2_defvalue
= wxNullColour
;
433 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
434 wxColour
const &arg3_defvalue
= wxNullColour
;
435 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
436 wxFont
const &arg4_defvalue
= wxNullFont
;
437 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
438 int arg5
= (int) wxCAL_BORDER_NONE
;
439 wxCalendarDateAttr
*result
;
443 PyObject
* obj0
= 0 ;
444 PyObject
* obj1
= 0 ;
445 PyObject
* obj2
= 0 ;
446 PyObject
* obj3
= 0 ;
447 PyObject
* obj4
= 0 ;
449 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
456 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
462 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
468 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
472 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
476 PyErr_SetString(PyExc_TypeError
,"null reference");
481 arg5
= (wxCalendarDateBorder
) SWIG_AsInt(obj4
);
482 if (PyErr_Occurred()) SWIG_fail
;
485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
486 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
488 wxPyEndAllowThreads(__tstate
);
489 if (PyErr_Occurred()) SWIG_fail
;
491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 1);
498 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
503 PyObject
* obj0
= 0 ;
504 PyObject
* obj1
= 0 ;
506 (char *) "self",(char *) "colText", NULL
509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
514 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
518 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
520 wxPyEndAllowThreads(__tstate
);
521 if (PyErr_Occurred()) SWIG_fail
;
523 Py_INCREF(Py_None
); resultobj
= Py_None
;
530 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
532 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
535 PyObject
* obj0
= 0 ;
536 PyObject
* obj1
= 0 ;
538 (char *) "self",(char *) "colBack", NULL
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
550 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
552 wxPyEndAllowThreads(__tstate
);
553 if (PyErr_Occurred()) SWIG_fail
;
555 Py_INCREF(Py_None
); resultobj
= Py_None
;
562 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
567 PyObject
* obj0
= 0 ;
568 PyObject
* obj1
= 0 ;
570 (char *) "self",(char *) "col", NULL
573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
582 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
584 wxPyEndAllowThreads(__tstate
);
585 if (PyErr_Occurred()) SWIG_fail
;
587 Py_INCREF(Py_None
); resultobj
= Py_None
;
594 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
598 PyObject
* obj0
= 0 ;
599 PyObject
* obj1
= 0 ;
601 (char *) "self",(char *) "font", NULL
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
611 PyErr_SetString(PyExc_TypeError
,"null reference");
615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
616 (arg1
)->SetFont((wxFont
const &)*arg2
);
618 wxPyEndAllowThreads(__tstate
);
619 if (PyErr_Occurred()) SWIG_fail
;
621 Py_INCREF(Py_None
); resultobj
= Py_None
;
628 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
632 PyObject
* obj0
= 0 ;
633 PyObject
* obj1
= 0 ;
635 (char *) "self",(char *) "border", NULL
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
641 arg2
= (wxCalendarDateBorder
) SWIG_AsInt(obj1
);
642 if (PyErr_Occurred()) SWIG_fail
;
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) SWIG_fail
;
650 Py_INCREF(Py_None
); resultobj
= Py_None
;
657 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
661 PyObject
* obj0
= 0 ;
662 PyObject
* obj1
= 0 ;
664 (char *) "self",(char *) "holiday", NULL
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
670 arg2
= (bool) SWIG_AsBool(obj1
);
671 if (PyErr_Occurred()) SWIG_fail
;
673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
674 (arg1
)->SetHoliday(arg2
);
676 wxPyEndAllowThreads(__tstate
);
677 if (PyErr_Occurred()) SWIG_fail
;
679 Py_INCREF(Py_None
); resultobj
= Py_None
;
686 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
690 PyObject
* obj0
= 0 ;
692 (char *) "self", NULL
695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
700 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
702 wxPyEndAllowThreads(__tstate
);
703 if (PyErr_Occurred()) SWIG_fail
;
706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
714 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
718 PyObject
* obj0
= 0 ;
720 (char *) "self", NULL
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) SWIG_fail
;
734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
742 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
746 PyObject
* obj0
= 0 ;
748 (char *) "self", NULL
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) SWIG_fail
;
762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
770 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
774 PyObject
* obj0
= 0 ;
776 (char *) "self", NULL
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
784 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
786 wxPyEndAllowThreads(__tstate
);
787 if (PyErr_Occurred()) SWIG_fail
;
790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
798 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
802 PyObject
* obj0
= 0 ;
804 (char *) "self", NULL
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) SWIG_fail
;
818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
826 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
828 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
830 PyObject
* obj0
= 0 ;
832 (char *) "self", NULL
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
840 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
842 wxPyEndAllowThreads(__tstate
);
843 if (PyErr_Occurred()) SWIG_fail
;
846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
854 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
858 PyObject
* obj0
= 0 ;
860 (char *) "self", NULL
863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
868 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
870 wxPyEndAllowThreads(__tstate
);
871 if (PyErr_Occurred()) SWIG_fail
;
874 wxColour
* resultptr
;
875 resultptr
= new wxColour((wxColour
&) result
);
876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
884 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
886 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
888 PyObject
* obj0
= 0 ;
890 (char *) "self", NULL
893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
898 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
900 wxPyEndAllowThreads(__tstate
);
901 if (PyErr_Occurred()) SWIG_fail
;
904 wxColour
* resultptr
;
905 resultptr
= new wxColour((wxColour
&) result
);
906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
914 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
918 PyObject
* obj0
= 0 ;
920 (char *) "self", NULL
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) SWIG_fail
;
934 wxColour
* resultptr
;
935 resultptr
= new wxColour((wxColour
&) result
);
936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
944 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
948 PyObject
* obj0
= 0 ;
950 (char *) "self", NULL
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
958 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
960 wxPyEndAllowThreads(__tstate
);
961 if (PyErr_Occurred()) SWIG_fail
;
965 resultptr
= new wxFont((wxFont
&) result
);
966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
974 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
978 PyObject
* obj0
= 0 ;
980 (char *) "self", NULL
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
988 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
990 wxPyEndAllowThreads(__tstate
);
991 if (PyErr_Occurred()) SWIG_fail
;
993 resultobj
= SWIG_FromInt((int)result
);
1000 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
1002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1003 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
1005 return Py_BuildValue((char *)"");
1007 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
*resultobj
;
1009 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1011 wxCalendarEvent
*result
;
1012 PyObject
* obj0
= 0 ;
1013 PyObject
* obj1
= 0 ;
1015 (char *) "cal",(char *) "type", NULL
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1021 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
1022 if (PyErr_Occurred()) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarEvent
, 1);
1037 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
*resultobj
;
1039 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1041 PyObject
* obj0
= 0 ;
1043 (char *) "self", NULL
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
1047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) SWIG_fail
;
1057 wxDateTime
* resultptr
;
1058 resultptr
= new wxDateTime((wxDateTime
&) result
);
1059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
1067 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
*resultobj
;
1069 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1070 wxDateTime
*arg2
= 0 ;
1071 PyObject
* obj0
= 0 ;
1072 PyObject
* obj1
= 0 ;
1074 (char *) "self",(char *) "date", NULL
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1084 PyErr_SetString(PyExc_TypeError
,"null reference");
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1094 Py_INCREF(Py_None
); resultobj
= Py_None
;
1101 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
*resultobj
;
1103 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1105 PyObject
* obj0
= 0 ;
1106 PyObject
* obj1
= 0 ;
1108 (char *) "self",(char *) "wd", NULL
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
1112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1114 arg2
= (wxDateTime::WeekDay
const) SWIG_AsInt(obj1
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1118 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1120 wxPyEndAllowThreads(__tstate
);
1121 if (PyErr_Occurred()) SWIG_fail
;
1123 Py_INCREF(Py_None
); resultobj
= Py_None
;
1130 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
*resultobj
;
1132 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1134 PyObject
* obj0
= 0 ;
1136 (char *) "self", NULL
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) SWIG_fail
;
1149 resultobj
= SWIG_FromInt((int)result
);
1156 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
1158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1159 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1161 return Py_BuildValue((char *)"");
1163 static int _wrap_CalendarNameStr_set(PyObject
*_val
) {
1164 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1169 static PyObject
*_wrap_CalendarNameStr_get() {
1174 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1176 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1183 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
*resultobj
;
1185 wxWindow
*arg1
= (wxWindow
*) 0 ;
1186 int arg2
= (int) -1 ;
1187 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1188 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1189 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1190 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1191 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1192 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1193 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1194 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1195 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1196 wxCalendarCtrl
*result
;
1199 bool temp7
= False
;
1200 PyObject
* obj0
= 0 ;
1201 PyObject
* obj1
= 0 ;
1202 PyObject
* obj2
= 0 ;
1203 PyObject
* obj3
= 0 ;
1204 PyObject
* obj4
= 0 ;
1205 PyObject
* obj5
= 0 ;
1206 PyObject
* obj6
= 0 ;
1208 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1215 arg2
= (int) SWIG_AsInt(obj1
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1219 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1223 PyErr_SetString(PyExc_TypeError
,"null reference");
1230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1240 arg6
= (long) SWIG_AsLong(obj5
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1245 arg7
= wxString_in_helper(obj6
);
1246 if (arg7
== NULL
) SWIG_fail
;
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) SWIG_fail
;
1257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1272 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
*resultobj
;
1274 wxCalendarCtrl
*result
;
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) SWIG_fail
;
1287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1294 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
*resultobj
;
1296 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1297 wxWindow
*arg2
= (wxWindow
*) 0 ;
1299 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1300 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1301 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1302 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1303 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1304 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1305 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1306 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1307 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1311 bool temp8
= False
;
1312 PyObject
* obj0
= 0 ;
1313 PyObject
* obj1
= 0 ;
1314 PyObject
* obj2
= 0 ;
1315 PyObject
* obj3
= 0 ;
1316 PyObject
* obj4
= 0 ;
1317 PyObject
* obj5
= 0 ;
1318 PyObject
* obj6
= 0 ;
1319 PyObject
* obj7
= 0 ;
1321 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1329 arg3
= (int) SWIG_AsInt(obj2
);
1330 if (PyErr_Occurred()) SWIG_fail
;
1332 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
1333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1336 PyErr_SetString(PyExc_TypeError
,"null reference");
1343 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1349 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1353 arg7
= (long) SWIG_AsLong(obj6
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1358 arg8
= wxString_in_helper(obj7
);
1359 if (arg8
== NULL
) SWIG_fail
;
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1387 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
*resultobj
;
1389 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1390 wxDateTime
*arg2
= 0 ;
1391 PyObject
* obj0
= 0 ;
1392 PyObject
* obj1
= 0 ;
1394 (char *) "self",(char *) "date", NULL
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1404 PyErr_SetString(PyExc_TypeError
,"null reference");
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) SWIG_fail
;
1414 Py_INCREF(Py_None
); resultobj
= Py_None
;
1421 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
*resultobj
;
1423 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1425 PyObject
* obj0
= 0 ;
1427 (char *) "self", NULL
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1437 result
= (wxDateTime
*) &_result_ref
;
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1450 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
*resultobj
;
1452 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1453 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1454 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1456 PyObject
* obj0
= 0 ;
1457 PyObject
* obj1
= 0 ;
1459 (char *) "self",(char *) "date", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1470 PyErr_SetString(PyExc_TypeError
,"null reference");
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) SWIG_fail
;
1482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1490 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
*resultobj
;
1492 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1493 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1494 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1496 PyObject
* obj0
= 0 ;
1497 PyObject
* obj1
= 0 ;
1499 (char *) "self",(char *) "date", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1510 PyErr_SetString(PyExc_TypeError
,"null reference");
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1530 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
*resultobj
;
1532 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1534 PyObject
* obj0
= 0 ;
1536 (char *) "self", NULL
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1546 result
= (wxDateTime
*) &_result_ref
;
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1559 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
*resultobj
;
1561 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1563 PyObject
* obj0
= 0 ;
1565 (char *) "self", NULL
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1575 result
= (wxDateTime
*) &_result_ref
;
1578 wxPyEndAllowThreads(__tstate
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1588 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
*resultobj
;
1590 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1591 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1592 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1593 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1594 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1596 PyObject
* obj0
= 0 ;
1597 PyObject
* obj1
= 0 ;
1598 PyObject
* obj2
= 0 ;
1600 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1611 PyErr_SetString(PyExc_TypeError
,"null reference");
1616 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1620 PyErr_SetString(PyExc_TypeError
,"null reference");
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1640 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1643 bool arg2
= (bool) True
;
1644 PyObject
* obj0
= 0 ;
1645 PyObject
* obj1
= 0 ;
1647 (char *) "self",(char *) "enable", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1654 arg2
= (bool) SWIG_AsBool(obj1
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 (arg1
)->EnableYearChange(arg2
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1664 Py_INCREF(Py_None
); resultobj
= Py_None
;
1671 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
*resultobj
;
1673 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1674 bool arg2
= (bool) True
;
1675 PyObject
* obj0
= 0 ;
1676 PyObject
* obj1
= 0 ;
1678 (char *) "self",(char *) "enable", NULL
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1685 arg2
= (bool) SWIG_AsBool(obj1
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 (arg1
)->EnableMonthChange(arg2
);
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1695 Py_INCREF(Py_None
); resultobj
= Py_None
;
1702 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1705 bool arg2
= (bool) True
;
1706 PyObject
* obj0
= 0 ;
1707 PyObject
* obj1
= 0 ;
1709 (char *) "self",(char *) "display", NULL
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1716 arg2
= (bool) SWIG_AsBool(obj1
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 (arg1
)->EnableHolidayDisplay(arg2
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 Py_INCREF(Py_None
); resultobj
= Py_None
;
1733 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
*resultobj
;
1735 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1736 wxColour
*arg2
= 0 ;
1737 wxColour
*arg3
= 0 ;
1740 PyObject
* obj0
= 0 ;
1741 PyObject
* obj1
= 0 ;
1742 PyObject
* obj2
= 0 ;
1744 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1752 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1756 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1765 Py_INCREF(Py_None
); resultobj
= Py_None
;
1772 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
*resultobj
;
1774 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1776 PyObject
* obj0
= 0 ;
1778 (char *) "self", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1792 wxColour
* resultptr
;
1793 resultptr
= new wxColour((wxColour
&) result
);
1794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1802 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
*resultobj
;
1804 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1806 PyObject
* obj0
= 0 ;
1808 (char *) "self", NULL
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1822 wxColour
* resultptr
;
1823 resultptr
= new wxColour((wxColour
&) result
);
1824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1832 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
*resultobj
;
1834 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1835 wxColour
*arg2
= 0 ;
1836 wxColour
*arg3
= 0 ;
1839 PyObject
* obj0
= 0 ;
1840 PyObject
* obj1
= 0 ;
1841 PyObject
* obj2
= 0 ;
1843 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1851 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1855 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 Py_INCREF(Py_None
); resultobj
= Py_None
;
1871 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1875 PyObject
* obj0
= 0 ;
1877 (char *) "self", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1891 wxColour
* resultptr
;
1892 resultptr
= new wxColour((wxColour
&) result
);
1893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1901 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1905 PyObject
* obj0
= 0 ;
1907 (char *) "self", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1921 wxColour
* resultptr
;
1922 resultptr
= new wxColour((wxColour
&) result
);
1923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1931 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1934 wxColour
*arg2
= 0 ;
1935 wxColour
*arg3
= 0 ;
1938 PyObject
* obj0
= 0 ;
1939 PyObject
* obj1
= 0 ;
1940 PyObject
* obj2
= 0 ;
1942 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1950 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1954 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) SWIG_fail
;
1963 Py_INCREF(Py_None
); resultobj
= Py_None
;
1970 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
*resultobj
;
1972 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1974 PyObject
* obj0
= 0 ;
1976 (char *) "self", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1990 wxColour
* resultptr
;
1991 resultptr
= new wxColour((wxColour
&) result
);
1992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2000 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2006 (char *) "self", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
2010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2020 wxColour
* resultptr
;
2021 resultptr
= new wxColour((wxColour
&) result
);
2022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2030 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2032 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2034 wxCalendarDateAttr
*result
;
2035 PyObject
* obj0
= 0 ;
2036 PyObject
* obj1
= 0 ;
2038 (char *) "self",(char *) "day", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2044 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 0);
2060 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2064 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
2065 PyObject
* obj0
= 0 ;
2066 PyObject
* obj1
= 0 ;
2067 PyObject
* obj2
= 0 ;
2069 (char *) "self",(char *) "day",(char *) "attr", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2075 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2077 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCalendarDateAttr
,
2078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 (arg1
)->SetAttr(arg2
,arg3
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 Py_INCREF(Py_None
); resultobj
= Py_None
;
2093 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
*resultobj
;
2095 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2097 PyObject
* obj0
= 0 ;
2098 PyObject
* obj1
= 0 ;
2100 (char *) "self",(char *) "day", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
2104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2106 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 (arg1
)->SetHoliday(arg2
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2122 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2124 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2126 PyObject
* obj0
= 0 ;
2127 PyObject
* obj1
= 0 ;
2129 (char *) "self",(char *) "day", NULL
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2135 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 (arg1
)->ResetAttr(arg2
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 Py_INCREF(Py_None
); resultobj
= Py_None
;
2151 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2158 PyObject
* obj1
= 0 ;
2160 (char *) "self",(char *) "pos", NULL
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
2164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2168 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 result
= (PyObject
*)wxCalendarCtrl_HitTest(arg1
,(wxPoint
const &)*arg2
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2184 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2190 (char *) "self", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2204 resultobj
= wxPyMake_wxObject(result
);
2212 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2218 (char *) "self", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2232 resultobj
= wxPyMake_wxObject(result
);
2240 static PyObject
*_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
*resultobj
;
2242 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2243 wxVisualAttributes result
;
2244 PyObject
* obj0
= 0 ;
2246 (char *) "variant", NULL
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CalendarCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2251 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 result
= wxCalendarCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2262 wxVisualAttributes
* resultptr
;
2263 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2272 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2275 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2277 return Py_BuildValue((char *)"");
2279 static PyMethodDef SwigMethods
[] = {
2280 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2281 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2282 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2283 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2284 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2285 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2286 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2287 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2288 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2289 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2290 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2291 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2292 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2293 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2294 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2295 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2296 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2297 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2298 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
2299 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2300 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2301 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2302 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2303 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2304 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
2305 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2306 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2307 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2308 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2309 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2310 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2311 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2312 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2313 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2314 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2315 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2316 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2317 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2318 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2319 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2320 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2321 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2322 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2323 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2324 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2325 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2326 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2327 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2328 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2329 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2330 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2331 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2332 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
},
2333 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
},
2334 { (char *)"CalendarCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_CalendarCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
2335 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
2340 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2342 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2343 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2345 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2348 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2349 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2351 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2352 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2354 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2357 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2358 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2360 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2361 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2363 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2364 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2366 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2367 return (void *)((wxObject
*) ((wxSizer
*) x
));
2369 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2370 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2372 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2373 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2375 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2378 static void *_p_wxEventTo_p_wxObject(void *x
) {
2379 return (void *)((wxObject
*) ((wxEvent
*) x
));
2381 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2382 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2384 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2385 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2387 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2388 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2390 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2391 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2393 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2394 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2396 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2397 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2399 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2400 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2402 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2403 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2405 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2406 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2408 static void *_p_wxControlTo_p_wxObject(void *x
) {
2409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2411 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2412 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2414 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2415 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2417 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2420 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2421 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2423 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2424 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2426 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2427 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2429 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2430 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2432 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2435 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2436 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2438 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2439 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2441 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2442 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2444 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2445 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2447 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2450 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2451 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2453 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2454 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2456 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2457 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2459 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2460 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2462 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2463 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2465 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2466 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2468 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2469 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2471 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2472 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2474 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2475 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2477 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2478 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2480 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2483 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2486 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2487 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2489 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2490 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2492 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2493 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2495 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2498 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2499 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2501 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2504 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2505 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2507 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2508 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2510 static void *_p_wxImageTo_p_wxObject(void *x
) {
2511 return (void *)((wxObject
*) ((wxImage
*) x
));
2513 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2514 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2516 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2517 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2519 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2520 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2522 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2523 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2525 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2526 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2528 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2529 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2531 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2532 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2534 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2535 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2537 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2540 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2541 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2543 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2544 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2546 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2549 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2550 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2552 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2553 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2555 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2556 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2558 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2559 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2561 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2562 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2564 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2565 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2567 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2570 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2571 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2573 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2574 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2576 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2577 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2579 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2582 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2583 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2585 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2588 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2591 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2592 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2594 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2595 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2597 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2598 return (void *)((wxWindow
*) ((wxControl
*) x
));
2600 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2601 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2603 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2604 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2606 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2607 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2609 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2610 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2612 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2613 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2615 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2616 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2618 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2619 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2621 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2622 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2624 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2625 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2627 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2628 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2630 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2631 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2633 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2634 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2636 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2637 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2639 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2640 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2642 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2645 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2646 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2648 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2649 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2651 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2652 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2654 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2655 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2657 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2658 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2660 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2661 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2663 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2664 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2666 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2669 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2670 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2672 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2673 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2675 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2678 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2679 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2681 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2682 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2684 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2685 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2687 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2688 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2690 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2691 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2693 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2694 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2696 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2697 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2699 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2700 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2702 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2703 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2705 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2706 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2708 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2711 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2712 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2714 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2715 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2717 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2718 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2720 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2721 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2723 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2724 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2726 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2727 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2729 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2730 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2732 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2733 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2735 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2736 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2738 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2739 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2741 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2742 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2744 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2745 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2747 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2748 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2750 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2751 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2753 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2754 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2756 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2757 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2759 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2760 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2762 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2763 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2765 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2766 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2768 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2769 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2771 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2772 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2774 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2775 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2777 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2778 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2780 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2783 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2784 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2786 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2787 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2789 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2790 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2792 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}};
2793 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}};
2794 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2795 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}};
2796 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}};
2797 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}};
2798 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}};
2799 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}};
2800 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}};
2801 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}};
2802 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}};
2803 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}};
2804 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}};
2805 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}};
2807 static swig_type_info
*swig_types_initial
[] = {
2810 _swigt__p_wxVisualAttributes
,
2811 _swigt__p_wxCalendarEvent
,
2812 _swigt__p_wxCalendarDateAttr
,
2814 _swigt__p_wxCommandEvent
,
2816 _swigt__p_wxEvtHandler
,
2818 _swigt__p_wxDateTime
,
2819 _swigt__p_wxControl
,
2820 _swigt__p_wxCalendarCtrl
,
2826 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2828 static swig_const_info swig_const_table
[] = {
2838 SWIGEXPORT(void) SWIG_init(void) {
2839 static PyObject
*SWIG_globals
= 0;
2840 static int typeinit
= 0;
2843 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2844 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2845 d
= PyModule_GetDict(m
);
2848 for (i
= 0; swig_types_initial
[i
]; i
++) {
2849 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2853 SWIG_InstallConstants(d
,swig_const_table
);
2855 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_FromInt((int)wxCAL_SUNDAY_FIRST
));
2856 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_FromInt((int)wxCAL_MONDAY_FIRST
));
2857 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_FromInt((int)wxCAL_SHOW_HOLIDAYS
));
2858 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_FromInt((int)wxCAL_NO_YEAR_CHANGE
));
2859 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_FromInt((int)wxCAL_NO_MONTH_CHANGE
));
2860 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2861 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS
));
2862 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_FromInt((int)wxCAL_HITTEST_NOWHERE
));
2863 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_FromInt((int)wxCAL_HITTEST_HEADER
));
2864 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_FromInt((int)wxCAL_HITTEST_DAY
));
2865 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_FromInt((int)wxCAL_HITTEST_INCMONTH
));
2866 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_FromInt((int)wxCAL_HITTEST_DECMONTH
));
2867 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK
));
2868 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_FromInt((int)wxCAL_BORDER_NONE
));
2869 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_FromInt((int)wxCAL_BORDER_SQUARE
));
2870 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_FromInt((int)wxCAL_BORDER_ROUND
));
2871 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2872 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2873 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2874 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2875 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2876 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2877 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2878 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);